{"id":119,"date":"2007-08-04T12:18:53","date_gmt":"2007-08-04T19:18:53","guid":{"rendered":"http:\/\/daryllafferty.com\/blog\/?p=119"},"modified":"2007-09-27T19:08:11","modified_gmt":"2007-09-28T02:08:11","slug":"when-dma-drops-to-pio","status":"publish","type":"post","link":"https:\/\/daryllafferty.com\/blog\/2007\/08\/04\/when-dma-drops-to-pio\/","title":{"rendered":"When DMA drops to PIO"},"content":{"rendered":"<p>Warning:  This is a fairly technical discussion that will probably not be of interest to Mom.<\/p>\n<p>A few times lately I have struggled with people&#8217;s computers trying to find out why they are running so sluggishly.  When no programs are running, Task Manager shows the CPU usage at 50% &#8211; 80%, though the process list doesn&#8217;t show anything using any of that processing power.  Normally, CPU usage should be between 0% and maybe 4% when idle (at the bottom of the Task Manager window.)  I thought at first that there must be a hidden virus, or rootkit running in the background.  But I was wrong.<\/p>\n<p>What happens is that the hard drive is not being accessed in fast DMA mode, but rather in a much slower PIO mode.  Windows monitors hard drive errors, and when they reach a certain level it assumes that the drive can&#8217;t handle DMA and switches it to PIO.  Usually the hard drive can still run in DMA just fine.<\/p>\n<p>Check it out in Device Manager.  Look under &#8220;IDE ATA\/ATAPI controllers&#8221; at the &#8220;Primary IDE Channel&#8221;.  In Properties, on the Advanced Settings tab, &#8220;Current Transfer Mode&#8221; should be &#8220;Ultra DMA Mode&#8221; or something that has the word &#8220;DMA&#8221; in it.<\/p>\n<p>If it has fallen back to PIO, the solution is to uninstall the Primary IDE Channel in Device Manager, then reboot.  The system may require a second reboot, but in the end it will reinstall the controller, usually back in DMA mode.  It will make a huge difference in your performance.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Warning: This is a fairly technical discussion that will probably not be of interest to Mom. A few times lately I have struggled with people&#8217;s computers trying to find out why they are running so sluggishly. When no programs are running, Task Manager shows the CPU usage at 50% &#8211; 80%, though the process list [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-119","post","type-post","status-publish","format-standard","hentry","category-computers"],"_links":{"self":[{"href":"https:\/\/daryllafferty.com\/blog\/wp-json\/wp\/v2\/posts\/119","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/daryllafferty.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/daryllafferty.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/daryllafferty.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/daryllafferty.com\/blog\/wp-json\/wp\/v2\/comments?post=119"}],"version-history":[{"count":0,"href":"https:\/\/daryllafferty.com\/blog\/wp-json\/wp\/v2\/posts\/119\/revisions"}],"wp:attachment":[{"href":"https:\/\/daryllafferty.com\/blog\/wp-json\/wp\/v2\/media?parent=119"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/daryllafferty.com\/blog\/wp-json\/wp\/v2\/categories?post=119"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/daryllafferty.com\/blog\/wp-json\/wp\/v2\/tags?post=119"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}