Windows uses a service called Wireless Zero Config (in XP) or WLAN AutoConfig (in Vista/7). This service will search for a better connection once every minute, which often times causes a spike of lag (increased latency or even a 2-3 second pause in activity). To fix this, you will want to find a third party connection manager (you can usually get one from your NIC manufacturer) and disable Wireless Zero Config/WLAN AutoConfig.
Option 1
Disable WZC/WLAN AutoConfig:
Note: You must set up the third party connection manager before disabling the service!!!
- Hit Windows + R to bring up your Run box
- Enter services.msc and press enter
- In the list of services, find Wireless Zero Config (if using XP) or WLAN AutoConfig (if using Vista/7)
- Right click and choose Properties
- Set the Startup Type to Disabled via the dropdown menu
- Click the Stop button
- Click Apply and then Ok
- Your lag spikes should stop
Option 2
Install
WLAN Optimizer and set it to disable Background Scanning. Yeah, that's it.
The easiest way to test to see if this is your problem is to check an extended ping:
- Press Windows + R to open the Run prompt
- Type in cmd and press enter
- At the command prompt, type ping -n 120 google.com
- Look for any big spikes in ping reply
For instance, your normal ping to google.com might be something like 20ms or 40ms. If you see this spike up to 900ms or so at 1 minute intervals (the above command will ping google.com for 2 minutes), then this is your problem. If you see no spikes, or spikes at inconsistant frequencies, then this is likely not your problem.