Why does the Win10 system ntoskrnl.exe process take up a lot of CPU and memory?

  
                

Under the Win10 system, ntoskrnl.exe is a process of memory compression technology, which sometimes takes up a lot of CPU and memory. Why is this happening? This article will introduce Win10's memory compression technology and ntoskrnl.exe.

Win10 New Technology: Memory Compression

Previously, when physical memory was running out, Windows would transfer some infrequently used memory data to a virtual memory file (pagefile) on the hard disk. To free up physical memory to the required program. There is a downside to this: when you need to access the data stored in the pagefile, because you need to read from the hard disk, the speed will be very slow, after all, the speed of the hard disk and memory is different, even if you are using SSD.

A better solution is to keep this data in physical memory. But physical memory has bottomed out, what should I do? Win10 uses memory compression technology to compress and compress some of the infrequently used memory data, and then decompress it when a program needs to access that data. Because these are all done in memory, the speed is very fast, and the user does not feel the sensation when reading data from the hard disk. The only extra overhead may be to increase CPU usage, after all, to compress and decompress, but in today's era of CPU surplus, this is not a problem at all.

Of course, memory compression will only occur when the physical memory usage is high, so not everyone has a system process with a high memory footprint. And memory compression is also limited, if the memory data is too much, Win10 will still put a part of the data on the hard disk.

The above is the introduction of Win10 system memory compression technology and ntoskrnl.exe process. By explaining, you should already know why the Win10 system ntoskrnl.exe process occupies a lot of CPU and memory, and the system process occupies a lot of system resources. At the time, the ntoskrnl.exe process takes up memory and the CPU goes high.

Copyright © Windows knowledge All Rights Reserved