----- Original Message ----- From: "Jannes Faber" <jannes@elevate.nl> To: "Stef Coene" <stef.coene@docum.org>; <pturley@rocksteady.com>; <lartc@mailman.ds9a.nl> Sent: Saturday, April 26, 2003 3:07 AM Subject: Re: [LARTC] Testing traffic control> I''ve been using TC and HTB for a while now (almost a year). Took a whileto> get it running, but it''s ok now (playing CounterStrike on one PC while two > others are using DirectConnect and Emule are fully using the upstream and > downstream). > > Anyway, until recently I was doing it all blind, using iptraf for somerough> indication of some total values, but that was about it. So I decided itwas> time to make some graphs. So I made a simple perl script (ahum... actuallyI> ripped apart a script made by Stef and added my own stuff) using rrdtoolto> store and display all the data. > > I attached it. You''ll have to edit it a little for your own situation, but > it''s quite flexible. (I''m not a perl programmer, so expect some ugly C > constructions). > > Basic commands: > > rrd_tc without parameters gives some help. But basically you call > "rrd_tc.pl create" once to create a new database. Then you run "rrd_tc.pl > collect" and keep it running in the background (nohup or in /etc/rc.local) > to collect the actual data. Then you use "rrd_tc.pl graph xv stack > update=10" to display a nice graph and have it updated every 10 seconds. > > This script stores and displays the counters for all the different TC > classes as well as the total up and download from /proc/net/dev. > > Jannes Faber > > > On Friday 25 April 2003 23:57, Patrick Turley wrote: > > > through each connection. Have the other computer display the rate at > > > which data is being received for each connection in a really cool > > > graphical way. > > > > > > Does anyone here actually have the tools to do this? I would beterribly> > > grateful if anyone could point me in the right direction. > > Stef wrote: > > I have some scripts. You can find them on www.docum.org. They don''tlook> > really cool, but they can show you what''s going on in real-time. > > > > I have a script that uses iptables counters. An other uses the tc > counters. > > They are both shell scripts and I use them to automate my tests. > > > > I also have some scripts to store the tc counters in a rrd database soyou> can > > graph long term statistics. And I have written a java applet so you can > see > > real-time graphs. > > > > Stef > >
Probably u can use spirent tool, but i''m not sure of it''s graphical reports with current version, The next version is coming with more comforatable. Srikanth>Message: 2 >Date: Fri, 25 Apr 2003 16:57:03 -0500 >From: Patrick Turley <pturley@rocksteady.com> >To: lartc@mailman.ds9a.nl >Reply-To: pturley@rocksteady.com >Organization: Rock Steady Networks >Subject: [LARTC] Testing traffic control > >We are just starting to research this stuff - I expect this mailing list >to save my bacon many times :) > >I''d like to hear some ideas on how people test their setups. It seems to >me that the ideal testing rig would be two computers, one on either side >the router. Have one computer open up some number of connections with >various procol characteristics to the other and start blasting data >through each connection. Have the other computer display the rate at >which data is being received for each connection in a really cool >graphical way. > >Does anyone here actually have the tools to do this? I would be terribly >grateful if anyone could point me in the right direction. > > > > >--__--__-- > >Message: 3 >From: Stef Coene <stef.coene@docum.org> >Organization: None >To: pturley@rocksteady.com, lartc@mailman.ds9a.nl >Subject: Re: [LARTC] Testing traffic control >Date: Sat, 26 Apr 2003 00:51:44 +0200 > >On Friday 25 April 2003 23:57, Patrick Turley wrote: > > >>We are just starting to research this stuff - I expect this mailing list >>to save my bacon many times :) >> >>I''d like to hear some ideas on how people test their setups. It seems to >>me that the ideal testing rig would be two computers, one on either side >>the router. Have one computer open up some number of connections with >>various procol characteristics to the other and start blasting data >>through each connection. Have the other computer display the rate at >>which data is being received for each connection in a really cool >>graphical way. >> >>Does anyone here actually have the tools to do this? I would be terribly >>grateful if anyone could point me in the right direction. >> >> >I have some scripts. You can find them on www.docum.org. They don''t look >really cool, but they can show you what''s going on in real-time. > >I have a script that uses iptables counters. An other uses the tc counters. >They are both shell scripts and I use them to automate my tests. > >I also have some scripts to store the tc counters in a rrd database so you can >graph long term statistics. And I have written a java applet so you can see >real-time graphs. > >Stef > > >