Stop "svchost.exe" from stealing CPU Strength


The situation is familiar to countless Windows users: They're in a groove at work, firing off e-mails, crafting documentation, and even blogging on their personal site during breaktime, when suddenly, something takes over 99 percent of the CPU, slowing it to a virtual standstill. A quick look at the invaluable Process Explorer (or the standard Windows Task Manager) indicates that a process called svchost.exe is using all that CPU. What's more, there's one main CPU offender. Multiple versions of svchost.exe are running in the background and hogging CPU cycles. What is it? Is it spyware? Hackers? Terrorists?

Although there are historical cases of malware using svchost.exe, because of its common presence, it's most likely just Windows being Windows. Svchost.exe is a generic process name for Windows services that run from Microsoft DLLs (dynamically linked libraries). Each of those instances of svchost.exe in the process lists actually represents a group of services that each process is managing. With Process Explorer, it's easy to see which services each process manages, and stop them one by one to see which is the CPU culprit.

In the spring of 2007, a major problem arose with a Windows update that caused svchost.exe to use 100 percent of CPU because of an issue with Automatic Updates. To correct that bug, be sure that Windows is fully patched with the most recent updates.

The first thing to do is to determine which of the active svchost.exe processes is causing the slowdown. Fire up Process Explorer, and click on the CPU column header to sort the list of processes by processor usage. A list of processes, sorted from most processor intensive to least intensive, is displayed. When the computer stalls, switch over to Process Explorer and see which running process is causing the crunch.
Once the offending version of svchost.exe is found, re-sort the processes to keep it from moving up and down the list (because CPU usage changes constantly). Usually, my busiest svchost.exe process will also use a very large chunk of memory, so I usually sort by Private Bytes.

Svchost.exe services in Process Manager
Hovering over an svchost.exe process in Process Explorer will display all of the related Windows services.
(Credit: CNET Networks)
Now that the specific svchost.exe process that's using up all of the CPU has been identified, hover the cursor over its name in Process Explorer. A tooltip window, that provides a list of all the Windows services associated with that process, will pop up.

Users can then use that list to determine which, if any, of the Windows services is killing their productivity. Launch the Services manager in XP by launching the Control Panel, selecting Administrative Tools, and then double-clicking the Services shortcut, or by typing "services.msc" into the "Run" dialog in the Windows Start menu. From this Services manager application,users can pause, stop, restart, or run any of their Windows services.

Often users will see about 20 different services represented by one process (see svchost.exe example in Process Manager above.) How are they supposed to know which of those is causing my computer to slow down? Well, luckily I've played around a bit with nearly all of the services in the list and found my biggest problem: Task Scheduler.

Task Scheduler is a Windows service in the NT family of operating systems that lets users schedule programs or automated jobs that can be performed at specific times or regular intervals. Since I'm working on a CNET company PC, there are a lot of corporate controls that I haven't manually configured. For example, security scans are managed on a networkwide IT level.

While my IT team might not like to hear it, if I'm in a deadline crunch and svchost.exe keeps slowing me down, I generally launch the Services manager and temporarily stop the Task Scheduler and Automatic Updates. Both of these services are critical to the health of my PC, of course, so I can't turn them off indefinitely, but I can stop them for the hour that I need to get my time-sensitive work done. I know that antivirus and antispyware protection is critical, especially for a computer tied to a huge network. However, in my hour of need, the applications that edit text files and images are much more critical than my regularly scheduled virus scan.

Have you suffered performance problems because of an svchost.exe process hogging your CPU? Have you found a solution for the problem? If you've got a great fix for the issue, or a specific question about your computer let us know in the comments.

Increase Your Wi-Fi performance: 9 Tips

What actions can you take to increase your Wi-Fi performance and get your streaming speed back up to par?

1. Restart the router:

The Old Faithful of personal technology issues is often your best bet. According to Behroozi, the IP connection between your device and the router or between the router and Internet can get hung up. “A restart of the router reboots all its systems, including the network processor and wireless radios,” he says.

If your router has a reset button, hold it down for a few seconds. If not, restart it by removing the cable from the power socket, waiting half a minute and then plugging it in again.

2. Move the router:

“Most good routers have antennas that try to provide a symmetrical ‘donut‘ of Wi-Fi coverage, so when possible, place the router in an open space centrally located in your house, equidistant from its farthest locations,” Behroozi says.

The materials surrounding the router matter as well. Metal interferes with Wi-Fi signals, while wood does not. According to HowToGeek , positioning the router’s antenna vertically rather than horizontally also increases signal strength.

3. Check to see if other family members are streaming or torrenting:

Intensive activities like streaming HD video or filesharing can take its toll on Internet speed. “Routers can support hundreds of devices connecting, but it's more about what each device is doing online,” Behroozi says. “For example, if someone is using BitTorrent or if everyone is watching Netflix at the same time, this can cause an overall lag in speed.”

Distance from the router is important as well. If four people are streaming video but they're all close to the router, you may not experience any slowdowns, Behroozi says. So if everyone simply must watch Netflix or play Halo separately and simultaneously, try to move the devices closer to the router with as little wall or floor obstructing the path as possible.

4. Check if your ISP is having a hard time keeping up:

One bottleneck is how good the service from your service provider is. “A lot of ISPs oversubscribe, so you can feel the lag in the afternoon when everyone gets home,” Behroozi says.

Test your connection by running a speed test from a site such as SpeedTest.net at different times during the day. “You don't want it fluctuate too much over the course of a day. The speed should always be at least 80 to 90 percent of what your service provider promises,” Behroozi says. If that’s the case but you're still not satisfied ...

5. Run a ping test:

While a speed test gauges the speed possible based on available bandwidth from the service provider, a ping test gauges latency, which is the delay in communication between your computer and a particular website on the Internet. It can tell you how good the quality of your Internet connection is.

Head to PingTest.net, where you'll receive a ping figure measured in milliseconds. In general, lower numbers are better, but the site also gives you a grade from A to F to show how suitable your connection is for streaming and online gaming.

6. Check to see if you’re on an overcrowded channel:

Slow Wi-Fi speeds may be the result of interference from your neighbors' Wi-Fi networks as all the devices compete to use the same channel.

All routers support the 2.4Ghz frequency, which distributes traffic among a handful of channels. Dual-band routers also support the newer 5GHz frequency, which contains even more channels. That frequency tends to be less congested and therefore usually allows faster connections.

You may be able to increase your speed by switching to a less busy channel, not matter which frequency you’re on. Download a wireless channel analyzer app such as Wifi Analyzer for Android (no equivalent for non-jailbroken iPhones) or a desktop program such as NirSoft's Wi-FiInfoView for Windows. Macs have the tool built in; hit Option and tap the wireless icon in your top toolbar, then click Open Network Diagnostics.These programs show each channel on each Wi-Fi frequency and which ones nearby networks are using.

7. Switch to a different channel:

If you discover you're on an especially crowded channel, you can manually change it. Type your router's IP address into your web browser. (The IP address is usually on the back of the router, or you can google your router's model.) You'll be prompted to enter your username and password, after which you can click through to Wi-Fi settings and select the channel recommended by your Wi-Fi analyzer program.

8. Check for interference from a nearby cordless device:

Baby monitors, older cordless phones, microwave ovens and wireless speakers are just some of the common household gadgets that also use the 2.4Ghz frequency. These can interfere with the wireless signal from your router.

Deal with the conflict by moving the router away from these devices and ensuring that no devices that could potentially interfere lie in a straight line between your router and the gadget you're trying to get online with.

9. Get a wireless signal extender:

“When you start looking at homes larger than 3,000 square feet, getting good Wi-Fi signal from one corner to another can be a challenge,” Behroozi says. Multistory houses pose an obstacle as well, if the router isn't plugged into the broadband line somewhere in the middle.

In these cases, you could benefit from using a wireless extender. A signal extender plugs into any mains socket to rebroadcast and boost your Wi-Fi signal to those hard-to-reach places.

What problems have slowed down your Wi-Fi streaming, and how did you kick things back up to speed? Let’s share more solutions in the comments below.