- 990x.top
- Простой компьютерный блог для души)
- CPU Usage что это такое?
- Как успокоить процесс, который грузит нереально проц?
- 100% CPU Usage in Windows 10? Here’s How to Fix it
- WMI Provider Host Using 100% CPU
- Disable Superfetch (or Windows Search)
- Reset Your Power Plan
- Check Your Power Supply
- Disable Third-Party Antivirus Software
- Fix high CPU usage by TiWorker.exe process in Windows 10
- OS thread scheduling and cpu usage relations
- 2 Answers 2
990x.top
Простой компьютерный блог для души)
CPU Usage что это такое?
Приветствую друзья. Тема сегодня о процессорах, а вернее о том что означает словосочетание CPU Usage. Значит смотрите, CPU это процессор, эта аббревиатура расшифровывается как central processing unit, ну типа центральный процессор юнит, последнее слово не знаю что значит. Слово Usage означает использовать. То есть можно сделать вывод, что CPU Usage означает использование процессора.
Словосочетание CPU Usage вы можете встретить где угодно, начиная от самой винды и заканчивая всякими программами. И почти всегда это словосочетание необходимо чтобы проинформировать пользователя об уровне загрузки процессора
Часто пользователей интересует почему CPU Usage 100, что это имеется ввиду? Нагрузка процессора равна 100%. То есть какая-то программа грузит адски процессор. Я дам несколько советов что можно в таком случае предпринять. Узнавать какая именно программа, а вернее какой процесс грузит проц, нужно в диспетчере задач. Для примера я создам искусственную нагрузку при помощи архиватора WinRAR, я просто в нем запущу тест производительности. Первое что нужно сделать, узнать точно процесс, который грузит, для этого жмем на ЦП в диспетчере (вкладка процессы):
После этого нам сразу станет ясно, какой засранец грузит ПК. По крайней мере увидим имя процесса. Если это имя нам ни о чем не говорит, тогда смотрим в колонку описание. В моем случае сразу понятно кто этот засранец:
Это WinRAR archiver. Если нажать правой кнопкой по процессу и выбрать пункт Открыть место хранения файла:
То будет открыта папка, откуда запускается процесс, обычно это и есть папка программы.
Как успокоить процесс, который грузит нереально проц?
Вы можете возразить, мол зачем успокаивать, если можно просто нажать правой кнопкой по процессу и выбрать пункт Завершить. Логично, но не всегда корректно. Если принудительно завершить процесс, то это может повлечь за собой ошибку или прерывание важной задачи. Например процесс TrustedInstaller.exe у многих вызывает большую нагрузку, но не все знают, за что отвечает процесс. TrustedInstaller.exe выполняет установку модулей Windows, на деле это имеется ввиду установка обновлений. Разумеется что при завершение данного процесса прерывается установка обновлений. Как следствие будут ошибки в журнале, которые не факт что будут исправлены центром обновления. Я отвлекся, прошу прощения.
Итак, всего есть два варианта, при которых вы не завершаете грузящий процесс, но снижаете его нагрузку на проц. Первый, это приоритет. Вы можете задать низкий приоритет грузящему процессу, чтобы все остальные процессы получили на фоне его приоритет выше. Для этого нажмите правой кнопкой по процессу и выберите в меню Приоритет > Низкий:
Данная процедура эффективная и в большинстве случаев приносит желаемый эффект.
Второй вариант более агрессивный, поэтому его стоит использовать в крайних случаях. И еще данный вариант не подходит, если у вас одноядерный процессор, однако это редкость. Способ заключается в том, что процесс будет использовать не два ядра процессора, ну или больше, а одно. Если у вас 4 ядра, то можете отдать процессу 2 ядра, или 1, тут уже сами смотрите по ситуации. Чтобы это дело провернуть, нажимаете правой кнопкой по процессу и выбираете пункт Задать соответствие:
У меня в процессоре 2 ядра, поэтому я оставляю процессу 1 ядро:
Если галочка стоит, то ядро будет использоваться. Я поставил галочку на ЦП 0, но можно было и на ЦП 1, разницы нет. Если при этом еще и выставить низкий приоритет, то процесс точно перестанет грузить комп. Однако стоит учесть, что данная процедура увеличит время выполнения задачи процессом. То есть выполнять будет дольше, но зато нагрузка на проц будет максимально снижена
Надеюсь предоставленная информация была полезной. Удачи и до новых встреч ребята!
100% CPU Usage in Windows 10? Here’s How to Fix it
We’ve all been there. You turn on your PC, and instead of getting straight to work, you’re faced with horrific slowdown and loud-running fans. Hit Ctrl + Shift + Escape , and you will see that your CPU usage is inexplicably at 100%.
It’s a common problem that’s, luckily, not usually too hard to solve. Here are several fixes for the 100% CPU usage problem.
WMI Provider Host Using 100% CPU
The WMI (Windows Management Instrumentation) Provider Host is a core service on Windows 10 that links up with various software on your PC to send it information about your operating system. In other words, it’s a very important process, and you shouldn’t disable it lightly. If, however, you see in the Task Manager Processes tab that it’s using a lot of CPU, then of course you should do something about it.
The first thing you can try is restarting the WMI service. Go to the Services app. (You can get there quickly by typing services in a Start menu search). Scroll down to Windows Management Instrumentation, right-click it, then click Restart.
If that doesn’t work, then the next solution is a little more intricate but also has the potential to offer more long-term solutions for your CPU woes.
If your 100% CPU usage is being caused by the WMI Provider Host process in Task Manager, then you can delve deeper into the problem. Press Win + R ,then open “eventvwr.” Here in the pane on the left, go to “Applications and Service Logs -> Microsoft -> Windows -> WMI-Activity -> Operational.” This will show you all the processes that the WMI Provider Host is dealing with.
Check the middle column, “Operational,” look for errors in the service, then under the “General” tab below that, check the “ClientProcessId” number. This should help you zoom in on the app or process clogging up your WMI Provider Host service.
Go back to Task Manager, click the “Details” tab, then sort the processes by “PID.” Find the process with the error, right-click it and click “Open file location.” This will give you an idea of what software the process is attached to and whether you can reinstall it, uninstall it, update its drivers and so on.
There may be multiple errors like this in the WMI Provider Host, in which case you should repeat the above process to address the different errors. It’s also possible that just one app/process has been hogging your CPU all this time, in which case you should be good to go after you’ve dealt with the culprit.
Disable Superfetch (or Windows Search)
Superfetch is a process by which Windows 10 learns which apps you use most often, then pre-fetches them for you so they load quicker each time you use them. It’s a constant background process that doesn’t usually cause problems, but it doesn’t always play nice with older devices.
To find out whether Superfetch (or another service) is hogging your CPU, open Task Manager ( Ctrl + Shift + Escape ), click “More details,” then click “CPU” to order processes by how much CPU they’re using.
If you see that a “Service Host” like Superfetch or something else is using a lot of CPU, you can try right-clicking it and clicking “End process.”
Alternatively, to disable it permanently (or until Windows switches it on again, which can happen after you update the OS), press Win + R , type services , then in the Services window scroll down to Superfetch.
Right-click Superfetch, click Properties, then in its Properties window click the drop-down next to “Startup type,” click “Disabled,” and OK.
You can technically do this to any service that’s hogging CPU, but some services are system-critical, so you need to be careful. Another culprit of high CPU usage is “Windows Search,” which you can safely disable, too.
Reset Your Power Plan
Twiddling around in Windows’s power options can have a substantial effect on your PC performance. If you’re set to “High performance” – particularly if you made tweaks to the “plan settings” – then it’s possible that you’re overloading your CPU. (Again, older devices are susceptible to this.)
Type power plan in the Start search ,bar then click “Choose a power plan.” If you’re on “High performance” or “Power Saver,” then switch to “Balanced.”
For extra certainty, click “Change plan settings,” then on the new screen click “Restore default settings for this plan.”
Check Your Power Supply
This one’s an issue that can affect both desktop and laptop Windows 10 users. If you have a faulty power supply (the mains cable on a laptop, the PSU in a desktop), then it can automatically start undervolting your CPU to preserve power. When undervolted, your CPU can function at only a fraction of its full power, hence the possibility of this manifesting as 100% CPU usage on Windows 10.
To solve this on a laptop is quite simple: unplug your laptop from the power cable, then click the battery icon at the bottom-right corner of your Windows 10 desktop -> Battery Settings -> Power & Sleep Settings -> Additional power settings, and select High Performance. If the issue was with your power supply, the CPU usage should return to normal in the task manager ( Ctrl + Shift + Esc ).
On a desktop things can be a little more complicated, as you’ll need to physically remove the PSU from your PC and test a different one. We recommend going through our other tips listed below before trying this.
Disable Third-Party Antivirus Software
This one may be a bit contentious, but our view here is that if you’re using antivirus software on Windows 10, then you’re probably putting unnecessary strain on your CPU (particularly if its older). It doesn’t usually hurt to have the extra security, but you probably don’t need it.
Every year we write an in-depth feature about Windows 10’s onboard security software, Windows Defender, and every year it gets better and better. At this point, it’s more or less on par with the best antivirus software out there.
Don’t be afraid to disable your third-party antivirus software to see if it helps your CPU usage. If it does, then uninstall it, because Windows Defender should really have you covered.
With high CPU usage, it may be running pretty hot, too, so we’ve put together a bunch of ways you can bring the CPU temperature down. The WSAPPX process can also cause high CPU usage, so click through for our guide on how to address that.
Related:
Content Manager at Make Tech Easier. Enjoys Android, Windows, and tinkering with retro console emulation to breaking point.
Fix high CPU usage by TiWorker.exe process in Windows 10
on my computer there’s a windows operating system called
how do I fix this issue on windows 10 platform?
I have tried many ways Microsoft explained but cant figure out where the settings are located on mine due to their explanations referring to windows 8 being the platform they were referring to
Moved from: Windows / Windows 10 / Windows update, recovery, & backup
*Modified title for accuracy*
*Original title: High cpu usage caused by tiworker.exe*
The TiWorker system process is related to Windows Update. This is one of the critical process included on in Microsoft Services and must not be mistaken for any malware issues. If there are any updates happening or if the computer is scanning for any update release, this system process may use resources on your computer, the reason why you see it has high CPU usage under task manager. This is completely normal. For your reference, kindly visit the link to a similar thread provided here: Windows 10 high disk usage caused by Tiworker.exe.
If you think this was useful, you may «mark it as an answer» to help those who are facing the same concern.
572 people found this reply helpful
Was this reply helpful?
Sorry this didn’t help.
Great! Thanks for your feedback.
How satisfied are you with this reply?
Thanks for your feedback, it helps us improve the site.
OS thread scheduling and cpu usage relations
As I know, for threads scheduling, Linux implements a fair scheduler and Windows implements the Round-robin (RR) schedulers: each thread has a time slice for its execution (correct me if I’m wrong).
I wonder, is the CPU usage related to the thread scheduling?
For example: there are 2 threads executing at the same time, and the time slice for system is 15ms. The cpu has only 1 core.
Thread A needs 10ms to finish the job and then sleep 5ms, run in a loop.
Thread B needs 5ms to finish the job and then sleep 10ms, also in a loop.
Will the CPU usage be 100%?
How is the thread scheduled? Will thread A use up all its time and then schedule out?
One More Scenario: If I got a thread A running, that is then blocked by some condition (e.g network). Will the CPU at 100% affect the wakeup time of this thread? For example, a thread B may be running in this time window, will the thread A be preempted by the OS?
2 Answers 2
So the CPU usage will be 100%?
Ideally speaking, the answer would be yes and by ideally I mean , you are not considering the time wasted in doing performing a context switch. Practically , the CPU utilization is increased by keeping it busy all of the time but still there is some amount of time that is wasted in doing a context switch(the time it takes to switch from one process or thread to another).
But I would say that in your case the time constraints of both threads are aligned perfectly to have maximum CPU utilization.
And how is the thread scheduled? Will thread A use up all its time and then schedule out?
Well it really depends, in most modern operating systems implementations , if there is another process in the ready queue, the current process is scheduled out as soon as it is done with CPU , regardless of whether it still has time quantum left. So yeah if you are considering a modern OS design then the thread A is scheduled out right after 10ms.
As i know that Linux implements a fair scheduler and Windows System implements the Round-robin (RR) schedulers for threads scheduling,
Both Linux and Windows use priority-based, preemptive thread schedulers. Fairness matters but it’s not, strictly speaking, the objective. Exactly how these scheduler work depends on the version and the flavor (client vs. server) of the system. Generally, thread schedulers are designed to maximize responsiveness and alleviate scheduling hazards such as inversion and starvation. Although some scheduling decisions are made in a round-robin fashion, there are situations in which the scheduler may insert the preempted thread at the front of the queue rather than at the back.
each thread has a time slice for its execution.
The time slice (or quantum) is really more like a guideline than a rule. It’s important to understand that a time slice is divisible and it equals some variable number of clock cycles. The scheduler charges CPU usage in terms of clock cycles, not time slices. A thread may run for more than a time slice (e.g., a time slice and a half). A thread may also voluntarily relinquish the rest of its time slice. This is possible because the only way for a thread to relinquish its time slice is by performing a system call (sleep, yield, acquire lock, request synchronous I/O). All of these are privileged operations that cannot be performed in user-mode (otherwise, a thread can go to sleep without telling the OS!). The scheduler can change the state of the thread from «ready» to «waiting» and schedule some other ready thread to run. If a thread relinquishes the rest of its time slice, it will not be compensated the next time it is scheduled to run.
One particularly interesting case is when a hardware interrupt occurs while a thread is running. In this case, the processor will automatically switch to the interrupt handler, forcibly preempting the thread even if its time slice has not finished yet. In this case, the thread will not be charged for the time it takes to handle the interrupt. Note that the interrupt handler would be indeed utilizing the CPU. By the way, the overhead of context switching itself is also not charged towards any time slice. Moreover, on Windows, the fact that a thread is running in user-mode or kernel-mode by itself does not have an impact on its priority or time slice. On Linux, the scheduler is invoked at specific places in the kernel to avoid starvation (kernel preemption implemented in Linux 2.5+).
So the CPU usage will be 100%? And how is the thread scheduled? Will thread A use up all its time and then schedule out?
It’s easy to answer these questions now. When a thread goes to sleep, the other gets scheduled. Note that this happens even if the threads have different priorities.
If i got a thread running, and blocked by some condition(e.g network). Will the CPU 100% will affect the wakeup time of this thread? For example, another thread may running in its time window and will not schedule out by the OS?
Linux and Windows schedulers implement techniques to enable threads that are waiting on I/O operations to «wake up quickly» and get higher chances of being scheduled soon. For example, on Windows, the priority of a thread waiting on an I/O operation may be boosted a bit when the I/O operation completes. This means that it can preempt another running thread before finishing its time slice, even if both threads had the same priorities initially. When a boosted-priority thread wakes up, its original priority is restored.