{"id":260,"date":"2018-10-17T06:41:14","date_gmt":"2018-10-17T06:41:14","guid":{"rendered":"https:\/\/www.appservgrid.com\/paw92\/index.php\/2018\/10\/17\/http-download-speed-difference-in-windows-vs-linux-elinux-co-in-linux-cpanel-whm-blog\/"},"modified":"2018-10-17T06:41:14","modified_gmt":"2018-10-17T06:41:14","slug":"http-download-speed-difference-in-windows-vs-linux-elinux-co-in-linux-cpanel-whm-blog","status":"publish","type":"post","link":"https:\/\/www.appservgrid.com\/paw92\/index.php\/2018\/10\/17\/http-download-speed-difference-in-windows-vs-linux-elinux-co-in-linux-cpanel-whm-blog\/","title":{"rendered":"HTTP download speed difference in windows vs Linux | Elinux.co.in | Linux Cpanel\/ WHM blog"},"content":{"rendered":"<br \/>\n<h2>HTTP download speed difference in windows 7 vs Linux<\/h2>\n<p>I have a strange situation regarding a Windows PC which is showing limited internet transfer speeds for no apparent reason. If I am performing the same test on Linux box then I am getting good speed.<\/p>\n<p>Upon intense debugging, I am able to diagnose and find out the root cause of the problem.<\/p>\n<p>It was\/is Windows HTTP packet fragmentation that happens locally. Basically its<br \/>how windows compile HTTP headers locally so found a fix to it.<\/p>\n<p>We came across some TCP settings which restrict download speed in the windows<br \/>box, hence in order to permit download of large files, have modified below<br \/>settings:<\/p>\n<p>These were my initial TCP settings<\/p>\n<blockquote>\n<p>C:Windowssystem32&gt;netsh interface tcp show global<\/p>\n<p>Querying active state&#8230;<\/p>\n<p>TCP Global Parameters<\/p>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<\/p>\n<p>Receive-Side Scaling State: disabled<\/p>\n<p>Chimney Offload State : automatic<\/p>\n<p>NetDMA State: enabled<\/p>\n<p>Direct Cache Acess (DCA): disabled<\/p>\n<p>Receive Window Auto-Tuning Level: disabled<\/p>\n<p>Add-On Congestion Control Provider: none<\/p>\n<p>ECN Capability: disabled<\/p>\n<p>RFC 1323 Timestamps : disabled<\/p>\n<p>** The above autotuninglevel setting is the result of Windows Scaling heuristics<\/p>\n<p>overriding any local\/policy configuration on at least one profile.<\/p>\n<p>C:Windowssystem32&gt;netsh interface tcp show heuristics<\/p>\n<p>TCP Window Scaling heuristics Parameters<\/p>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<\/p>\n<p>Window Scaling heuristics : enabled<\/p>\n<p>Qualifying Destination Threshold: 3<\/p>\n<p>Profile type unknown: normal<\/p>\n<p>Profile type public : normal<\/p>\n<p>Profile type private: restricted<\/p>\n<p>Profile type domain : normal<\/p>\n<\/blockquote>\n<p>Thus I did:<\/p>\n<blockquote>\n<p># disable heuristics<\/p>\n<p>C:Windowssystem32&gt;netsh interface tcp set heuristics wsh=disabled<\/p>\n<p>Ok.<\/p>\n<p># enable receive-side scaling<\/p>\n<p>C:Windowssystem32&gt;netsh int tcp set global rss=enabled<\/p>\n<p>Ok.<\/p>\n<p># manually set autotuning profile<\/p>\n<p>C:Windowssystem32&gt;netsh interface tcp set global autotuning=experimental<\/p>\n<p>Ok.<\/p>\n<p># set congestion provider<\/p>\n<p>C:Windowssystem32&gt;netsh interface tcp set global congestionprovider=ctcp<\/p>\n<p>Ok.<\/p>\n<p>C:Windowssystem32&gt;netsh interface tcp show global<\/p>\n<p>Querying active state&#8230;<\/p>\n<p>TCP Global Parameters<\/p>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<\/p>\n<p>Receive-Side Scaling State: enabled<\/p>\n<p>Chimney Offload State : automatic<\/p>\n<p>NetDMA State: enabled<\/p>\n<p>Direct Cache Acess (DCA): disabled<\/p>\n<p>Receive Window Auto-Tuning Level: experimental<\/p>\n<p>Add-On Congestion Control Provider: ctcp<\/p>\n<p>ECN Capability: disabled<\/p>\n<p>RFC 1323 Timestamps : disabled<\/p>\n<\/blockquote>\n<p>After changing these settings downloading is fast again, hitting the internet connection&#8217;s limit.<\/p>\n<p> <a href=\"https:\/\/www.elinux.co.in\/http-download-speed-difference-in-windows-vs-linux\/#utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=http-download-speed-difference-in-windows-vs-linux\" target=\"_blank\">Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>HTTP download speed difference in windows 7 vs Linux I have a strange situation regarding a Windows PC which is showing limited internet transfer speeds for no apparent reason. If I am performing the same test on Linux box then I am getting good speed. Upon intense debugging, I am able to diagnose and find &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2018\/10\/17\/http-download-speed-difference-in-windows-vs-linux-elinux-co-in-linux-cpanel-whm-blog\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;HTTP download speed difference in windows vs Linux | Elinux.co.in | Linux Cpanel\/ WHM blog&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-260","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/260","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/comments?post=260"}],"version-history":[{"count":0,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/260\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/media?parent=260"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/categories?post=260"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/tags?post=260"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}