{"id":33123,"date":"2005-12-02T10:44:27","date_gmt":"2005-12-02T10:44:27","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/oldnewthing\/2005\/12\/02\/psychic-debugging-why-your-cpu-usage-is-hovering-at-50\/"},"modified":"2005-12-02T10:44:27","modified_gmt":"2005-12-02T10:44:27","slug":"psychic-debugging-why-your-cpu-usage-is-hovering-at-50","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/oldnewthing\/20051202-27\/?p=33123","title":{"rendered":"Psychic debugging: Why your CPU usage is hovering at 50%"},"content":{"rendered":"<p>Sometimes psychic debugging consists merely of seeing the bigger picture.<\/p>\n<p> On one of our internal bug-reporting mailing lists, someone asked, &#8220;How come when I do XYZ, my CPU usage goes to 50%?&#8221; <\/p>\n<p> My psychic answer: &#8220;Because you have two processors.&#8221; <\/p>\n<p> The response was genuine surprise and amazement. How did I know they had two processors? Simple: If they had only one processor, the CPU usage would be 100%. This seems unhelpful on its face, but it actually does help diagnose the problem, because now they can search the bug database for bugs in the XYZ feature tagged &#8220;100% CPU&#8221; to see if any of those apply to their situation. (And in this case, it turns out that one did.) <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sometimes psychic debugging consists merely of seeing the bigger picture. On one of our internal bug-reporting mailing lists, someone asked, &#8220;How come when I do XYZ, my CPU usage goes to 50%?&#8221; My psychic answer: &#8220;Because you have two processors.&#8221; The response was genuine surprise and amazement. How did I know they had two processors? [&hellip;]<\/p>\n","protected":false},"author":1069,"featured_media":111744,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[26],"class_list":["post-33123","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-oldnewthing","tag-other"],"acf":[],"blog_post_summary":"<p>Sometimes psychic debugging consists merely of seeing the bigger picture. On one of our internal bug-reporting mailing lists, someone asked, &#8220;How come when I do XYZ, my CPU usage goes to 50%?&#8221; My psychic answer: &#8220;Because you have two processors.&#8221; The response was genuine surprise and amazement. How did I know they had two processors? [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/33123","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/users\/1069"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/comments?post=33123"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/33123\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/media\/111744"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/media?parent=33123"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/categories?post=33123"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/tags?post=33123"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}