{"id":688,"date":"2015-01-30T09:29:40","date_gmt":"2015-01-30T09:29:40","guid":{"rendered":"https:\/\/block.arch.ethz.ch\/blog\/?p=688"},"modified":"2015-02-02T08:01:03","modified_gmt":"2015-02-02T08:01:03","slug":"no-hyper-threading-speed-up-your-python-code-and-rhino-commands","status":"publish","type":"post","link":"https:\/\/block.arch.ethz.ch\/blog\/2015\/01\/no-hyper-threading-speed-up-your-python-code-and-rhino-commands\/","title":{"rendered":"No Hyper-Threading &#8211; Speed up your python code and Rhino commands"},"content":{"rendered":"<p>Hyper-threading splits up each of your physical processor cores into two virtual or logical cores. This technology can improve the performance of some applications which are optimized for hyper-threading. However, all python code I wrote and almost all Rhino commands do not benefit from hyper-threading technology. You can often run your code (and Rhino commands) twice as fast by simply disabling hyper-threading in your BIOS setup. Just enter your BIOS setup during start-up, go to Config -&gt; CPU -&gt; Intel(R)Hyper-Threading Technology -&gt; Disable -&gt; Save and Exit.<\/p>\n<p><!--more--><\/p>\n<div id=\"attachment_691\" style=\"width: 571px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/block.arch.ethz.ch\/blog\/wp-content\/uploads\/2015\/01\/blogpost_1.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-691\" class=\" wp-image-691\" src=\"https:\/\/block.arch.ethz.ch\/blog\/wp-content\/uploads\/2015\/01\/blogpost_1.jpg\" alt=\"Running python code with Hyper-Threading Technology enabled (Lenovo W510 with Intel(R) Core(TM) i7: CPU 100\/4 = 25 -&gt; 25\/2 = 12.5)\" width=\"561\" height=\"343\" srcset=\"https:\/\/block.arch.ethz.ch\/blog\/wp-content\/uploads\/2015\/01\/blogpost_1.jpg 732w, https:\/\/block.arch.ethz.ch\/blog\/wp-content\/uploads\/2015\/01\/blogpost_1-300x183.jpg 300w\" sizes=\"auto, (max-width: 561px) 100vw, 561px\" \/><\/a><p id=\"caption-attachment-691\" class=\"wp-caption-text\">Running python code with Hyper-Threading Technology enabled (Lenovo W510 with Intel(R) Core(TM) i7: CPU 100\/4 = 25 -&gt; 25\/2 = 12.5)<\/p><\/div>\n<p>&nbsp;<\/p>\n<div id=\"attachment_690\" style=\"width: 573px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/block.arch.ethz.ch\/blog\/wp-content\/uploads\/2015\/01\/blogpost_2.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-690\" class=\" wp-image-690\" src=\"https:\/\/block.arch.ethz.ch\/blog\/wp-content\/uploads\/2015\/01\/blogpost_2.jpg\" alt=\"    Running python code with Hyper-Threading Technology enabled (Lenovo W510 with Intel(R) Core(TM) i7: CPU 100\/4 = 25 -&gt; 25\/2 = 12.5) Running python code with Hyper-Threading Technology disabled (Lenovo W510 with Intel(R) Core(TM) i7: CPU 100\/4 = 25)\" width=\"563\" height=\"344\" srcset=\"https:\/\/block.arch.ethz.ch\/blog\/wp-content\/uploads\/2015\/01\/blogpost_2.jpg 732w, https:\/\/block.arch.ethz.ch\/blog\/wp-content\/uploads\/2015\/01\/blogpost_2-300x183.jpg 300w\" sizes=\"auto, (max-width: 563px) 100vw, 563px\" \/><\/a><p id=\"caption-attachment-690\" class=\"wp-caption-text\">Running python code with Hyper-Threading Technology enabled (Lenovo W510 with Intel(R) Core(TM) i7: CPU 100\/4 = 25)<\/p><\/div>\n<p>&nbsp;<\/p>\n<div id=\"attachment_689\" style=\"width: 579px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/block.arch.ethz.ch\/blog\/wp-content\/uploads\/2015\/01\/blogpost_0.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-689\" class=\" wp-image-689\" src=\"https:\/\/block.arch.ethz.ch\/blog\/wp-content\/uploads\/2015\/01\/blogpost_0-1024x768.jpg\" alt=\"Disabling Hyper-Threading-Technology in BIOS\" width=\"569\" height=\"426\" srcset=\"https:\/\/block.arch.ethz.ch\/blog\/wp-content\/uploads\/2015\/01\/blogpost_0-1024x768.jpg 1024w, https:\/\/block.arch.ethz.ch\/blog\/wp-content\/uploads\/2015\/01\/blogpost_0-300x225.jpg 300w, https:\/\/block.arch.ethz.ch\/blog\/wp-content\/uploads\/2015\/01\/blogpost_0.jpg 1632w\" sizes=\"auto, (max-width: 569px) 100vw, 569px\" \/><\/a><p id=\"caption-attachment-689\" class=\"wp-caption-text\">Disabling Hyper-Threading-Technology in BIOS<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Hyper-threading splits up each of your physical processor cores into two virtual or logical cores. This technology can improve the performance of some applications which are optimized for hyper-threading. However, all python code I wrote and almost all Rhino commands do not benefit from hyper-threading technology. You can often run your code (and Rhino commands) [&hellip;]<\/p>\n","protected":false},"author":15,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10,3],"tags":[],"class_list":["post-688","post","type-post","status-publish","format-standard","hentry","category-code","category-tools"],"_links":{"self":[{"href":"https:\/\/block.arch.ethz.ch\/blog\/wp-json\/wp\/v2\/posts\/688","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/block.arch.ethz.ch\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/block.arch.ethz.ch\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/block.arch.ethz.ch\/blog\/wp-json\/wp\/v2\/users\/15"}],"replies":[{"embeddable":true,"href":"https:\/\/block.arch.ethz.ch\/blog\/wp-json\/wp\/v2\/comments?post=688"}],"version-history":[{"count":17,"href":"https:\/\/block.arch.ethz.ch\/blog\/wp-json\/wp\/v2\/posts\/688\/revisions"}],"predecessor-version":[{"id":709,"href":"https:\/\/block.arch.ethz.ch\/blog\/wp-json\/wp\/v2\/posts\/688\/revisions\/709"}],"wp:attachment":[{"href":"https:\/\/block.arch.ethz.ch\/blog\/wp-json\/wp\/v2\/media?parent=688"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/block.arch.ethz.ch\/blog\/wp-json\/wp\/v2\/categories?post=688"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/block.arch.ethz.ch\/blog\/wp-json\/wp\/v2\/tags?post=688"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}