Re: netstat -w is loosing both input and output packets

From: Boris Samorodov <bsam_at_ipt.ru>
Date: Tue, 11 Nov 2008 10:06:49 +0300
Boris Samorodov <bsam_at_ipt.ru> writes:

> there seems to be a problem with netstat which I discovered while
> testing a new ale(4) driver. Here is an example of "netstat -w 1":
> netstat -w 1: ftp://ftp.bsam.ru/pub/tmp/EeePC/netstat.ale.2

It seems to loose packets every tree seconds at this machine:
-----
% netstat -w 2
            input        (Total)           output
   packets  errs      bytes    packets  errs      bytes colls
         2     0         60          0     0          0     0
         1     0        402          0     0          0     0
         2     0         60          0     0          0     0
        51     0    6208282         30     0     182046     0
      8440     0   21163672       5337     0     616902     0
     23006     0   24749564      14956     0     759066     0
     11567     0   24424332       7709     0     750618     0
     23135     0   24752190      15419     0     760848     0
     11568     0   24424272       7710     0     750486     0
     23134     0   24752190      15414     0     760452     0
     11568     0   24424332       7707     0     750552     0
     23135     0   24751942      15420     0     760716     0
     11567     0   24424332       7707     0     750288     0
     23136     0   24751018      15414     0     760518     0
     11568     0   24424332       7708     0     750618     0
     23134     0   24752250      15417     0     760650     0
     11569     0   24424332       7710     0     750618     0
     14804     0    8723228       9866     0     268325     0
         1     0        150          0     0          0     0
         2     0         60          0     0          0     0
-----

> uname -a: ftp://ftp.bsam.ru/pub/tmp/EeePC/uname.2
> kernel config:
> -----
> include         GENERIC
> ident           EEEBB
>  
> nooptions       INVARIANTS
> nooptions       INVARIANT_SUPPORT
> nooptions       WITNESS
> nooptions       WITNESS_SKIPSPIN
>
> options         PSM_DEBUG=2
> -----
>
> I've got similar results with age(4) at (FreeBSD host.ipt.ru 8.0-CURRENT
> FreeBSD 8.0-CURRENT #2: Sun Nov  2 02:38:00 MSK 2008
> root_at_host.ipt.ru:/usr/obj/usr/src/sys/HOST  i386) (the fourth line):
> -----
>             input        (Total)           output
>    packets  errs      bytes    packets  errs      bytes colls
>          4     0        164          3     0        212     0
>          6     0       1108          5     0        971     0
>         11     0        506         11     0        212     0
>          0     0    8073542          0     0     238802     0
>       6477     0   18872294       4126     0     558968     0
>      13361     0   18747910       8595     0     560724     0
>      13474     0   19331752       8743     0     566624     0
>      13913     0   19005679       8828     0     557727     0
>      13609     0   19357598       8668     0     566664     0
> -----
> kernel config:
> -----
> include         GENERIC
> ident           HOST
>  
> nooptions       INVARIANTS
> nooptions       INVARIANT_SUPPORT
> nooptions       WITNESS
> nooptions       WITNESS_SKIPSPIN
>
> device          puc
>  
> options         SHMMAXPGS=65536
> options         SEMMNI=40
> options         SEMMNS=240
> options         SEMUME=40
> options         SEMMNU=120
>
> options         IPFIREWALL
> options         IPFIREWALL_VERBOSE
> options         IPFIREWALL_VERBOSE_LIMIT=100
> options         IPFIREWALL_DEFAULT_TO_ACCEPT
> -----
>
> Both tests were just plain ftp session with big file transfer.


WBR
-- 
bsam
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve
Received on Tue Nov 11 2008 - 06:06:59 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:37 UTC