Re: GE traffic statistics (/proc/net/dev)

From: uaca@alumni.uv.es
Date: Sat Jun 07 2003 - 03:40:25 EST


On Fri, Jun 06, 2003 at 01:04:05AM -0700, David S. Miller wrote:
> On Thu, 2003-06-05 at 07:20, uaca@alumni.uv.es wrote:
> > I found very extrange that, for this device, stats on /proc/net/dev updates
> > each second (more or less), that is, not in sub-second intervals. Again note
> > this only happens for this device and not for other NIC card (Fast-Ethernet
> > card, e100).
>
> The chip only periodically sends updated statistics to main
> memory via DMA, the interval can be changed using the
> 'ethtool' utility.

Thanks so much, that explains it

in the other hand, vanilla ethertool-1.7 refused to show -S information and
crashed the machine using -d

[root@discreto sbin]# ./ethtool -i eth1
driver: tg3
version: 1.2
firmware-version:
bus-info: 00:0b.0

that is a 2.4.20 kernel, the card is an 3Com 906B-T pluged in a 32bit/33Mhz/
5Volt PCI Bus.

I have reported this to the gkernel project on sourceforge

        Ulisses

                Debian GNU/Linux: a dream come true
-----------------------------------------------------------------------------
"Computers are useless. They can only give answers." Pablo Picasso

---> Visita http://www.valux.org/ para saber acerca de la <---
---> Asociación Valenciana de Usuarios de Linux <---
 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Jun 07 2003 - 22:00:32 EST