LARTC
[Top] [All Lists]

Re: [LARTC] Why did I need strange ceiling settings?

To: Philipp Leusmann <philipp.leusmann@rwth-aachen.de>
Subject: Re: [LARTC] Why did I need strange ceiling settings?
From: Andy Furniss <lists@andyfurniss.entadsl.com>
Date: Sat, 11 Nov 2006 12:17:14 +0000
Cc: lartc@mailman.ds9a.nl
Delivered-to: sp-com-lists@consult.net
Delivered-to: lartc-list@securepoint.com
Delivered-to: lartc@outpost.ds9a.nl
In-reply-to: <002001c7032c$60ce5dd0$0200a8c0@marvin>
List-archive: <http://mailman.ds9a.nl/pipermail/lartc>
List-help: <mailto:lartc-request@mailman.ds9a.nl?subject=help>
List-id: "Mailinglist of the Linux Advanced Routing &amp; Traffic Control project" <lartc.mailman.ds9a.nl>
List-post: <mailto:lartc@mailman.ds9a.nl>
List-subscribe: <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=subscribe>
List-unsubscribe: <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=unsubscribe>
References: <002001c7032c$60ce5dd0$0200a8c0@marvin>
Reply-to: lists@andyfurniss.entadsl.com
Sender: lartc-bounces@mailman.ds9a.nl
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.7.13) Gecko/20060417
Philipp Leusmann wrote:
Hi all,

I recently installed traffic shaping on my ADSL line with a nominal upload
rate of 1MBit. My Modem says it has an upload bitrate of 843 kbits.
So I thought, to use a ceiling of 800kbit for the root qdisc is a good idea.
But with that setting I only achieved upload rates of around 300kbits
whereas I reached around 650 kbits without traffic shaping.
Yesterday I played a little with the ceiling value and found that increasing
it to 175kBps did the job.
Could anybody please explain this strange behaviour?
My shaping script looks as follows:

I see nothing :-)

DSL usually uses atm and the showtime rate of your modem is at this level. (FWIW 843kbit is not a valid DSL rate (multiple of 32kbit).

You can patch (may be mainline eventually) kernel/tc to do atm rates in which case you can set egress rate close to showtime rate. Without this 80% or less will be needed (depends on traffic packet size).

As for other wierdness - could be that htb/hfsc sometimes choose lame defaults (3/1 IIRC) for queue length on interfaces with low/0 default Q len - ppp/vlan/br etc. So add some qdiscs to leaf classes so you can choose your own lengths.

Andy.
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

<Prev in Thread] Current Thread [Next in Thread>