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

James Landi jim at landi.net
Fri Sep 24 06:29:30 EDT 2004


Here is the link to 1.41d

-----Original Message-----
From: Ryan C. Gordon [mailto:icculus at clutteredmind.org] 
Sent: Friday, September 24, 2004 1:11 AM
To: cod at icculus.org
Subject: [cod] 1.41d ... server CPU load fixes.


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