1.41d ... server CPU load fixes.

Ryan C. Gordon icculus at clutteredmind.org
Fri Sep 24 01:10:45 EDT 2004


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.






More information about the Cod mailing list