I have a 4yr old Dell Vostro 1540 laptop with an i3 M380 and 4GB RAM. I only perform light tasks e.g. web browsing, document reading & editing, light Photoshop…,thus I don't need a newer laptop. I recently upgraded the OS from Windows 7 Home to 8.1 Pro. There are two processes that once in a while use too much of the CPU(~50% by themselves) even when the computer is idle thus drastically reducing the time I can spend not plugged in: 'Host Process for Windows Tasks'(taskhost.exe) & 'Windows Modules Installer Worker'(TiWorker.exe) . I never had this problem with Windows 7. I have two questions: 1. What do each of these two processes do? 2. Is it safe to stop them?
Windows 8.1 – How to Fix High CPU Usage by Processes
cpu usageprocesswindows 8.1
Related Solutions
Ignoring overhead from the other processes (you tagged Windows 7). The kernel will queue each thread in the order that they are ready. There's a lot more in there but that's the general gist.
Each program will do many things, like make reads or writes to the disk or memory, each of these is it's own task. If each process will ever only use 20% of the CPU; P1
will get to run one task, then P2
will run one. If P2
becomes ready first in the second round P2
will run one followed by P1
. This will continue until each completes and exits.
Now process utilization of 100% means that every measured time, (in this example 1 second,) so every second the processor is ALWAYS busy, and it always computing. In your example of 40% usage every second the processor is working, making calculations, for 400 milliseconds. So after 10 seconds the processor has been in standby for 6 seconds total. (Ignoring other programs, and over head)
Effectively yes. If you hand only one running at a time, the overhead of switching back and forth wouldn't apply, but if the processor is only at 40% it's not really an issue.
If each program needed 100% of the processor then you'd notice some lag time for the switching back and forth. Remember, a single core can really only do one thing at a time, it seems like it does more because it's really fast at switching back and forth. Each at 50% plus about .01% of overhead means 100.01% so you'd be "waiting" for 10 milliseconds.
Yes, in the intro each program had a number of tasks, with multiple threads each task the program had to do (read, and then write) would get into the queue sooner, so the "waiting" time would be less and you'd be able to pack the 40% CPU usage into the first 400 milliseconds, instead of having to include wait time forcing the work to be spread out into something like 600 milliseconds. It's effectively the same with more programs, there's more overhead for each, but it's still negligible. (Unless you get into real time systems.)
Again this is super general, but it's more or less how multiple programs share a single CPU. The issues arise when the logic/program/scheduler is bad at ordering the task queue, this causes more overhead, the more overhead the more waiting time, so even if your program needs only 40% each, the overhead of switching will cause 30% more time switching tasks or waiting around.
Best Answer
From taskhost.exe consumes 50-60% of cpu
The taskhost.exe is a Task Host which is a generic Host Process for Windows 7 32-bit Services. The full path to this file should be shown in TUT as C:\Windows\System32\Taskhost.exe.
TASKHOST is a generic process which acts as a host for processes that run from DLLs rather than EXEs. At startup TASKHOST checks the Services portion of the Registry to construct a list of DLL-based services that it needs to load, and then loads them. There can be many instances of TASKHOST running, as there will be one instance of TASKHOST for every DLL-based service or grouping of services (the grouping of services is determined by the programmers who wrote the services in question).
Since this is an integral part of the operating system, I wouldn’t suggest you to delete it. However, for the high CPU consumption issue, please use Performance Monitor to view performance data either in real time or from a log file.
The new Resource Monitor lets you view detailed real-time information about hardware resources (CPU, disk, network, and memory) and system resources (including handles and modules) in use by the operating system, services, and running applications. In addition, you can use Resource Monitor to stop processes, start and stop services, analyze process deadlocks, view thread wait chains, and identify processes locking files.
A closer look:
View CPU utilization and other performance information
http://windows.microsoft.com/en-US/windows7/View-CPU-utilization-and-other-performance-information
See details about your computer's performance using Task Manager
http://windows.microsoft.com/en-US/windows7/See-details-about-your-computers-performance-using-Task-Manager
Last but not the least, perform virus scan to remove any trace of infection on your computer. If your antivirus database is not updated, please update the same and then run the scan. If you don't have antivirus installed, you may opt to download Microsoft Security Essentials on your computer and run it.
http://www.microsoft.com/Security_Essentials/
From Windows 8 high disk usage caused by Tiworker.exe
TiWorker.exe is Windows Modules Installer Worker. It is related to Windows Updates.
Method 1: I would suggest you to run system and maintenance trobulshooter and see if that helps.
a) Press Windows key + W key on your desktop.
b) Write Troubleshooting in the search box on the upper right hand corner.
c) Select the Troubleshooting option obtained after the search.
d) Click on View All option present on the top left corner.
e) Select the System Maintenance.
f) Click on Next to perform the System Maintenance troubleshooter and follow the steps.
Method 2: To resolve the issue with TiWorker.exe, check for updates in Windows Updates and install them.
a. Click on the Windows + X keys and select Control Panel.
b. Click on Windows Updates, in Large Icons View.
c. In the left panel, click on Check for updates.
Method 3: Perform a Clean Boot (KB929135) to see if there is any software conflict as clean boot helps to eliminate software conflicts.
Note: Follow How to reset the computer to start as usual after troubleshooting with clean boot from article KB929135 to reset the computer to normal mode.
For reference: http://windows.microsoft.com/en-in/windows-8/improve-pc-performance http://windows.microsoft.com/en-in/windows-8/improve-performance-optimizing-hard-drive
Note: This tool deletes unnecessary or temporary files on your hard drive so you can increase the amount of free storage space.