{"id":2245,"date":"2018-01-27T16:44:52","date_gmt":"2018-01-27T14:44:52","guid":{"rendered":"http:\/\/soci.hu\/blog\/?p=2245"},"modified":"2018-01-28T20:20:49","modified_gmt":"2018-01-28T18:20:49","slug":"windows-10-system-process-high-cpu-usage-solution","status":"publish","type":"post","link":"https:\/\/soci.hu\/blog\/index.php\/2018\/01\/27\/windows-10-system-process-high-cpu-usage-solution\/","title":{"rendered":"Windows 10 system process high cpu usage: solution"},"content":{"rendered":"<p>Recently my laptop started to become sluggish and the ventilators was constantly on. In task manager it was clear the system process (pid 4) ate 1 cpu core.<br \/>\nProcess explorer did not bring any interesting results.<br \/>\nThen I started an investigation using xperf.exe, a Windows Performance Toolkit utility. It is very similar to the profilers you might use for .NET, so I encourage my developer mates to use it when you have a native code performance problem.<\/p>\n<p>Here is what I saw:<br \/>\n<a href=\"http:\/\/soci.hu\/blog\/wp-content\/uploads\/2018\/01\/VolSnapCpu.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/soci.hu\/blog\/wp-content\/uploads\/2018\/01\/VolSnapCpu-300x163.png\" alt=\"\" width=\"300\" height=\"163\" class=\"alignnone size-medium wp-image-2246\" srcset=\"https:\/\/soci.hu\/blog\/wp-content\/uploads\/2018\/01\/VolSnapCpu-300x163.png 300w, https:\/\/soci.hu\/blog\/wp-content\/uploads\/2018\/01\/VolSnapCpu-768x416.png 768w, https:\/\/soci.hu\/blog\/wp-content\/uploads\/2018\/01\/VolSnapCpu-1024x555.png 1024w, https:\/\/soci.hu\/blog\/wp-content\/uploads\/2018\/01\/VolSnapCpu.png 1920w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Process Explorer did not show more than the ExpWorkerThread level. Ok, I did not configure debug symbols  for it, it might have shown stacks correctly, but it is just a snapshot, a sample of the state of the threads in opposite to xperf which profile processes in sampling mode.<\/p>\n<p>However, xperf clearly shows us that volsnap.sys constantly uses the disk. I suppose it stuck into some infinite loop or some.<br \/>\nVolsnap is the volume snapshot service, which supports backup and recovery. So, at first I stopped Volume Shadow Copy service. It did not help.<br \/>\nThen, I <a href=\"https:\/\/www.howtogeek.com\/howto\/windows-vista\/disable-system-restore-in-windows-vista\/\">deleted<\/a> system restore points for my drives.<br \/>\nIt took several minutes to finish deleting old restore points. After a reset system process is now behave correctly.<br \/>\nSystem restore points are very important for certain scenarios, so be careful to turn it off. This is just a workaround, to clean up bogus system restore points.<br \/>\nAfter deletion and restart you should have to reenable it!<br \/>\nI re-enabled it, and the problem did not manifest again. So, I think deleting and recreating restore points solve this kind of weird problem.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Recently my laptop started to become sluggish and the ventilators was constantly on. In task manager it was clear the system process&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,55,73],"tags":[],"class_list":["post-2245","post","type-post","status-publish","format-standard","hentry","category-szakmai-elet","category-windows","category-winternals"],"_links":{"self":[{"href":"https:\/\/soci.hu\/blog\/index.php\/wp-json\/wp\/v2\/posts\/2245","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/soci.hu\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/soci.hu\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/soci.hu\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/soci.hu\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=2245"}],"version-history":[{"count":5,"href":"https:\/\/soci.hu\/blog\/index.php\/wp-json\/wp\/v2\/posts\/2245\/revisions"}],"predecessor-version":[{"id":2252,"href":"https:\/\/soci.hu\/blog\/index.php\/wp-json\/wp\/v2\/posts\/2245\/revisions\/2252"}],"wp:attachment":[{"href":"https:\/\/soci.hu\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=2245"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/soci.hu\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=2245"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/soci.hu\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=2245"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}