{"id":142,"date":"2007-06-15T22:52:00","date_gmt":"2007-06-15T22:52:00","guid":{"rendered":"http:\/\/blog.trungson.com\/?p=142"},"modified":"2007-06-15T22:52:00","modified_gmt":"2007-06-15T22:52:00","slug":"scp-secure-copy-speed-tuning","status":"publish","type":"post","link":"http:\/\/blog.trungson.com\/?p=142","title":{"rendered":"scp &#8211; Secure copy speed tuning"},"content":{"rendered":"<p>We regularly have to transfer files between servers at high speed and got this problem when a single server is slower than the rest and they reside in 2 DCs next to each other. All other servers got around 500KB\/sec, this one only got 170KB\/sec. With some research, it turns out that using different options of scp can improve speed drastically. The new speed we got is around 1.3MB &#8211; 1.7MB\/sec for all servers with compression &amp; using a blowfish as the encryption method.<\/p>\n<p>Before: scp -C -c blowfish -P [port] SRC DEST<br \/>\nAfter: scp -C -c blowfish -P [port] SRC DEST<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We regularly have to transfer files between servers at high speed and got this problem when a single server is slower than the rest and they reside in 2 DCs next to each other. All other servers got around 500KB\/sec, this one only got 170KB\/sec. With some research, it turns out that using different options [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/blog.trungson.com\/index.php?rest_route=\/wp\/v2\/posts\/142"}],"collection":[{"href":"http:\/\/blog.trungson.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.trungson.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.trungson.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.trungson.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=142"}],"version-history":[{"count":0,"href":"http:\/\/blog.trungson.com\/index.php?rest_route=\/wp\/v2\/posts\/142\/revisions"}],"wp:attachment":[{"href":"http:\/\/blog.trungson.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=142"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.trungson.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=142"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.trungson.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=142"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}