{"id":221,"date":"2016-04-22T13:36:25","date_gmt":"2016-04-22T11:36:25","guid":{"rendered":"http:\/\/blog.wias-berlin.de\/wias-software\/?p=221"},"modified":"2016-04-22T13:36:25","modified_gmt":"2016-04-22T11:36:25","slug":"tuning-10g-unter-linux","status":"publish","type":"post","link":"https:\/\/blog.wias-berlin.de\/wias-software\/2016\/04\/22\/tuning-10g-unter-linux\/","title":{"rendered":"tuning 10G unter Linux"},"content":{"rendered":"<p>https:\/\/fasterdata.es.net\/host-tuning\/linux\/<\/p>\n<p>*bonding aus-der-kiste funktioniert nicht stabil*<\/p>\n<p>TCP tuning<\/p>\n<p>Like most modern OSes, Linux now does a good job of auto-tuning the TCP buffers, but the default maximum Linux TCP buffer sizes are still too small. Here are some example sysctl.conf commands for different types of hosts.<\/p>\n<p>For a host with a 10G NIC, optimized for network paths up to 100ms RTT, and for friendlyness to single and parallel stream tools, add this to \/etc\/sysctl.conf<\/p>\n<p># allow testing with buffers up to 64MB<br \/>\nnet.core.rmem_max = 67108864<br \/>\nnet.core.wmem_max = 67108864<br \/>\n# increase Linux autotuning TCP buffer limit to 32MB<br \/>\nnet.ipv4.tcp_rmem = 4096 87380 33554432<br \/>\nnet.ipv4.tcp_wmem = 4096 65536 33554432<br \/>\n# increase the length of the processor input queue<br \/>\nnet.core.netdev_max_backlog = 30000<br \/>\n# recommended default congestion control is htcp<br \/>\nnet.ipv4.tcp_congestion_control=htcp<br \/>\n# recommended for hosts with jumbo frames enabled<br \/>\nnet.ipv4.tcp_mtu_probing=1<br \/>\nAlso add this to \/etc\/rc.local (where N is the number for your 10G NIC):<br \/>\n\/sbin\/ifconfig ethN txqueuelen 10000<\/p>\n","protected":false},"excerpt":{"rendered":"<p>https:\/\/fasterdata.es.net\/host-tuning\/linux\/ *bonding aus-der-kiste funktioniert nicht stabil* TCP tuning Like most modern OSes, Linux now does a good job of auto-tuning the TCP buffers, but the default maximum Linux TCP buffer sizes are still too small. Here are some example sysctl.conf commands for different types of hosts. For a host with a 10G NIC, optimized for [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[],"class_list":["post-221","post","type-post","status-publish","format-standard","hentry","category-snippets"],"_links":{"self":[{"href":"https:\/\/blog.wias-berlin.de\/wias-software\/wp-json\/wp\/v2\/posts\/221","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.wias-berlin.de\/wias-software\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.wias-berlin.de\/wias-software\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.wias-berlin.de\/wias-software\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.wias-berlin.de\/wias-software\/wp-json\/wp\/v2\/comments?post=221"}],"version-history":[{"count":1,"href":"https:\/\/blog.wias-berlin.de\/wias-software\/wp-json\/wp\/v2\/posts\/221\/revisions"}],"predecessor-version":[{"id":222,"href":"https:\/\/blog.wias-berlin.de\/wias-software\/wp-json\/wp\/v2\/posts\/221\/revisions\/222"}],"wp:attachment":[{"href":"https:\/\/blog.wias-berlin.de\/wias-software\/wp-json\/wp\/v2\/media?parent=221"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.wias-berlin.de\/wias-software\/wp-json\/wp\/v2\/categories?post=221"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.wias-berlin.de\/wias-software\/wp-json\/wp\/v2\/tags?post=221"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}