{"id":1958,"date":"2009-06-12T20:02:18","date_gmt":"2009-06-13T00:02:18","guid":{"rendered":"http:\/\/blogs.n1zyy.com\/n1zyy\/?p=1958"},"modified":"2009-06-12T20:02:18","modified_gmt":"2009-06-13T00:02:18","slug":"tuning-guides","status":"publish","type":"post","link":"https:\/\/blogs.n1zyy.com\/n1zyy\/2009\/06\/12\/tuning-guides\/","title":{"rendered":"Tuning Guides"},"content":{"rendered":"<p>There are <em>tons<\/em> of guides out there on how to &#8220;tune&#8221; most anything. With alarming frequency, I find things in them that are flat-out wrong, or, at the least, accomplish nothing productive. A classic example is the advice on emptying your Prefetch folder on Windows to make it go further. If you read up on what the Prefetch folder <em>is<\/em>, or read interviews with any of the core Windows team pulling their hair out about how many people keep deleting it, you won&#8217;t be able to help but laugh next time you see someone recommending it: until you realize that most Windows tuning guides recommend that. There was also a classic one on allowing SMP support during boot, which Microsoft announced in short order actaully did nothing: it was already using multiple cores if they were there. I still see that recommended a bit.<\/p>\n<p>I was Googling an arcane option in Linux&#8217;s sysctl.conf file, and came across a lot of guides on how to tweak sysctl.conf. Very few go into any detail; they just list settings they think you should use. So you&#8217;re left blindly changing things that you probably shouldn&#8217;t change, like low-level TCP options, because some random website on the Internet said it would make Linux faster.<\/p>\n<p>There&#8217;s plenty of good tuning to be done, but there&#8217;s also plenty of really bad advice out there. And a plea to others writing tutorials: if you&#8217;re going to show people how to change values, can you give some explanation of what they mean? &#8220;Controls the use of TCP syncookies&#8221; above &#8220;net.ipv4.tcp_syncookies=1&#8221; is not a helpful comment. Yes, I know what <a href=\"http:\/\/en.wikipedia.org\/wiki\/SYN_cookies\">SYN cookies<\/a> are, but that comment doesn&#8217;t convey any information.<\/p>\n<p>I did find <a href=\"http:\/\/ipsysctl-tutorial.frozentux.net\/ipsysctl-tutorial.html\">a helpful ipsysctl tutorial<\/a> that goes into detail about what each one does, as opposed to recommending values with no explanation.<\/p>","protected":false},"excerpt":{"rendered":"<p>There are tons of guides out there on how to &#8220;tune&#8221; most anything. With alarming frequency, I find things in them that are flat-out wrong, or, at the least, accomplish nothing productive. A classic example is the advice on emptying &hellip; <a href=\"https:\/\/blogs.n1zyy.com\/n1zyy\/2009\/06\/12\/tuning-guides\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>","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-1958","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blogs.n1zyy.com\/n1zyy\/wp-json\/wp\/v2\/posts\/1958","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.n1zyy.com\/n1zyy\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.n1zyy.com\/n1zyy\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.n1zyy.com\/n1zyy\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.n1zyy.com\/n1zyy\/wp-json\/wp\/v2\/comments?post=1958"}],"version-history":[{"count":0,"href":"https:\/\/blogs.n1zyy.com\/n1zyy\/wp-json\/wp\/v2\/posts\/1958\/revisions"}],"wp:attachment":[{"href":"https:\/\/blogs.n1zyy.com\/n1zyy\/wp-json\/wp\/v2\/media?parent=1958"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.n1zyy.com\/n1zyy\/wp-json\/wp\/v2\/categories?post=1958"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.n1zyy.com\/n1zyy\/wp-json\/wp\/v2\/tags?post=1958"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}