From: Andy Furniss <andy.furniss@dsl.pipex.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] has anyone tried adsl-optmizer kernel patches for dsl
Date: Thu, 24 Nov 2005 14:59:10 +0000 [thread overview]
Message-ID: <4385D53E.9010702@dsl.pipex.com> (raw)
In-Reply-To: <436EA076.7040102@yahoo.fr>
Markus Schulz wrote:
> On Wednesday 16 November 2005 16:03, Andy Furniss wrote:
>
>>sophana wrote:
>>
>>>Hi
>>>
>>>I'm using wondershaper like script. But noticed imperfect
>>>scheduling.
>>>
>>>By googling, I found some patches that takes the aal5 atm overhead
>>>in the scheduling algorithms.
>>>http://www.adsl-optimizer.dk/ADSL-optimizer/
>>>
>>>Before trying it, has anyone tried these patches? they apply on
>>>2.4.29 kernel and 2.6.9 TC. I use centos4 with a 2.6 kernel, so I
>>>can't try these easily.
>>
>>They should be OK as long as you are sure about your overheads.
>>
>>I use something similar and use ceil 286kbit while synced at 288kbit
>>without problems.
>>
>>If your modem is connected by eth rather than ppp then htb/whatever
>>will see the packet size as ip len + 14 - so you need to account for
>>that.
>
>
> can you explain this a bit more please?
It's because htb uses skb->len for packet size and if you shape on an
eth interface this is ip length + 14, but it's just ip length if you
shape on ppp/vlan etc.
You can see this by looking at htb counters and sending fixed size packets.
>
>
>>I think that produces a corner case (overhead < 14) where you would
>>need to put in a negative number - I don't think that will work, but
>>haven't tried.
>
>
> should be easy to patch in. Overhead is only a simple variable which
> will be added in htb/* module for each paket. Only sign/unsign problem
> should be considered.
Yep - you just need to be aware of it and I can't recall it being
mentioned in the thesis - I have only tested on 2.6 kernels.
Andy.
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
prev parent reply other threads:[~2005-11-24 14:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-07 0:31 [LARTC] has anyone tried adsl-optmizer kernel patches for dsl sophana
2005-11-16 15:03 ` Andy Furniss
2005-11-22 10:04 ` Markus Schulz
2005-11-24 14:59 ` Andy Furniss [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4385D53E.9010702@dsl.pipex.com \
--to=andy.furniss@dsl.pipex.com \
--cc=lartc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.