
{"id":1460,"date":"2010-05-10T21:32:58","date_gmt":"2010-05-10T16:02:58","guid":{"rendered":"http:\/\/www.jeffrin.in\/?p=1460"},"modified":"2010-05-10T21:32:58","modified_gmt":"2010-05-10T16:02:58","slug":"congestion-control-algorithm-to-be-used-for-new-connections","status":"publish","type":"post","link":"https:\/\/www.trueangle.org\/index.php\/2010\/05\/10\/congestion-control-algorithm-to-be-used-for-new-connections\/","title":{"rendered":"congestion control algorithm to be used for new connections"},"content":{"rendered":"<pre class=\"brush:bash\">\nahiliation:~$cat \/proc\/sys\/net\/ipv4\/tcp_congestion_control\ncubic\nahiliation:~$echo reno &gt;  \/proc\/sys\/net\/ipv4\/tcp_congestion_control\nbash: \/proc\/sys\/net\/ipv4\/tcp_congestion_control: Permission denied\nahiliation:~$su -\nPassword:\ndebianlabs:~# echo reno &gt;  \/proc\/sys\/net\/ipv4\/tcp_congestion_control\ndebianlabs:~# cat  \/proc\/sys\/net\/ipv4\/tcp_congestion_control\nreno\ndebianlabs:~# echo dreno &gt;  \/proc\/sys\/net\/ipv4\/tcp_congestion_control\n-su: echo: write error: No such file or directory\n<\/pre>\n<pre class=\"brush:text\">\nSet the congestion control algorithm to be used for new\nconnections. The algorithm \"reno\" is always available, but\nadditional choices may be available based on kernel configuration.\nDefault is set as part of kernel configuration.\n<\/pre>\n<pre class=\"brush:c\">\n[ linux kernel source tcp_yeah.c ]\nelse if (!yeah-&gt;doing_reno_now) {\n \/* Scalable *\/\ntp-&gt;snd_cwnd_cnt += yeah-&gt;pkts_acked;\n<\/pre>\n<pre class=\"brush:text\">\ngrepping through linux kernel source 2.6.32\nsysctl_net_ipv4.c:              .procname       = \"tcp_congestion_control\",\nsysctl_net_ipv4.c:              .proc_handler   = proc_tcp_congestion_control,\nsysctl_net_ipv4.c:              .strategy       = sysctl_tcp_congestion_control,\n<\/pre>\n<p>Problem : Find exactly where the default algorithm is done in code<\/p>\n","protected":false},"excerpt":{"rendered":"<p>ahiliation:~$cat \/proc\/sys\/net\/ipv4\/tcp_congestion_control cubic ahiliation:~$echo reno &gt; \/proc\/sys\/net\/ipv4\/tcp_congestion_control bash: \/proc\/sys\/net\/ipv4\/tcp_congestion_control: Permission denied ahiliation:~$su &#8211; Password: debianlabs:~# echo reno &gt; \/proc\/sys\/net\/ipv4\/tcp_congestion_control debianlabs:~# cat \/proc\/sys\/net\/ipv4\/tcp_congestion_control reno debianlabs:~# echo dreno &gt; \/proc\/sys\/net\/ipv4\/tcp_congestion_control -su: echo: write error: No such file or directory Set the congestion control algorithm to be used for new connections. The algorithm &#8220;reno&#8221; is always available, but &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.trueangle.org\/index.php\/2010\/05\/10\/congestion-control-algorithm-to-be-used-for-new-connections\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;congestion control algorithm to be used for new connections&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[1043,1549],"_links":{"self":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/1460"}],"collection":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/comments?post=1460"}],"version-history":[{"count":0,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/1460\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/media?parent=1460"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/categories?post=1460"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/tags?post=1460"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}