<?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: Ingress Policing with Linux and tc</title>
	<atom:link href="http://blog.stevedoria.net/20050906/ingress-policing-with-linux-and-tc/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.stevedoria.net/20050906/ingress-policing-with-linux-and-tc</link>
	<description>Real-World Computing Experience Distilled</description>
	<lastBuildDate>Mon, 30 Jan 2012 20:04:31 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: z</title>
		<link>http://blog.stevedoria.net/20050906/ingress-policing-with-linux-and-tc/comment-page-1#comment-7722</link>
		<dc:creator>z</dc:creator>
		<pubDate>Sat, 17 Apr 2010 02:07:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stevedoria.net/?p=19#comment-7722</guid>
		<description>Thanks. works for me too</description>
		<content:encoded><![CDATA[<p>Thanks. works for me too</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Francois</title>
		<link>http://blog.stevedoria.net/20050906/ingress-policing-with-linux-and-tc/comment-page-1#comment-7712</link>
		<dc:creator>Francois</dc:creator>
		<pubDate>Fri, 19 Mar 2010 05:33:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stevedoria.net/?p=19#comment-7712</guid>
		<description>I know this blog is old but it helped me out so I just wanted to add a little to it.

I found that setting the bust to 10% of the rate works for me. So for example to have it limit incoming traffic to 4mbit, I set the bust to 0.4mbit:

tc filter add dev bond0 parent ffff: protocol ip prio 50 \
    u32 match ip src 0.0.0.0/0 police rate 4mbit \
    burst .4m drop flowid :1

Thanks for posting this!</description>
		<content:encoded><![CDATA[<p>I know this blog is old but it helped me out so I just wanted to add a little to it.</p>
<p>I found that setting the bust to 10% of the rate works for me. So for example to have it limit incoming traffic to 4mbit, I set the bust to 0.4mbit:</p>
<p>tc filter add dev bond0 parent ffff: protocol ip prio 50 \<br />
    u32 match ip src 0.0.0.0/0 police rate 4mbit \<br />
    burst .4m drop flowid :1</p>
<p>Thanks for posting this!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kohai</title>
		<link>http://blog.stevedoria.net/20050906/ingress-policing-with-linux-and-tc/comment-page-1#comment-7611</link>
		<dc:creator>Kohai</dc:creator>
		<pubDate>Mon, 03 Aug 2009 21:29:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stevedoria.net/?p=19#comment-7611</guid>
		<description>After hours of working with this thing, it turned out that I needed to increase the burst in order to get it to behave correctly.  If you find that you raise the rate but the throughput kB/s doesn&#039;t go up, then increase the burst.  I have mine at 50 and my kbit at 2000.  

I did not use the tbf line which one doc I found said it was the preferred method for doing this due to it being network friendly.  The tbf line may apply to outbound traffic and the ingress to inbound traffic.</description>
		<content:encoded><![CDATA[<p>After hours of working with this thing, it turned out that I needed to increase the burst in order to get it to behave correctly.  If you find that you raise the rate but the throughput kB/s doesn&#8217;t go up, then increase the burst.  I have mine at 50 and my kbit at 2000.  </p>
<p>I did not use the tbf line which one doc I found said it was the preferred method for doing this due to it being network friendly.  The tbf line may apply to outbound traffic and the ingress to inbound traffic.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Greg-Muellerson</title>
		<link>http://blog.stevedoria.net/20050906/ingress-policing-with-linux-and-tc/comment-page-1#comment-7608</link>
		<dc:creator>Greg-Muellerson</dc:creator>
		<pubDate>Wed, 29 Jul 2009 21:25:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stevedoria.net/?p=19#comment-7608</guid>
		<description>Damn, that sound&#039;s so easy if you think about it.</description>
		<content:encoded><![CDATA[<p>Damn, that sound&#8217;s so easy if you think about it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steen</title>
		<link>http://blog.stevedoria.net/20050906/ingress-policing-with-linux-and-tc/comment-page-1#comment-7491</link>
		<dc:creator>Steen</dc:creator>
		<pubDate>Mon, 26 Jan 2009 13:04:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stevedoria.net/?p=19#comment-7491</guid>
		<description>Save the commands in an executable script, and add a link to this script in your /etc/rc.local file</description>
		<content:encoded><![CDATA[<p>Save the commands in an executable script, and add a link to this script in your /etc/rc.local file</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: moose</title>
		<link>http://blog.stevedoria.net/20050906/ingress-policing-with-linux-and-tc/comment-page-1#comment-7387</link>
		<dc:creator>moose</dc:creator>
		<pubDate>Wed, 10 Dec 2008 23:57:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stevedoria.net/?p=19#comment-7387</guid>
		<description>Thanks for this. Just one question. How can i make these settings permanent so that they will survive a reboot?</description>
		<content:encoded><![CDATA[<p>Thanks for this. Just one question. How can i make these settings permanent so that they will survive a reboot?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shaheem</title>
		<link>http://blog.stevedoria.net/20050906/ingress-policing-with-linux-and-tc/comment-page-1#comment-7299</link>
		<dc:creator>shaheem</dc:creator>
		<pubDate>Wed, 27 Aug 2008 06:09:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stevedoria.net/?p=19#comment-7299</guid>
		<description>thanks i&#039;m gonna try this. how can i give each user an equal amount of BW. ive got some docs but the ones i tried really slow down the server. dunno if this is the norm. it is a mid to low level spec machine tho.</description>
		<content:encoded><![CDATA[<p>thanks i&#8217;m gonna try this. how can i give each user an equal amount of BW. ive got some docs but the ones i tried really slow down the server. dunno if this is the norm. it is a mid to low level spec machine tho.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lucas</title>
		<link>http://blog.stevedoria.net/20050906/ingress-policing-with-linux-and-tc/comment-page-1#comment-7295</link>
		<dc:creator>Lucas</dc:creator>
		<pubDate>Fri, 22 Aug 2008 15:02:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stevedoria.net/?p=19#comment-7295</guid>
		<description>Hi,

This don&#039;t work for me.

I want to limit incoming traffic too, but in this case, the link goes slower and slower, but don&#039;t stay at specific speed.

at filter, there is a &quot;flowid :1&quot;, but, where is this class There isn&#039;t any class called &quot;:1&quot;, right?

I did read the lartc, but it&#039;s getting confused.

If someone can help me, please send me an email.

lucasmocellin@gmail.com

Lucas.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>This don&#8217;t work for me.</p>
<p>I want to limit incoming traffic too, but in this case, the link goes slower and slower, but don&#8217;t stay at specific speed.</p>
<p>at filter, there is a &#8220;flowid :1&#8243;, but, where is this class There isn&#8217;t any class called &#8220;:1&#8243;, right?</p>
<p>I did read the lartc, but it&#8217;s getting confused.</p>
<p>If someone can help me, please send me an email.</p>
<p><a href="mailto:lucasmocellin@gmail.com">lucasmocellin@gmail.com</a></p>
<p>Lucas.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kenny</title>
		<link>http://blog.stevedoria.net/20050906/ingress-policing-with-linux-and-tc/comment-page-1#comment-7255</link>
		<dc:creator>Kenny</dc:creator>
		<pubDate>Fri, 09 May 2008 20:10:48 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stevedoria.net/?p=19#comment-7255</guid>
		<description>The idea is that you slow down the TCP ACKs to the local computer so that it can&#039;t eat up all the incoming bandwidth in the future (not for packets that have already arrived). So instead of a steady stream of packets coming at full speed, you get intervals of silence where the server is waiting for the previous packet to be acknowledged. In those intervals of silence things of higher priority can get a chance to come in.</description>
		<content:encoded><![CDATA[<p>The idea is that you slow down the TCP ACKs to the local computer so that it can&#8217;t eat up all the incoming bandwidth in the future (not for packets that have already arrived). So instead of a steady stream of packets coming at full speed, you get intervals of silence where the server is waiting for the previous packet to be acknowledged. In those intervals of silence things of higher priority can get a chance to come in.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MockSoul</title>
		<link>http://blog.stevedoria.net/20050906/ingress-policing-with-linux-and-tc/comment-page-1#comment-7191</link>
		<dc:creator>MockSoul</dc:creator>
		<pubDate>Wed, 16 Jan 2008 05:59:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stevedoria.net/?p=19#comment-7191</guid>
		<description>Albert, how you can &#039;shape&#039; packets which are already sent? There is no way to shape incoming packets.</description>
		<content:encoded><![CDATA[<p>Albert, how you can &#8216;shape&#8217; packets which are already sent? There is no way to shape incoming packets.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

