{"id":452,"date":"2005-09-27T10:54:04","date_gmt":"2005-09-27T10:54:04","guid":{"rendered":"http:\/\/maydanoz.arved.priv.at\/blog\/?p=452"},"modified":"2005-09-27T10:54:04","modified_gmt":"2005-09-27T10:54:04","slug":"bittorrent_and","status":"publish","type":"post","link":"https:\/\/arved.priv.at\/weblog\/2005\/09\/27\/bittorrent_and\/","title":{"rendered":"BitTorrent and FreeSoftware"},"content":{"rendered":"<p>Lioux launched a <a href=\"http:\/\/people.freebsd.org\/~lioux\/bittorrent\/seeding.html\">BitTorrent campaign<\/a>.<br \/>\nHe persuaded me to install the bittorrent port on jim, and donate 6KB\/s (ca. 40% of my upstream bandwith)  to his project. Additional i have set a limit of 6 connections, calculating that each connection should get 1KB.<br \/>\nAfter running one night, on next morning my nagios was crying  because &#8220;the Internet is slow&#8221;. I checked with Hendriks excellent slurm program and noticed that my upstream was blowing out full speed (16KB\/s, yes my ADSL line is slow).<br \/>\nI checked with tcpdump what caused this traffic and immediately noticed several wellknown hosts as primary offenders:<\/p>\n<pre>\n10:49:17.908038 IP 21322530218.direct.eti.at.53481 > g164193.upc-g.chello.nl.acmsoda: F 1347279866:1347279866(0) ack 1734755715 win 33304 <nop,nop,timestamp 132885385 319999565>\n...\n10:50:05.497482 IP 21322530218.direct.eti.at.52573 > panda.droso.net.6881: P 1:49(48) ack 1 win 33304 <nop,nop,timestamp 132932982 769603182>\n10:50:05.545402 IP 200-140-3-148.bsace703.dsl.brasiltelecom.net.br.54871 > 21322530218.direct.eti.at.7241: R 3804027892:3804027892(0) win 0\n10:50:05.606741 IP 21322530218.direct.eti.at.7241 > creme-brulee.marcuscom.com.51748: FP 0:7(7) ack 1 win 33304 <nop,nop,timestamp 132933078 20112828>\n0:50:05.607486 IP 21322530218.direct.eti.at.54575 > foo.lovett.com.7241: . ack 1 win 33304 <nop,nop,timestamp 132933092 51201099><\/pre>\n<p>. Obviously lioux persuaded some other fellow commiters (kwm, marcus, erwin and ade) to run BT as well and now we exchange our distfiles via BT (hooray!).<br \/>\nIt looks like the traffic shaping algorithm is far from optimal and according to netstat the maximum connection number was also violated. And why is so much traffic required to coordinate the peers, as we all have the relevant files and don&#8217;t download anything?<br \/>\nMy conclusion, currently bittorrent can&#8217;t compete with fetch(1), ftp(1) and an established mirror hierachy when it comes to distributing free software.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Lioux launched a BitTorrent campaign. He persuaded me to install the bittorrent port on jim, and donate 6KB\/s (ca. 40% of my upstream bandwith) to his project. Additional i have set a limit of 6 connections, calculating that each connection should get 1KB. After running one night, on next morning my nagios was crying because &hellip; <a href=\"https:\/\/arved.priv.at\/weblog\/2005\/09\/27\/bittorrent_and\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;BitTorrent and FreeSoftware&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-452","post","type-post","status-publish","format-standard","hentry","category-freebsd"],"_links":{"self":[{"href":"https:\/\/arved.priv.at\/weblog\/wp-json\/wp\/v2\/posts\/452","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/arved.priv.at\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/arved.priv.at\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/arved.priv.at\/weblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/arved.priv.at\/weblog\/wp-json\/wp\/v2\/comments?post=452"}],"version-history":[{"count":0,"href":"https:\/\/arved.priv.at\/weblog\/wp-json\/wp\/v2\/posts\/452\/revisions"}],"wp:attachment":[{"href":"https:\/\/arved.priv.at\/weblog\/wp-json\/wp\/v2\/media?parent=452"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/arved.priv.at\/weblog\/wp-json\/wp\/v2\/categories?post=452"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/arved.priv.at\/weblog\/wp-json\/wp\/v2\/tags?post=452"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}