
{"id":1444,"date":"2010-05-08T22:54:19","date_gmt":"2010-05-08T17:24:19","guid":{"rendered":"http:\/\/www.jeffrin.in\/?p=1444"},"modified":"2010-05-08T22:54:19","modified_gmt":"2010-05-08T17:24:19","slug":"scale-factor-for-portion-of-window-reserved-for-buffering-overhead","status":"publish","type":"post","link":"https:\/\/www.trueangle.org\/index.php\/2010\/05\/08\/scale-factor-for-portion-of-window-reserved-for-buffering-overhead\/","title":{"rendered":"scale factor for portion of window reserved for buffering overhead"},"content":{"rendered":"<pre class=\"brush:bash\">\n$cat \/proc\/sys\/net\/ipv4\/tcp_app_win\n31\n$\n\n<\/pre>\n<pre class=\"brush:text\">\nScale factor for portion of window reserved for buffering overhead. Reserve max(window \/ 2 ^ tcp_app_win, mss) of window for application buffer. Value 0 is special, it means that nothing is reserved. The default value is 31.\n<\/pre>\n<pre class=\"brush:text\">\n[ wireshark ]\nFrame 1 (1496 bytes on wire, 1496 bytes captured)\nEthernet II, Src: Netgear_b4:91:1a (00:1f:33:b4:91:1a), Dst: Giga-Byt_f2:71:b6 (00:1a:4d:f2:71:b6)\nInternet Protocol, Src: 122.166.110.18 (122.166.110.18), Dst: 10.0.0.2 (10.0.0.2)\nTransmission Control Protocol, Src Port: http (80), Dst Port: 51385 (51385), Seq: 1, Ack: 1, Len: 1430\nFlags: 0x10 (ACK)\n<\/pre>\n<p><font size=\"2\" color=\"green\">Window size: 514<\/font><\/p>\n<pre class=\"brush:text\">\nChecksum: 0x9e3e [validation disabled]\nOptions: (12 bytes)\nSEQ\/ACK analysis\nHypertext Transfer Protocol\n<\/pre>\n<pre class=\"brush:text\">\ngrepping through linux kernel source 2.6.32\n\nsysctl_net_ipv4.c:              .procname       = \"tcp_app_win\",\nsysctl_net_ipv4.c:              .data           = &amp;sysctl_tcp_app_win,\n\ntcp_input.c:int sysctl_tcp_app_win __read_mostly = 31;\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>$cat \/proc\/sys\/net\/ipv4\/tcp_app_win 31 $ Scale factor for portion of window reserved for buffering overhead. Reserve max(window \/ 2 ^ tcp_app_win, mss) of window for application buffer. Value 0 is special, it means that nothing is reserved. The default value is 31. [ wireshark ] Frame 1 (1496 bytes on wire, 1496 bytes captured) Ethernet II, &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.trueangle.org\/index.php\/2010\/05\/08\/scale-factor-for-portion-of-window-reserved-for-buffering-overhead\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;scale factor for portion of window reserved for buffering overhead&#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":[1045],"_links":{"self":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/1444"}],"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=1444"}],"version-history":[{"count":0,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/1444\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/media?parent=1444"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/categories?post=1444"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/tags?post=1444"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}