From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Rajesh Srivastava" Date: Fri, 25 Jul 2003 23:46:25 +0000 Subject: [LARTC] tc stats MIME-Version: 1 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0014_01C352CC.49332340" Message-Id: List-Id: To: lartc@vger.kernel.org This is a multi-part message in MIME format. ------=_NextPart_000_0014_01C352CC.49332340 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, I am getting negative sent bytes count in tc stats after transmitting = over 1 GB of data. It seems like a counter size issue. Is there a fix = for this? Thanks. Rajesh ------=_NextPart_000_0014_01C352CC.49332340 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi,
 
I am getting negative sent bytes = count in tc=20 stats after transmitting over 1 GB of data. It seems like a counter = size=20 issue. Is there a fix for this?
 
Thanks.
 
Rajesh
------=_NextPart_000_0014_01C352CC.49332340-- _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stef Coene Date: Mon, 28 Jul 2003 17:49:33 +0000 Subject: Re: [LARTC] tc stats Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org On Saturday 26 July 2003 01:46, Rajesh Srivastava wrote: > Hi, > > I am getting negative sent bytes count in tc stats after transmitting over > 1 GB of data. It seems like a counter size issue. Is there a fix for this? I don't think so. Stef -- stef.coene@docum.org "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ From mboxrd@z Thu Jan 1 00:00:00 1970 From: N N Ashok Date: Mon, 28 Jul 2003 20:22:06 +0000 Subject: Re: [LARTC] tc stats Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org On Monday 28 July 2003 13:49, Stef Coene scrawled: > On Saturday 26 July 2003 01:46, Rajesh Srivastava wrote: > > Hi, > > > > I am getting negative sent bytes count in tc stats after transmitting > > over 1 GB of data. It seems like a counter size issue. Is there a fix for > > this? > > I don't think so. > > Stef The bytes count in tc_stats is __u64 type so it wont overflow after 1GB also. Ashok -- ----------------------------------------------------------------------------- N N Ashok East Lansing, MI-48823 Ph: 408-644-3646 (c) 517-353-4633 (eLANS Lab) 517-355-1789 (ERL Lab) ----------------------------------------------------------------------------- _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/