LARTC
[Top] [All Lists]

[LARTC] Patch accurate packet scheduling for ATM/ADSL

To: lartc@mailman.ds9a.nl
Subject: [LARTC] Patch accurate packet scheduling for ATM/ADSL
From: "Edouard Thuleau" <thuleau@gmail.com>
Date: Wed, 25 Jul 2007 15:14:31 +0200
Delivered-to: sp-com-lists@consult.net
Delivered-to: lartc-list@securepoint.com
Delivered-to: lartc@outpost.ds9a.nl
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=UVDyadweELY+lhFcAB3sn99B+douziqf5EsAUHhExGXAyRllJJA7D2LuG9L6GL3BjrPUJ5QKpHHpg829dT6qd52R7AlEAZeWTmnGKhkdjdvIod8hKlu5+fBIQGcLKJddyG3+SbjpjZFa4yQniss4o7hgFksS5V0hpoEeSEeQDKQ=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=Rd3MWxHoXz3hNELlCowtLvMrMYhDtROKpmV60pYj/njmpZl+BS6Dj+5mjnI0X8NVdGVnyeYzTKDt86Mz7RXcVRlti7x+27HunfFPpPMLO4tIRYiPcawZ7tx3Ll1BrnEfxFKHuvWby7MnYp9rHgS04ID8S1apwKGC0S5FpZ/4VNU=
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>
Sender: lartc-bounces@mailman.ds9a.nl
Hi,

I use the patch
(http://ace-host.stuart.id.au/russell/files/tc/tc-atm/) for accurate
the packet scheduling on ATM/ADSL link and i think I've found a bug.
I tried to write to the author but he didn't answer me.

I work on a Linux 2.6.17 with the iproute2-2.6.18-061002 package.
I change the type of the cell_align char to short of the struct
tc_ratespec in the file pkt_sched.h (in the include/linux/ directories
of iproute package and the kernel source) :

struct tc_ratespec
{
        unsigned char   cell_log;
        unsigned char   __reserved;
        unsigned short  feature;        /* Always 0 in pre-atm patch kernels */
-       char            cell_align;     /* Always 0 in pre-atm patch kernels */
-       unsigned char   __unused;
+     short             cell_align;     /* Always 0 in pre-atm patch kernels */
        unsigned short  mpu;
        __u32           rate;
};

The results are much better and with my tests, it works very nicely.

If it can help someone,
Edouard.
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

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