All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] has anyone tried adsl-optmizer kernel patches for dsl
@ 2005-11-07  0:31 sophana
  2005-11-16 15:03 ` Andy Furniss
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: sophana @ 2005-11-07  0:31 UTC (permalink / raw)
  To: lartc

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.

Thanks

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [LARTC] has anyone tried adsl-optmizer kernel patches for dsl
  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
  2 siblings, 0 replies; 4+ messages in thread
From: Andy Furniss @ 2005-11-16 15:03 UTC (permalink / raw)
  To: lartc

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.

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.

Andy.

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [LARTC] has anyone tried adsl-optmizer kernel patches for dsl
  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
  2 siblings, 0 replies; 4+ messages in thread
From: Markus Schulz @ 2005-11-22 10:04 UTC (permalink / raw)
  To: lartc

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?

> 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.

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [LARTC] has anyone tried adsl-optmizer kernel patches for dsl
  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
  2 siblings, 0 replies; 4+ messages in thread
From: Andy Furniss @ 2005-11-24 14:59 UTC (permalink / raw)
  To: lartc

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-11-24 14:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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.