by divVerent » Mon Feb 05, 2007 1:22 pm
Oh, and here some benchmark results on my PC at low settings:
Just running around (listen server, sv_cullentities_trace off):
before optimization: 2481 frames 17.6240802 seconds 140.7733042 fps, one-second min/avg/max: 28 143 215
after optimization: 2481 frames 12.4994202 seconds 198.4892073 fps, one-second min/avg/max: 99 201 285
increase: worst-case 253%, average 41%
Actual CTF game (7 players, sv_cullentities_trace off):
before optimization: 17867 frames 180.3721430 seconds 99.0563160 fps, one-second min/avg/max: 27 99 352
after optimization: 17867 frames 122.9129002 seconds 145.3630983 fps, one-second min/avg/max: 64 145 314
increase: worst-case 137%, average 47%
Actual CTF game (14 players, sv_cullentities_trace on):
before optimization: 19947 frames 138.9409909 seconds 143.5645440 fps, one-second min/avg/max: 56 144 262
after optimization: 19947 frames 119.9480920 seconds 166.2969345 fps, one-second min/avg/max: 59 167 340
increase: worst-case 5%, average 16%
(note that sv_cullentities_trace basically improves performance by only sending these players and items to the client which it actually can see, so the effect from my optimizations is much lower; however, servers should not have that enabled by default because 1. it causes players and items to suddenly appear when you are lagged, 2. it also hides players who are behind grates (like on toxic), 3. it is quite CPU intensive on the server on a small list of some "extreme" maps - OTOH it breaks any sort of wallhack so when an admin suspects a cheater, he should temporarily enable it)
Now all I need is a larger match with sv_cullentities_trace off.
Last edited by
divVerent on Mon Feb 05, 2007 1:43 pm, edited 4 times in total.
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again
You can vary the number of "MS", so you can clearly see it's MS which is causing it.