teeworlds/teeworlds — Issue #922: Less cpu usage on idle
Author: Sworddragon
Created: 2012-01-22 18:50:16+00:00
State: open

I'm running the Teeworlds server on Linux 64 Bit with an AMD Athlon X2 3800+ @ 2 GHz. The server is using ~1% of the cpu on one core and there are ~30-40 events per second (information from powertop). This is on idle one of the heaviest processes on my system (only Minecraft is heavier). Maybe Teeworlds could enter a special idle mode if there are no players on the server and is reacting a little slower until the first player connects. But I don't know if it is possible to make something better there but it would be nice if the cpu could enter a better idle mode for power saving if there are no players on the server.