{"id":32,"date":"2020-04-11T13:46:26","date_gmt":"2020-04-11T12:46:26","guid":{"rendered":"https:\/\/blog.thomarite.uk\/?p=32"},"modified":"2020-05-11T23:52:08","modified_gmt":"2020-05-11T22:52:08","slug":"tcp-thin-stream-modifications","status":"publish","type":"post","link":"https:\/\/blog.thomarite.uk\/index.php\/2020\/04\/11\/tcp-thin-stream-modifications\/","title":{"rendered":"TCP Thin-Stream Modifications"},"content":{"rendered":"\n<p>I have read the below article and I am going to give it a go in my laptop<\/p>\n\n\n\n<p><a href=\"https:\/\/www.simula.no\/file\/lj-219-jul-2012pdf\/download\">https:\/\/www.simula.no\/file\/lj-219-jul-2012pdf\/download<\/a><\/p>\n\n\n\n<p>First, check the status of tcp thin:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code># sysctl net.ipv4.tcp_thin_linear_timeouts<br>net.ipv4.tcp_thin_linear_timeouts = 0<\/code><\/pre>\n\n\n\n<p>I have realised that I dont have &#8220;\/proc\/sys\/net\/ipv4\/tcp_thin_dupack&#8221; as the article mentions&#8230;<\/p>\n\n\n\n<p>Ok, let update the value and be sure is still active after reboot.<\/p>\n\n\n\n<p>Enable the value:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code># echo \"1\" &gt; \/proc\/sys\/net\/ipv4\/tcp_thin_linear_timeouts<br># sysctl net.ipv4.tcp_thin_linear_timeouts<br>net.ipv4.tcp_thin_linear_timeouts = 1<\/code><\/pre>\n\n\n\n<p>Make it permanent, edit \/etc\/sysctl.conf like this<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># Based on https:\/\/www.simula.no\/file\/lj-219-jul-2012pdf\/download\n# enabling tcp thin-steam modifications for reducing latency in interactive apps\nnet.ipv4.tcp_thin_linear_timeouts = 1<\/pre>\n\n\n\n<p>Now it is time to test and see if you see any improvement or degradation!<\/p>\n\n\n\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow\">\n<div class=\"wp-block-group is-layout-flow wp-block-group-is-layout-flow\"><div class=\"wp-block-group__inner-container\"><\/div><\/div>\n<\/div><\/div>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have read the below article and I am going to give it a go in my laptop https:\/\/www.simula.no\/file\/lj-219-jul-2012pdf\/download First, check the status of tcp thin: # sysctl net.ipv4.tcp_thin_linear_timeoutsnet.ipv4.tcp_thin_linear_timeouts = 0 I have realised that I dont have &#8220;\/proc\/sys\/net\/ipv4\/tcp_thin_dupack&#8221; as the article mentions&#8230; Ok, let update the value and be sure is still active after &hellip; <a href=\"https:\/\/blog.thomarite.uk\/index.php\/2020\/04\/11\/tcp-thin-stream-modifications\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;TCP Thin-Stream Modifications&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-32","post","type-post","status-publish","format-standard","hentry","category-unix"],"_links":{"self":[{"href":"https:\/\/blog.thomarite.uk\/index.php\/wp-json\/wp\/v2\/posts\/32","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.thomarite.uk\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.thomarite.uk\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.thomarite.uk\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.thomarite.uk\/index.php\/wp-json\/wp\/v2\/comments?post=32"}],"version-history":[{"count":2,"href":"https:\/\/blog.thomarite.uk\/index.php\/wp-json\/wp\/v2\/posts\/32\/revisions"}],"predecessor-version":[{"id":138,"href":"https:\/\/blog.thomarite.uk\/index.php\/wp-json\/wp\/v2\/posts\/32\/revisions\/138"}],"wp:attachment":[{"href":"https:\/\/blog.thomarite.uk\/index.php\/wp-json\/wp\/v2\/media?parent=32"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.thomarite.uk\/index.php\/wp-json\/wp\/v2\/categories?post=32"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.thomarite.uk\/index.php\/wp-json\/wp\/v2\/tags?post=32"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}