<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: User space traffic shaping with Ruby</title>
	<atom:link href="http://www.bugfree.dk/blog/2008/04/12/user-space-traffic-shaping-with-ruby/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bugfree.dk/blog/2008/04/12/user-space-traffic-shaping-with-ruby/</link>
	<description>Not anti-anything, just pro-quality</description>
	<lastBuildDate>Thu, 16 Dec 2010 07:18:58 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>By: Bugfree.dk &#187; Blog Archive &#187; Computer activation with Asp.Net MVC</title>
		<link>http://www.bugfree.dk/blog/2008/04/12/user-space-traffic-shaping-with-ruby/comment-page-1/#comment-21982</link>
		<dc:creator>Bugfree.dk &#187; Blog Archive &#187; Computer activation with Asp.Net MVC</dc:creator>
		<pubDate>Tue, 22 Dec 2009 10:21:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.bugfree.dk/blog/2008/04/12/user-space-traffic-shaping-with-ruby/#comment-21982</guid>
		<description>[...] posts in this series include: Kernel space traffic shaping with Linux and User space traffic shaping with Ruby that touch exclusively on Linux [...]</description>
		<content:encoded><![CDATA[<p>[...] posts in this series include: Kernel space traffic shaping with Linux and User space traffic shaping with Ruby that touch exclusively on Linux [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bugfree.dk &#187; Blog Archive &#187; Kernel space traffic shaping with Linux</title>
		<link>http://www.bugfree.dk/blog/2008/04/12/user-space-traffic-shaping-with-ruby/comment-page-1/#comment-16404</link>
		<dc:creator>Bugfree.dk &#187; Blog Archive &#187; Kernel space traffic shaping with Linux</dc:creator>
		<pubDate>Thu, 16 Jul 2009 21:55:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.bugfree.dk/blog/2008/04/12/user-space-traffic-shaping-with-ruby/#comment-16404</guid>
		<description>[...] In conclusion, a great deal of time went into experimenting with the various qdiscs, even in combination with ipp2p. But eventually we decided that none of the qdiscs were up to solving our network congestion problem. The research effort wasn&#8217;t all in vain, though, because we found that WRR provides us with a cost effective way of counting incoming and outgoing bytes on a computer by computer basis. Thus, in a way all this helped crystallize the idea of building a payload agnostic, user space traffic shaper in Ruby. [...]</description>
		<content:encoded><![CDATA[<p>[...] In conclusion, a great deal of time went into experimenting with the various qdiscs, even in combination with ipp2p. But eventually we decided that none of the qdiscs were up to solving our network congestion problem. The research effort wasn&#8217;t all in vain, though, because we found that WRR provides us with a cost effective way of counting incoming and outgoing bytes on a computer by computer basis. Thus, in a way all this helped crystallize the idea of building a payload agnostic, user space traffic shaper in Ruby. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Murariu Serban</title>
		<link>http://www.bugfree.dk/blog/2008/04/12/user-space-traffic-shaping-with-ruby/comment-page-1/#comment-14981</link>
		<dc:creator>Murariu Serban</dc:creator>
		<pubDate>Thu, 26 Mar 2009 09:33:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.bugfree.dk/blog/2008/04/12/user-space-traffic-shaping-with-ruby/#comment-14981</guid>
		<description>yes, just remembered (maybe you can &quot;merge the 2 posts&quot;)

Ad block plus for Firefox blocks ads (self explanatory) the more people use it in your network, the less bandwidth they will &quot;waste&quot; and the faster their pages would load and the less cluttered their &quot;world&quot; (wide web) will become.

Introduce it to your users, (don&#039;t enforce it) and most of them will instantly see the benefit and adopt it without further ado.

best of luck !</description>
		<content:encoded><![CDATA[<p>yes, just remembered (maybe you can &#8220;merge the 2 posts&#8221;)</p>
<p>Ad block plus for Firefox blocks ads (self explanatory) the more people use it in your network, the less bandwidth they will &#8220;waste&#8221; and the faster their pages would load and the less cluttered their &#8220;world&#8221; (wide web) will become.</p>
<p>Introduce it to your users, (don&#8217;t enforce it) and most of them will instantly see the benefit and adopt it without further ado.</p>
<p>best of luck !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Murariu Serban</title>
		<link>http://www.bugfree.dk/blog/2008/04/12/user-space-traffic-shaping-with-ruby/comment-page-1/#comment-14979</link>
		<dc:creator>Murariu Serban</dc:creator>
		<pubDate>Thu, 26 Mar 2009 09:23:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.bugfree.dk/blog/2008/04/12/user-space-traffic-shaping-with-ruby/#comment-14979</guid>
		<description>Hey,
I really don&#039;t quite get this: your goal should be to make the most out of the bandwidth that you have available but all i see here is just a fancy and overengeneered way of limiting traffic per computer per time. Yes it&#039;s a nice thing to pull off, bet you learned loads of stuff but in the end is this really it; is this really THE solution? Hardly think so. For instance you should allow someone to continue downloading past the 10Gb limit if you have 40% bandwidth use, right? Moreover: if I&#039;m the only person online then i should get 100% of the bandwidth. 
I used to run a 400 user network with faaaaaaaar less bandwidth than you guys now have and one of the things that i noticed is that bandwidth usage decreased a hell of a lot after setting up a Dc++ hub ;). Everyone was sharing the movies they downloaded and this meant a lot. Apart from that they would copy the movies at lan speeds and of course that this is preferable to downloading from p2p. I mean it&#039;s still p2p but it&#039;s local. Of course people still downloaded using eMule/torrentz but the amount of downloaded data was far less and once a movie &quot;entered&quot; the network it was &quot;reused&quot;

Also I implemented a transparent squid proxy server that had a dedicated 4.3 gig scsi hard drive for caching. By increasing the default 4k limit for caching objects (ie. allowing it to cache bigger objects)  i managed to &quot;save&quot; between 700mb and 1 gig of bandwidth per day (24 hour period), not to mention the &quot;instant&quot; loading speeds. Furthermore, it was configured in such a way that it would block *banner* *ads* etc etc etc and the people loved to read their yahoo mail without annoying ads. You have to realize that i&#039;m talking about 2000~2002 when things like ad block plus were not in existence. 

The traffic shaping on the routers was done using htb, or more accurately htb-tools. http://htb-tools.skydevel.ro/e107_plugins/content/content.php?content.9

Ip allocation was still dhcp but the ip&#039;s were fixed to the mac addresses. We also had a network access system (to be able to restrict access to those who did not pay) etc etc. 

those were fun days.

hope this helps

i might have left some things out. if i remember anything i&#039;ll post again

regards</description>
		<content:encoded><![CDATA[<p>Hey,<br />
I really don&#8217;t quite get this: your goal should be to make the most out of the bandwidth that you have available but all i see here is just a fancy and overengeneered way of limiting traffic per computer per time. Yes it&#8217;s a nice thing to pull off, bet you learned loads of stuff but in the end is this really it; is this really THE solution? Hardly think so. For instance you should allow someone to continue downloading past the 10Gb limit if you have 40% bandwidth use, right? Moreover: if I&#8217;m the only person online then i should get 100% of the bandwidth.<br />
I used to run a 400 user network with faaaaaaaar less bandwidth than you guys now have and one of the things that i noticed is that bandwidth usage decreased a hell of a lot after setting up a Dc++ hub ;). Everyone was sharing the movies they downloaded and this meant a lot. Apart from that they would copy the movies at lan speeds and of course that this is preferable to downloading from p2p. I mean it&#8217;s still p2p but it&#8217;s local. Of course people still downloaded using eMule/torrentz but the amount of downloaded data was far less and once a movie &#8220;entered&#8221; the network it was &#8220;reused&#8221;</p>
<p>Also I implemented a transparent squid proxy server that had a dedicated 4.3 gig scsi hard drive for caching. By increasing the default 4k limit for caching objects (ie. allowing it to cache bigger objects)  i managed to &#8220;save&#8221; between 700mb and 1 gig of bandwidth per day (24 hour period), not to mention the &#8220;instant&#8221; loading speeds. Furthermore, it was configured in such a way that it would block *banner* *ads* etc etc etc and the people loved to read their yahoo mail without annoying ads. You have to realize that i&#8217;m talking about 2000~2002 when things like ad block plus were not in existence. </p>
<p>The traffic shaping on the routers was done using htb, or more accurately htb-tools. <a href="http://htb-tools.skydevel.ro/e107_plugins/content/content.php?content.9" rel="nofollow">http://htb-tools.skydevel.ro/e107_plugins/content/content.php?content.9</a></p>
<p>Ip allocation was still dhcp but the ip&#8217;s were fixed to the mac addresses. We also had a network access system (to be able to restrict access to those who did not pay) etc etc. </p>
<p>those were fun days.</p>
<p>hope this helps</p>
<p>i might have left some things out. if i remember anything i&#8217;ll post again</p>
<p>regards</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mads Lindstrøm</title>
		<link>http://www.bugfree.dk/blog/2008/04/12/user-space-traffic-shaping-with-ruby/comment-page-1/#comment-5475</link>
		<dc:creator>Mads Lindstrøm</dc:creator>
		<pubDate>Sun, 13 Apr 2008 13:15:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.bugfree.dk/blog/2008/04/12/user-space-traffic-shaping-with-ruby/#comment-5475</guid>
		<description>As a former resident, in one of the 330 mentioned apartments, I can testify to the fact that the network ran a lot better after the custom traffic shaper was implemented. A shared network can purchase more and more outbound bandwidth, but people will just start (mis)-using it for huge amounts of p2p traffic. It seems like no amount of bandwidth is enough.

I think that a small (below 20) shared Internet connections can work by encouraging users to behave properly, but not a 330 person shared connection. With this many people, there will always be somebody that just cannot see the big picture and follow some simple rules. Here a solution, like the one describe, is the only thing that will work.

But I am also a bit curious about performance of the Ruby traffic shaper. How much CPU/memory/harddisk IO do the system use?</description>
		<content:encoded><![CDATA[<p>As a former resident, in one of the 330 mentioned apartments, I can testify to the fact that the network ran a lot better after the custom traffic shaper was implemented. A shared network can purchase more and more outbound bandwidth, but people will just start (mis)-using it for huge amounts of p2p traffic. It seems like no amount of bandwidth is enough.</p>
<p>I think that a small (below 20) shared Internet connections can work by encouraging users to behave properly, but not a 330 person shared connection. With this many people, there will always be somebody that just cannot see the big picture and follow some simple rules. Here a solution, like the one describe, is the only thing that will work.</p>
<p>But I am also a bit curious about performance of the Ruby traffic shaper. How much CPU/memory/harddisk IO do the system use?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

