[LARTC] TCNG on kernel 2.6.x?

2004-05-25 Thread John B Dunning/NS/WSC

Heya all,

Has anyone ported tcng to kernel 2.6.x
yet? I tried to compile and it was fairly specific in terms of what
kernels it would and would not work with. Not being much of a kernel
hacker I didn't trust disabling the checks *grins*.

John D.

Re: [LARTC] how to borrow bandwith

2004-05-25 Thread Stef Coene
On Tuesday 25 May 2004 03:43, swcims wrote:
 Hi,All
   I am using iproute2 to manage bandwith for ADSL router.High,medium,low
 priority are needed for different protocol port on the ADSL's upstream
 side,as following: LAN --- |ADSL Router|--WAN
When there aren't traffic on the specific priority, its bandwidth should
 be borrowed by other priorities.But it doesn't work.Here is my script:

   /usr/sbin/tc qdisc del dev nas0 root
   /usr/sbin/tc qdisc del dev br0 root
   /usr/sbin/tc qdisc add dev nas0 root handle 1:0 cbq bandwidth 1024kbit
 avpkt 1000 cell 8 /usr/sbin/tc class add dev nas0 parent 1:0 classid 1:1
 cbq bandwidth 1024kbit rate 1024kbit weight 1024kbit prio 0 allot 1514 cell
 8 maxburst 20 avpkt 1000 isolated bounded /usr/sbin/tc class add dev nas0
 parent 1:1 classid 1:2 cbq bandwidth 1024kbit rate 611kbit weight 611kbit
 prio 1 allot 1514 cell 8 maxburst 20 avpkt 1000 /usr/sbin/tc class add dev
 nas0 parent 1:1 classid 1:3 cbq bandwidth 1024kbit rate 305kbit weight
 305kbit prio 3 allot 1514 cell 8 maxburst 20 avpkt 1000 /usr/sbin/tc class
 add dev nas0 parent 1:1 classid 1:4 cbq bandwidth 1024kbit rate 103kbit
 weight 103kbit prio 5 allot 1514 cell 8 maxburst 20 avpkt 1000 /usr/sbin/tc
 class add dev nas0 parent 1:1 classid 1:5 cbq bandwidth 1024kbit rate 5kbit
 weight 5kbit prio 8 allot 1514 cell 8 maxburst 20 avpkt 1000

   class 1:1 is root class;class 1:2 is for high priority;class 1:3 is for 
 medium priority,class 1:4 is for low priority,class 1:5 is for other
 traffic.When I use bounded in subclass 1:2,1:3,1:4,1:5,each rate can be
 assured in each class,but can't borrow.When I use isolated in every
 subclass,the result isn't expected. How should I do for when no traffic on
 the specific priority,its bandwidth can be borrowed by other traffic?
 Thank you very much!
I really recommend reading my docs on www.docum.org.

Stef

-- 
[EMAIL PROTECTED]
Using Linux as bandwidth manager
  http://www.docum.org/
___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


[LARTC] mrtg.cfg QoS

2004-05-25 Thread ThE LinuX_KiD
Hi, Steff.

Next file are not found on your website: 

http://www.docum.org/stef.coene/qos/tc-snmp//example/html/mrtg.cfg

can you post it ?

Thank you !

Andres
___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


RE: [LARTC] monitoring classes

2004-05-25 Thread ThE LinuX_KiD

Hi,

- There is a patch for snmp so you can get tc stats with snmp.  I 
- created some 
- scrpits to graph this information with rrd.  See docum.org.

I've patched net-snmpd with patch that I see on docum.org:

http://x-ray.prokon.cz/data/snmp/


# ./configure --with-perl-modules --with-mib-modules=qos
# make
# make install

but when I try to exectue proces.pl it send me:

ERROR: Message size exceeded buffer maxMsgSize


How ever, when I try to test QoS with snmpget, like
in README file indicates:

# snmpget -c macwww localhost enterprises.18756
snmpget: No securityName specified

# snmpget -c macwww localhost -u root enterprises.18756
snmpget: Unknown user name


Is a snmp patch problem related or proces.pl related ?

Thank you !!!
Andres




___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


[LARTC] how to realize MLPPP LFI

2004-05-25 Thread swcims
Hi,all
I am using iproute2/tc to manage bandwidth and control traffic.I must realize 
these two tricky functions in mips linux(kernel 2.4.17):
1.The device MUST support the capability to fragment AF and BE traffic in 
order to constrain the perturbing impact of AF and BE packets on EF traffic delay, for 
example using a mechanism such as MLPPP LFI.(RFC1990)
2. The packet size threshold before fragmenting AF and BE packets MUST be 
configurable. 
I am completely stunned.I think these functions are about qos,and I heard that 
Cisco realize MLPPP LFI in its qos function.
Would anyone please supply some suggestion?Thank you very much!




Regards.


swcims
[EMAIL PROTECTED]
2004-05-26