Performance Tuning

From WolfWiki
Revision as of 01:34, 26 March 2006 by ReyalP (Talk | contribs) (first rough draft)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Performance bottlenecks and workarounds

The following describes general areas which can affect game performance, and possible workarounds. Network performance is not addressed here, except as it relates to CPU usage.

Hardware mentioned is meant only as a general example.

CPU and system memory speed

As a general rule, ET likes lots of CPU and memory/cache/FSB bandwidth.

Anything less than an Athlon XP 2000 or Pentium 4 2GHZ. Systems with poor memory bandwidth (SDR or DDD266 RAM) or crippled cache (celeron, duron) will suffer.

Improving performance on CPU limited systems

  • b_optimizeprediction 1
  • Higher ping and packet loss put more load on the CPU
  • Larger servers put more load on your system

Video card

Anything less than a geforce4 (not MX) or radeon 9600 will be a serious handicap. Beware of manufacturers deceptive naming conventions, a FooBar 1000XTS might be the best available card while the FooBar 1000LE is utter crap.

Improving performance on video card limited systems

  • lower resolution
lower values of r_mode, use /modelist to see available modes
  • Lower texture quality
  • lower color depth
set r_colorbits to 16
  • Other quality settings
set r_fastsky 1
curve settings (TODO)

Available Physical RAM

256 megabytes or less of system RAM will impact level load times and cause hitching (momentary drops in FPS) in game. If levels take a long time to load, or your hard disk is frequently active during gameplay, you are most likely need more RAM.

Settings for systems without much system RAM

  • r_picmip and r_texturebits, as above
  • lower sound quality
  • set com_hunkmegs to 56, or the lowest value that works with all the maps you want to play.
  • other memory cvars should not be set too high above the default.

Integrated sound

Most integrated sound devices suck, and can cause noticeable FPS loss and stuttering.

External Programs

In general, the less you run when you play ET, the better. However, some programs are known to have disproportionate performance impacts.

  • x-fire in game integration features.
  • p2p bittorrent, kazaa etc.
  • malware viruses, spyware and addware can all cause serious performance problems.
  • scheduled tasks such as windows update or antivirus updates
  • software firewalls and antivirus some of these products have been reported to cause problems. (TODO more details)

Benchmarking and Testing

  • timedemos, and the difference between demo and online play

TODO

This page is a draft. The following need to be added or expanded:

  • examples of FPS for various typical systems/settings, so people can know if they are getting expected performance out of their hardware.
  • more complete list of useful cvars.
  • links to config sites.
  • links to more detailed descriptions of settings.
  • benchmarking