Re: [LARTC] Patch to allow for the ATM cell tax

2006-12-06 Thread Taylor, Grant
Russell Stuart wrote: The following patch to tc allows it to perform an exact ATM / ADSL rate calculation. It adds one extra keyword to the tc class add htb ... command line: atm. There isn't a lot of spare bits hanging around to record this, so the patch adds the feature at the expense of

Re: [LARTC] Patch to allow for the ATM cell tax

2006-03-14 Thread Andy Furniss
Russell Stuart wrote: On Mon, 2006-03-13 at 13:09 -0500, Jason Boxman wrote: I finally patched my 2.6.15.5 kernel last night and use Stuart's userspace `tc` patch and I'm up and running. So far, things are working extremely well and exceeding my expectations. I only wish I actually knew my

Re: [LARTC] Patch to allow for the ATM cell tax

2006-03-14 Thread Andy Furniss
Jason Boxman wrote: Jesper Dangaard Brouer said: snip I just held a technical talk about the ADSL-optimizer (4/3-2006) at linuxforum.dk. Where I promised the audience that I would try to get the patches to the kernel and TC into the main line. It seem work on this front is already in

Re: [LARTC] Patch to allow for the ATM cell tax

2006-03-14 Thread Russell Stuart
On Tue, 2006-03-14 at 13:14 +, Andy Furniss wrote: I would say 2 + 8 = 10 for pppoa/vc mux Dam, yes - brain explosion. I have no idea why I wrote 4 for the AAL5 overhead. It is 8. So Jason, the tables should in the next email of been: The complete table, for the _outbound_ direction

Re: [LARTC] Patch to allow for the ATM cell tax

2006-03-14 Thread Andy Furniss
Russell Stuart wrote: On Tue, 2006-03-14 at 13:14 +, Andy Furniss wrote: I would say 2 + 8 = 10 for pppoa/vc mux Dam, yes - brain explosion. I have no idea why I wrote 4 for the AAL5 overhead. It is 8. So Jason, the tables should in the next email of been: The complete table, for

Re: [LARTC] Patch to allow for the ATM cell tax

2006-03-13 Thread Jason Boxman
Jesper Dangaard Brouer said: snip I just held a technical talk about the ADSL-optimizer (4/3-2006) at linuxforum.dk. Where I promised the audience that I would try to get the patches to the kernel and TC into the main line. It seem work on this front is already in progress, Cool! :-) I

Re: [LARTC] Patch to allow for the ATM cell tax

2006-03-13 Thread Russell Stuart
On Mon, 2006-03-13 at 13:09 -0500, Jason Boxman wrote: I finally patched my 2.6.15.5 kernel last night and use Stuart's userspace `tc` patch and I'm up and running. So far, things are working extremely well and exceeding my expectations. I only wish I actually knew my PPPoATM overhead, but

Re: [LARTC] Patch to allow for the ATM cell tax

2006-03-13 Thread Jason Boxman
On Monday 13 March 2006 19:34, Russell Stuart wrote: snip My calculations in that email were wrong for PPPoA - as someone else pointed out. This is how I calculated it for PPPoA: PPP overhead =2 ATM AAL5 SAR overhead =4 -

Re: [LARTC] Patch to allow for the ATM cell tax

2006-03-13 Thread Adam James
On Tue, 14 Mar 2006 11:26:12 +1000 Russell Stuart [EMAIL PROTECTED] wrote: The complete table, for the _outbound_ direction going over an Ethernet link is: PPPoA + VC/Mux: tc class add htb … overhead -8 atm PPPoA + VC/LLC: tc class add htb … overhead 4 atm PPPoE + VC/Mux: tc class

Re: [LARTC] Patch to allow for the ATM cell tax

2006-03-06 Thread Jesper Dangaard Brouer
On Fri, 3 Mar 2006, Russell Stuart wrote: On Thu, 2006-03-02 at 14:23 -0800, Stephen Hemminger wrote: I will put it in iproute2 commands when a definitive set of patches is sent to me. So far, it still looks like it needs some fine tuning. Yes, they need some fine tuning. My ultimate goal

Re: [LARTC] Patch to allow for the ATM cell tax

2006-03-05 Thread Andy Furniss
[EMAIL PROTECTED] wrote: On netBSD setting the MTU also seems to set the MRU, is this the case here to? should people have thier DSLAMs configured for the same MTU? It doesn't set MRU - you can still receive a larger than MTU packet. I guess what you mean is MSS, if so yes Linux and Windows

Re: [LARTC] Patch to allow for the ATM cell tax

2006-03-03 Thread Andreas Hasenack
On Thu, Mar 02, 2006 at 07:27:13PM -0500, Jason Boxman wrote: Any chance something like this can be applied to q_tbf? It's been classful for a while and I find a tbf with a prio under it works quite well for my tbf qdisc is classfull? ___ LARTC

Re: [LARTC] Patch to allow for the ATM cell tax

2006-03-03 Thread Jason Boxman
On Friday 03 March 2006 08:43, Andreas Hasenack wrote: On Thu, Mar 02, 2006 at 07:27:13PM -0500, Jason Boxman wrote: Any chance something like this can be applied to q_tbf? It's been classful for a while and I find a tbf with a prio under it works quite well for my tbf qdisc is

Re: [LARTC] Patch to allow for the ATM cell tax

2006-03-03 Thread Andreas Hasenack
On Fri, Mar 03, 2006 at 11:18:00AM -0500, Jason Boxman wrote: On Friday 03 March 2006 08:43, Andreas Hasenack wrote: On Thu, Mar 02, 2006 at 07:27:13PM -0500, Jason Boxman wrote: Any chance something like this can be applied to q_tbf? It's been classful for a while and I find a tbf with

Re: [LARTC] Patch to allow for the ATM cell tax

2006-03-03 Thread Jason Boxman
Andreas Hasenack said: On Fri, Mar 03, 2006 at 11:18:00AM -0500, Jason Boxman wrote: On Friday 03 March 2006 08:43, Andreas Hasenack wrote: On Thu, Mar 02, 2006 at 07:27:13PM -0500, Jason Boxman wrote: Any chance something like this can be applied to q_tbf? It's been classful for a while

Re: [LARTC] Patch to allow for the ATM cell tax

2006-03-03 Thread Andreas Hasenack
On Fri, Mar 03, 2006 at 01:45:31PM -0500, Jason Boxman wrote: Andreas Hasenack said: On Fri, Mar 03, 2006 at 11:18:00AM -0500, Jason Boxman wrote: On Friday 03 March 2006 08:43, Andreas Hasenack wrote: On Thu, Mar 02, 2006 at 07:27:13PM -0500, Jason Boxman wrote: Any chance something

Re: [LARTC] Patch to allow for the ATM cell tax

2006-03-02 Thread Markus Schulz
Am Donnerstag, 2. März 2006 08:30 schrieb Russell Stuart: I have been trying to optimise my ADSL connections for VOIP. Funny things were happening - for example increasing the ping packet size by 50% had no effect, but then adding one byte had a major effect. It took me a while to figure out

Re: [LARTC] Patch to allow for the ATM cell tax

2006-03-02 Thread Andy Furniss
Russell Stuart wrote: The following patch to tc allows it to perform an exact ATM / ADSL rate calculation. I probably haven't read the patch properly - but I don't think you can do it exactly without patching net/sched/sched_htb.c aswell. Specifically you need to add overhead - 1 before htb

Re: [LARTC] Patch to allow for the ATM cell tax

2006-03-02 Thread Adam James
Hi, On Thu, 2006-03-02 at 15:49 +, Andy Furniss wrote: Russell Stuart wrote: The following patch to tc allows it to perform an exact ATM / ADSL rate calculation. I probably haven't read the patch properly - but I don't think you can do it exactly without patching

Re: [LARTC] Patch to allow for the ATM cell tax

2006-03-02 Thread Andy Furniss
Adam James wrote: As Markus mentioned in another post on this thread, Jesper Dangaard Brouer (http://www.adsl-optimizer.dk) has already written an iproute2 and Linux kernel patch that implements the above. ATM cell alignment is done in tc_core.c, and the per packet overhead is passed to the

Re: [LARTC] Patch to allow for the ATM cell tax

2006-03-02 Thread Russell Stuart
On Thu, 2006-03-02 at 14:51 +0100, Markus Schulz wrote: Why you don't use the existing overhead parameter? It's useless to have two parameters which do the exact same thing (existing overhead and your atm). Only ATM Cell alignment must be added to rate table calculation. The overhead and

Re: [LARTC] Patch to allow for the ATM cell tax

2006-03-02 Thread Stephen Hemminger
On Fri, 03 Mar 2006 08:18:52 +1000 Russell Stuart [EMAIL PROTECTED] wrote: On Thu, 2006-03-02 at 14:51 +0100, Markus Schulz wrote: Why you don't use the existing overhead parameter? It's useless to have two parameters which do the exact same thing (existing overhead and your atm).

Re: [LARTC] Patch to allow for the ATM cell tax

2006-03-02 Thread Jason Boxman
Stephen Hemminger said: On Fri, 03 Mar 2006 08:18:52 +1000 Russell Stuart [EMAIL PROTECTED] wrote: On Thu, 2006-03-02 at 14:51 +0100, Markus Schulz wrote: Why you don't use the existing overhead parameter? It's useless to have two parameters which do the exact same thing (existing

Re: [LARTC] Patch to allow for the ATM cell tax

2006-03-02 Thread Russell Stuart
On Thu, 2006-03-02 at 14:23 -0800, Stephen Hemminger wrote: I will put it in iproute2 commands when a definitive set of patches is sent to me. So far, it still looks like it needs some fine tuning. Yes, they need some fine tuning. My ultimate goal here is to get something into the main line

Re: [LARTC] Patch to allow for the ATM cell tax

2006-03-02 Thread Jason Boxman
On Thursday 02 March 2006 02:30, Russell Stuart wrote: I have been trying to optimise my ADSL connections for VOIP. Funny things were happening - for example increasing the ping packet size by 50% had no effect, but then adding one byte had a major effect. It took me a while to figure out

Re: [LARTC] Patch to allow for the ATM cell tax

2006-03-02 Thread Russell Stuart
On Thu, 2006-03-02 at 19:27 -0500, Jason Boxman wrote: Any chance something like this can be applied to q_tbf? It's been classful for a while and I find a tbf with a prio under it works quite well for my configuration. Jesper's patch indicates untested support for other schedulers

Re: [LARTC] Patch to allow for the ATM cell tax

2006-03-02 Thread Markus Schulz
Am Donnerstag, 2. März 2006 20:54 schrieb Adam James: Hi, On Thu, 2006-03-02 at 15:49 +, Andy Furniss wrote: Russell Stuart wrote: The following patch to tc allows it to perform an exact ATM / ADSL rate calculation. I probably haven't read the patch properly - but I don't think

Re: [LARTC] Patch to allow for the ATM cell tax

2006-03-02 Thread Markus Schulz
Am Donnerstag, 2. März 2006 23:18 schrieb Russell Stuart: On Thu, 2006-03-02 at 14:51 +0100, Markus Schulz wrote: Why you don't use the existing overhead parameter? It's useless to have two parameters which do the exact same thing (existing overhead and your atm). Only ATM Cell

Re: [LARTC] Patch to allow for the ATM cell tax

2006-03-02 Thread Russell Stuart
On Fri, 2006-03-03 at 02:23 +0100, Markus Schulz wrote: The second rate table is 100% equivalent to realtime calc. But the static version differs for some ip-length values from it. And i don't understand why. Perhaps someone can point me to the difference? The program is only for testing

Re: [LARTC] Patch to allow for the ATM cell tax

2006-03-02 Thread Markus Schulz
Am Freitag, 3. März 2006 02:54 schrieb Russell Stuart: On Fri, 2006-03-03 at 02:23 +0100, Markus Schulz wrote: The second rate table is 100% equivalent to realtime calc. But the static version differs for some ip-length values from it. And i don't understand why. Perhaps someone can point

Re: [LARTC] Patch to allow for the ATM cell tax

2006-03-02 Thread gentoo
On netBSD setting the MTU also seems to set the MRU, is this the case here to? should people have thier DSLAMs configured for the same MTU? Just remember to take 14 from your overhead if your modem is connected via eth rather than ppp etc. This means you need to put a negative overhead (can

[LARTC] Patch to allow for the ATM cell tax

2006-03-01 Thread Russell Stuart
I have been trying to optimise my ADSL connections for VOIP. Funny things were happening - for example increasing the ping packet size by 50% had no effect, but then adding one byte had a major effect. It took me a while to figure out that I was seeing the effects of the fixed ATM cell size.