<?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: Traffic Shaping with cbq</title>
	<atom:link href="http://blog.nielshorn.net/2008/09/traffic-shaping-with-cbq/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.nielshorn.net/2008/09/traffic-shaping-with-cbq/</link>
	<description>Random thoughts, tips &#38; tricks about Slackware-Linux, Lego and Star Wars</description>
	<lastBuildDate>Tue, 10 Jan 2012 12:10:37 -0200</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Niels Horn</title>
		<link>http://blog.nielshorn.net/2008/09/traffic-shaping-with-cbq/comment-page-1/#comment-279</link>
		<dc:creator>Niels Horn</dc:creator>
		<pubDate>Mon, 12 Apr 2010 23:08:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.nielshorn.net/blog/?p=6#comment-279</guid>
		<description>@Stanley: Thanks for the help! Which version of cbq are you using? Mine is 0.7.3</description>
		<content:encoded><![CDATA[<p>@Stanley: Thanks for the help! Which version of cbq are you using? Mine is 0.7.3</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stanley</title>
		<link>http://blog.nielshorn.net/2008/09/traffic-shaping-with-cbq/comment-page-1/#comment-278</link>
		<dc:creator>Stanley</dc:creator>
		<pubDate>Mon, 12 Apr 2010 17:11:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.nielshorn.net/blog/?p=6#comment-278</guid>
		<description>this warning is an error in cbq script.

find: warning: you have specified the -maxdepth option after a non-option argument (, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments.

find: warning: you have specified the -maxdepth option after a non-option argument (, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments.

open your /sbin/cbq ,and vi the file, modify it and looks like below:

577 ### Get a list of configured classes
578 CLASSLIST=`find $1 -maxdepth 1 \( -type f -or -type l\ ) -name &#039;cbq-*&#039; \
579 -not -name &#039;*~&#039; -printf &quot;%f\n&quot;&#124; sort`
580 [ -z &quot;$CLASSLIST&quot; ] &amp;&amp;
581 cbq_failure &quot;no configuration files found in $1!&quot;
582
583 ### Gather all DEVICE fields from $1/cbq-*
584 DEVFIELDS=`find $1 -maxdepth 1 \( -type f -or -type l \) -name &#039;cbq-*&#039; \
585 -not -name &#039;*~&#039;&#124; xargs sed -n &#039;s/#.*//; 
586 s/[[:space:]]//g; /^DEVICE=[^,]*,[^,]*(,[^,]*)?/ \
587 { s/.*=//; p; }&#039;&#124; sort -u`</description>
		<content:encoded><![CDATA[<p>this warning is an error in cbq script.</p>
<p>find: warning: you have specified the -maxdepth option after a non-option argument (, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments.</p>
<p>find: warning: you have specified the -maxdepth option after a non-option argument (, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments.</p>
<p>open your /sbin/cbq ,and vi the file, modify it and looks like below:</p>
<p>577 ### Get a list of configured classes<br />
578 CLASSLIST=`find $1 -maxdepth 1 \( -type f -or -type l\ ) -name &#8216;cbq-*&#8217; \<br />
579 -not -name &#8216;*~&#8217; -printf &#8220;%f\n&#8221;| sort`<br />
580 [ -z "$CLASSLIST" ] &amp;&amp;<br />
581 cbq_failure &#8220;no configuration files found in $1!&#8221;<br />
582<br />
583 ### Gather all DEVICE fields from $1/cbq-*<br />
584 DEVFIELDS=`find $1 -maxdepth 1 \( -type f -or -type l \) -name &#8216;cbq-*&#8217; \<br />
585 -not -name &#8216;*~&#8217;| xargs sed -n &#8217;s/#.*//;<br />
586 s/[[:space:]]//g; /^DEVICE=[^,]*,[^,]*(,[^,]*)?/ \<br />
587 { s/.*=//; p; }&#8217;| sort -u`</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Niels Horn</title>
		<link>http://blog.nielshorn.net/2008/09/traffic-shaping-with-cbq/comment-page-1/#comment-194</link>
		<dc:creator>Niels Horn</dc:creator>
		<pubDate>Mon, 08 Mar 2010 18:41:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.nielshorn.net/blog/?p=6#comment-194</guid>
		<description>Hi,

Thanks for your positive comment!
I have not used Suse for several years, so I don&#039;t know if things are very different.
Did you get the cbq script from the iproute documentation just like my example in the post?
It might be a conflict between versions...</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Thanks for your positive comment!<br />
I have not used Suse for several years, so I don&#8217;t know if things are very different.<br />
Did you get the cbq script from the iproute documentation just like my example in the post?<br />
It might be a conflict between versions&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dmitry</title>
		<link>http://blog.nielshorn.net/2008/09/traffic-shaping-with-cbq/comment-page-1/#comment-193</link>
		<dc:creator>Dmitry</dc:creator>
		<pubDate>Mon, 08 Mar 2010 15:59:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.nielshorn.net/blog/?p=6#comment-193</guid>
		<description>Hi,
very good and interesting article, thank you. I tried to do similar on SUSE 11.0, BUT I have neither of which did not work. Once enter the command cbq compile I get an error:

&quot;#:/etc/sysconfig/cbq # cbq compile
find: warning: you have specified the -maxdepth option after a non-option argument (, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it).  Please specify options before other arguments.

find: warning: you have specified the -maxdepth option after a non-option argument (, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it).  Please specify options before other arguments.

/usr/sbin/tc qdisc del dev eth1 root
/usr/sbin/tc qdisc add dev eth1 root handle 1 cbq bandwidth 100Mbit avpkt 3000 cell 8
/usr/sbin/tc class change dev eth1 root cbq weight 10Mbit allot 1514

/usr/sbin/tc class add dev eth1 parent 1: classid 1:2 cbq bandwidth 100Mbit rate 5Kbit weight 1Kbit prio 5 allot 1514 cell 8 maxburst 20 avpkt 3000 bounded
/usr/sbin/tc qdisc add dev eth1 parent 1:2 handle 2 tbf rate 5Kbit buffer 10Kb/8 limit 15Kb mtu 1500
/usr/sbin/tc filter add dev eth1 parent 1:0 protocol ip prio 100 u32 match ip dst 0.0.0.0 classid 1:2
&quot;</description>
		<content:encoded><![CDATA[<p>Hi,<br />
very good and interesting article, thank you. I tried to do similar on SUSE 11.0, BUT I have neither of which did not work. Once enter the command cbq compile I get an error:</p>
<p>&#8220;#:/etc/sysconfig/cbq # cbq compile<br />
find: warning: you have specified the -maxdepth option after a non-option argument (, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it).  Please specify options before other arguments.</p>
<p>find: warning: you have specified the -maxdepth option after a non-option argument (, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it).  Please specify options before other arguments.</p>
<p>/usr/sbin/tc qdisc del dev eth1 root<br />
/usr/sbin/tc qdisc add dev eth1 root handle 1 cbq bandwidth 100Mbit avpkt 3000 cell 8<br />
/usr/sbin/tc class change dev eth1 root cbq weight 10Mbit allot 1514</p>
<p>/usr/sbin/tc class add dev eth1 parent 1: classid 1:2 cbq bandwidth 100Mbit rate 5Kbit weight 1Kbit prio 5 allot 1514 cell 8 maxburst 20 avpkt 3000 bounded<br />
/usr/sbin/tc qdisc add dev eth1 parent 1:2 handle 2 tbf rate 5Kbit buffer 10Kb/8 limit 15Kb mtu 1500<br />
/usr/sbin/tc filter add dev eth1 parent 1:0 protocol ip prio 100 u32 match ip dst 0.0.0.0 classid 1:2<br />
&#8220;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

