系统进程可以看作是一种特殊的进程,它承载仅在内核模式下运行的线程。(System)其相关文件名为ntoskrnl.exe,位于C:\Windows\System32\文件夹中。它负责各种系统服务,如硬件抽象、进程和内存管理等。
有时,系统(System)进程可能会在几分钟内显示高磁盘或 CPU 使用率。(high disk or CPU usage)这是暂时的,您不必担心。但是,如果同样的情况继续频繁地持续存在,您可能需要看看一些事情。
系统(System)进程 (ntoskrnl.exe)高磁盘(High Disk)或CPU使用率
有不同的因素会导致 Windows 10 设备的性能发生变化。这包括最近的更新、设备驱动程序版本的更改等。您可以尝试这些解决方案来解决问题。
- 更新(Update)旧驱动程序或回滚到较早的更新
- 关闭时清除页面文件
- 不要使用节电计划
- 使用 SysInternals 进程资源管理器
- 禁用空闲任务
- (Use Event Tracing)使用Windows(Windows)事件跟踪来捕获CPU采样数据
让我们详细介绍一下上述解决方案!
1]更新(Update)旧驱动程序或回滚到较早的更新
驱动程序是控制连接到主板的特定设备的程序。因此,使它们保持最新(keeping them up-to-date)可能有助于消除导致CPU使用率增加的任何兼容性问题或错误。另一方面,如果您发现新更新干扰了 PC 的正常运行并导致磁盘或CPU使用率过高,请考虑回滚到较早版本的驱动程序。
2]关闭时清除页面文件
打开注册表编辑器(Registry Editor)并导航到以下路径地址 -
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager
找到内存管理(Memory Management)文件夹。
接下来,右键单击ClearPageFileAtShutDown并选择Modify选项。
然后,在出现的Edit DWORD Value屏幕中,将ClearPageFileAtShutDown的值从 0 更改为 1,然后单击 OK。
这将在每次关机时清除页面文件并降低(clear Page File at every shutdown)Windows 10中的高RAM使用率。
3]不要使用节电计划
一些电源设置会限制CPU的速度,与使用的设备无关。因此,有必要检查您的电源选项(Power Options)。在搜索(Search)栏中键入Edit Power Plan并按(Edit Power Plan)Enter。打开(Once)后,单击窗口顶部地址栏中的电源选项。(Power Options)
单击显示其他计划(Show additional plans)下拉按钮,然后更改您的电源计划(Power Plan)。不要使用节电(Power Saver)计划- 使用平衡(– Use Balanced)或高性能。
现在再次打开任务管理器,查看(Task Manager)CPU使用率是否恢复正常。
4]使用SysInternals Process Explorer(Use SysInternals Process Explorer)
SysInternals是一种高级系统实用程序,可用于识别导致Windows 10中(Windows 10)CPU使用率高的驱动程序。以管理员身份运行程序,并在正在运行的进程列表中找到系统(System)。然后,右键单击它并选择“属性”选项。(Properties option.)
接下来,切换到“线程 (Threads )”选项卡。按CPU使用率(CPU列)对内核加载的模块列表进行排序。在Start Address(Start Address)列中记下导致高负载的组件或驱动程序的名称 ,然后将其终止。
希望这可以帮助您进行故障排除。
5]禁用空闲任务
您可以通过任务计划程序(Task Scheduler)轻松禁用它。只需(Just)启动它并导航到Microsoft。
然后,选择它下面的Windows子文件夹。
展开MemoryDiagnostic文件夹 > TaskScheduler并从右侧窗格中选择RunFullMemoryDiagnostic 。右键单击它并选择禁用(Disable )选项以停止该过程。
6]使用事件跟踪(Use Event Tracing)来捕获CPU采样(CPU Sampling)数据
Windows事件跟踪支持以一致、直接的方式捕获内核和应用程序事件。通过捕获和呈现选定的事件,您可以识别和诊断系统和应用程序性能问题。此后,您可以按照所需的操作过程来纠正错误行为。这种方法更适合 IT 管理员。
祝一切顺利。
System process (ntoskrnl.exe) High Disk or CPU usage on Windows 11/10
The System process can be viewed as a special kind of process that hosts threads that only run in kernel mode. Its related file name is ntoskrnl.exe and it is located in C:\Windows\System32\ folder. It is responsible for various system services such as hardware abstraction, process and memory management, etc.
At times, the System process may display a high disk or CPU usage for a few minutes. This is temporary and should not worry you. But if the same continues to persist frequently, you may need to take a look at a few things.
System process (ntoskrnl.exe) High Disk or CPU usage
There are different factors that can cause a change in the performance of your Windows 10 device. This includes recent updates, changes in the device driver versions, etc. You can try these solutions to fix the problem.
- Update old drivers or roll back to the earlier update
- Clear the Page file at shutdown
- Don’t use a Power saver plan
- Use SysInternals Process Explorer
- Disable Idle task
- Use Event Tracing for Windows to capture CPU sampling data
Let’s cover the above solutions in a bit of detail!
1] Update old drivers or roll back to the earlier update
Drivers are programs that control particular devices connected to your motherboard. So, keeping them up-to-date may help in eliminating any compatibility issues or bugs that cause increased CPU usage. On the other hand, if you find that the new update is interfering with the normal functioning of your PC and causing High Disk or CPU usage, consider rolling back to the earlier version of the driver.
2] Clear the Page file at shutdown
Open the Registry Editor and navigate to the following path address –
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager
Find the Memory Management folder.
Next, right-click the ClearPageFileAtShutDown and select Modify option.
Then, in the Edit DWORD Value screen that appears, change the value of ClearPageFileAtShutDown from 0 to 1 and click on OK.
This will clear Page File at every shutdown and lower the high RAM usage in Windows 10.
3] Don’t use a Power saver plan
Some power settings throttle the speed of the CPU, irrespective of the device in use. As such, it becomes necessary to check your Power Options. Type Edit Power Plan in the Search bar and hit Enter. Once open, click Power Options in the address bar at the top of the window.
Click Show additional plans drop-down button, then change your Power Plan. Don’t use a Power Saver plan – Use Balanced or High Performance.
Now open Task Manager again to see if CPU usage returns to normal.
4] Use SysInternals Process Explorer
SysInternals is an advanced system utility that can be used to identify the driver that is causing high CPU usage in Windows 10. Run the program as an administrator and locate the System in the list of running processes. Then, right-click it and choose the Properties option.
Next, switch to the Threads tab. Sort the list of modules loaded by the kernel by the rate of CPU usage (CPU column). Note down the name of a component or a driver in the Start Address column, causing high load, and terminate it.
Hopefully, this should help you troubleshoot.
5] Disable Idle task
You can disable it via Task Scheduler easily. Just launch it and navigate to Microsoft.
Then, choose the Windows sub-folder under it.
Expand the MemoryDiagnostic folder > TaskScheduler and select RunFullMemoryDiagnostic from the right-pane. Right-click it and choose Disable option to stop the process.
6] Use Event Tracing to capture CPU Sampling data
Event Tracing for Windows enables the capture of kernel and application events in a consistent, straightforward manner. By capturing and presenting selected events, you can identify and diagnose system and application performance issues. Thereafter, you can follow a desired course of action to correct the errant behavior. This method is more suitable for IT admins.
All the best.