Skip to contentSkip to conversation

has anyone tried adsl-optmizer kernel patches for dsl

LARTC sophana 3 participants 4 messages Nov 7, 2005 – Nov 24, 2005

lore
Share & tools
lore

sophana

author
#0 lore raw

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
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

#1 lore raw
Quoted 11 lines · sophana

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
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

#2 lore raw
In reply to sophana
Quoted 14 lines · Andy Furniss
Quoted 5 lines · sophana

Hi

I'm using wondershaper like script. But noticed imperfect scheduling.

Quoted 7 lines

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.

Quoted 8 lines

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?

Quoted 3 lines

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
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

#3 lore raw
In reply to sophana
Quoted 22 lines · Markus Schulz
Quoted 20 lines · Andy Furniss
Quoted 5 lines · sophana

Hi

I'm using wondershaper like script. But noticed imperfect scheduling.

Quoted 7 lines

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.

Quoted 6 lines
Quoted 3 lines

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.

Quoted 10 lines
Quoted 5 lines

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
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc