From: Andy Furniss Date: Mon, 13 Nov 2006 23:49:33 +0000 Subject: Re: AW: [LARTC] Why did I need strange ceiling settings? (full Message-Id: <4559048D.7080704@andyfurniss.entadsl.com> List-Id: References: <002001c7032c$60ce5dd0$0200a8c0@marvin> In-Reply-To: <002001c7032c$60ce5dd0$0200a8c0@marvin> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org Philipp Leusmann wrote: >=20 >>-----Urspr=FCngliche Nachricht----- >>Von: lartc-bounces@mailman.ds9a.nl [mailto:lartc-bounces@mailman.ds9a.nl] >>Im Auftrag von Andy Furniss >>Gesendet: Sonntag, 12. November 2006 21:51 >>An: Philipp Leusmann >>Cc: lartc@mailman.ds9a.nl >>Betreff: Re: [LARTC] Why did I need strange ceiling settings? (full >>version) >> >>Philipp Leusmann wrote: >> >>You will need to back off from the rates more and use kbit of course. >> >> >>>tc qdisc add dev $IFACE root handle 1:0 htb default 103 >> >>default is bad if $IFACE is eth your arp will go here, also if eth >>Quantum should be set to ip mtu + 14. >=20 >=20 > $IFACE is ppp0. Does this make difference? Yes - using htb default is safe on ppp and quantum doesn't need 14=20 adding. One caveat, if you get ppp MTU by script what if mtu on ppp is=20 really big - my old ISP used to ask (during ppp negotiation) for mru of=20 about 32k (aal5 mtu), which meant that mtu on the ppp was set to 32k. > And you would recommend to use no backup at all? Had it been eth then you could have made a catch all ip filter with=20 lower prio to get anything else. You could also have made a filter for=20 arp/other non ip - but if non ip trafic levels are low I would just let=20 them through unshaped, which is what htb does if you don't specify a=20 default class / use default 0. (hfsc is the opposite - unclassified gets=20 dropped by default). Try setting uprate ceil to 600kbit and make sure the sum of rates=20 doesn't exceed it. Upload for a few minutes and while still uploading do - tc -s -d class ls dev ppp0 and post the output. Andy. post the output _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc