Most of the games we are currently playing run Punkbuster anti-cheat software (AA, BF2, BF2142). Sometimes this software needs to update itself, and it does this while the game is running. This can lead to lag, and errors if it can't update properly. TK and Jug have recently run into issues with this. There is the option to update it manually by means of a small program, pbsetup.exe, found here:
http://www.evenbalance.com/index.php?page=pbsetup.phpInstall it, agree to the liscenses, then add each of your games. When you're done with that, hit "check for updates" and it will download and install any updates automatically. This avoids the software updating while you're in-game.
The Punkbuster sleep tweak works in BF2142 also. It reduces the number of times PB checks your system.
1. Open the console with the ~ key.
2. Type pb_sleep 500 (note the underscore between pb and sleep and the space between sleep and 500)
3. Press ENTER.
4. Type pb_writecfg (note the underscore between pb and writecfg)
5. Press ENTER.
6. Exit the console by pressing the ~ key.