[cod] 1.41d ... server CPU load fixes.

Luke luke at techfreak.org
Fri Sep 24 08:11:45 EDT 2004


Ryan,

Amazing turn around time on that. Thanks so much for going above and
beyond. Since this isnt really a 'linux' issue you could've just
said 'take it up with Gray Matter'.

I loaded the new binaries and they do appear to reduce the CPU load
quite a bit - at least on an empty server (hey it is only 8am!). My
dual-xeon went from a 5% cpu usage on an empty 30 person server to
0-2% usage. Looks promising!

Luke

Ryan C. Gordon said:
>
> Here's a build that should fix the CPU loads on empty servers.
>
>    http://0day.icculus.org/cod/coduo-lnxded-1.41d.tar.bz2
>
> Please note that the CPU usage is going to go back up to the 1.41c
> range
> if every vehicle on the map is moving. Mostly the fix decides if
> it's
> worth recalculating a vehicle for a given frame, which means on
> empty
> servers you don't churn the CPU, and on servers where a vehicle
> isn't
> being used, it doesn't take processing time.
>
> Granted, I'm sure vehicles get widely used, so plan accordingly.
> We're
> looking into further optimizations, but this fix is a good win
> overall,
> and really good for the turnaround time.
>
> I didn't do this work; the patch came from Ryan (not me) at Gray
> Matter,
> who turned this out with a quickness. Everyone please send flowers
> and
> candy to him.
>
> --ryan.
>
>
>


-- 
www.frankenworks.com - headquarters for linux game admins.



More information about the Cod mailing list