From: Pawan Bajaj Date: Tue, 11 Apr 2006 20:09:21 +0000 Subject: [LARTC] HTB statistics granularity Message-Id: <20060411200921.76301.qmail@web50008.mail.yahoo.com> MIME-Version: 1 Content-Type: multipart/mixed; boundary="===============1154061223==" List-Id: To: lartc@vger.kernel.org --===============1154061223== Content-Type: multipart/alternative; boundary="0-1251085791-1144786161=:74564" Content-Transfer-Encoding: 8bit --0-1251085791-1144786161=:74564 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, I am running HTB and using the following command to get rate and pps statis= tics: tc -s class show dev eth0 However what I am seeing is that if I run the command over and over again, = I see the sent bytes and sent packets increment however the rate and pps ha= ve the following issues: 1. The rate and pps values only seem to update after every 15 seconds 2. They do not show until about after five seconds that the traffic has bee= n running? 3. If I run traffic constantly at 1500 kbps and then stop it, it takes abou= t 3 to 4 minutes for the rate to go back to 0 kbps. Does anyone know: a) How are the rate and pps being calculated? b) Is there a way to get a precise rate and pps for the last 10 seconds? (i= ssue of rate taking 3-4 mins to get to zero as opposed to instantly) Thanks in advance! =09 --------------------------------- How low will we go? Check out Yahoo! Messenger=92s low PC-to-Phone call ra= tes. --0-1251085791-1144786161=:74564 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi,

I am running HTB and using the following command to get rate and= pps statistics:

tc -s class show dev eth0

However what I am = seeing is that if I run the command over and over again, I see the sent byt= es and sent packets increment however the rate and pps have the following i= ssues:

1. The rate and pps values only seem to update after every 15= seconds
2. They do not show until about after five seconds that the tra= ffic has been running?
3. If I run traffic constantly at 1500 kbps and t= hen stop it, it takes about 3 to 4 minutes for the rate to go back to 0 kbp= s.

Does anyone know:

a) How are the rate and pps being calcul= ated?
b) Is there a way to get a precise rate and pps for the last 10 se= conds? (issue of rate taking 3-4 mins to get to zero as opposed to instantl= y)

Thanks in advance!


How low will we go? Check out Yahoo! Messenger=92s low PC-to-Phone call rates. --0-1251085791-1144786161=:74564-- --===============1154061223== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc --===============1154061223==--