Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Jul 1995 23:31:31 +0200 (MET DST)
From:      Ollivier Robert <roberto@keltia.frmug.fr.net>
To:        freebsd-bugs@FreeBSD.ORG (FreeBSD Bugs' list), freebsd-current@FreeBSD.ORG
Subject:   Problem with ed0 and netstat statistics
Message-ID:  <199507012131.XAA05094@keltia.frmug.fr.net>

next in thread | raw e-mail | index | archive | help
    Hello everyone (especially David), 

    I'm doing a backup of my laptop with rdump on my small Ethernet network
    (just the primary  machine -- keltia --  and the laptop --  a Sparcbook
    named sidhe) and I'm getting an awfully high number of collisions shown
    by netstat. 

    What is weird is that the tranceiver on the  sparcbook doesn't show any
    collision...  It may be related to the PR I opened a days ago (kern/540
    I think) but I'd like to know where the problem may lay. 

276 [23:19] roberto@keltia:ports/utils> netstat -i
Name  Mtu   Network     Address            Ipkts Ierrs    Opkts Oerrs  Coll
ed0   1500  <Link>00.00.c0.4d.ed.08        18158   196    13643     0  2741
ed0   1500  FR-ATL-NET  keltia.frmug.fr    18158   196    13643     0  2741
[...]
277 [23:19] roberto@keltia:ports/utils> netstat -i
Name  Mtu   Network     Address            Ipkts Ierrs    Opkts Oerrs  Coll
ed0   1500  <Link>00.00.c0.4d.ed.08        18791   208    13950     0  2842
ed0   1500  FR-ATL-NET  keltia.frmug.fr    18791   208    13950     0  2842
[...]
278 [23:19] roberto@keltia:ports/utils> netstat -i
Name  Mtu   Network     Address            Ipkts Ierrs    Opkts Oerrs  Coll
ed0   1500  <Link>00.00.c0.4d.ed.08        19357   218    14237     0  2986
ed0   1500  FR-ATL-NET  keltia.frmug.fr    19357   218    14237     0  2986

    and now : 

279 [23:23] roberto@keltia:ports/utils> netstat -i
Name  Mtu   Network     Address            Ipkts Ierrs    Opkts Oerrs  Coll
ed0   1500  <Link>00.00.c0.4d.ed.08        38907   455    22603     1  8446
ed0   1500  FR-ATL-NET  keltia.frmug.fr    38907   455    22603     1  8446

    more than 5000 coll. in 4 minutes ? When you  have only *2* machines on
    the ethernet  doing almost nothing except  the backup  ?? And more than
    200 Ierrs as well. 

    Is there  a problem in  the   SMC8013EP I  got,  in  the  driver or  in
    netstat's statistics ? I'm sure that I lose thoughput though. 

    Ideas anyone ?

    Relevant pieces of information : 

FreeBSD 2.0-BUILT-19950629 #6: Thu Jun 29 17:38:21 MET DST 1995
    roberto@keltia:/src/src/sys/compile/KELTIA
CPU: i486DX (486-class CPU)
real memory  = 33161216 (8096 pages)
avail memory = 31416320 (7670 pages)
[...]
ed0 at 0x300-0x31f irq 10 maddr 0xcc000 msize 16384 on isa
ed0: address 00:00:c0:4d:ed:08, type WD8013EP (16 bit) 
bpf: ed0 attached
------------------------------------------------------------
#
# GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks
#
#	$Id: GENERIC,v 1.11 1994/11/08 07:39:26 jkh Exp $
#

machine		"i386"
cpu			"I486_CPU"
ident		"KELTIA"
maxusers	20

options		INET					#InterNETworking
options		FFS						#Berkeley Fast Filesystem
options		MFS						#Berkeley Fast Filesystem
options		LFS						#Berkeley Log Filesystem
options		PROCFS					#Berkeley proc Filesystem
options		"COMPAT_43"				#Compatible with BSD 4.3
options		"SCSI_2_DEF"			#hack for the mp1624
options		UCONSOLE				#for xconsole
options		"AUTO_EOI_1"
options		"AUTO_EOI_2"
options		DUMMY_NOPS
options     TEST_LABELLING
options		"COMPAT_LINUX"
options		SYSVSHM
options		SYSVSEM
options		SYSVMSG
options		"SHMMAXPGS=128"          # 512 KB of sharable memory
options		GATEWAY
options		KTRACE

config		kernel	root on sd0 swap on sd0 and sd1 and sd2 dumps on sd0

controller	isa0

controller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk		fd0	at fdc0 drive 0
disk		fd1	at fdc0 drive 1

controller	bt0	at isa? port "IO_BT0" bio irq ? vector btintr
controller	scbus0 at bt0

disk		sd0 at scbus0 target 0 unit 0
disk		sd1 at scbus0 target 1
tape		st0 at scbus0 target 5
tape		st1 at scbus0 target 4
device		cd0 at scbus0 target 6

controller	snd0
device sb0	at isa? port 0x220 irq 5 drq 3 vector sbintr
device opl0	at isa? port 0x388

device		sc0	at isa? port "IO_KBD" tty irq 1 vector scintr
device		npx0	at isa? port "IO_NPX" irq 13 vector npxintr

device		sio0	at isa? port "IO_COM1" tty irq 4 vector siointr
device		sio1	at isa? port "IO_COM2" tty irq 3 vector siointr

device		lpt0	at isa? port? tty irq 7 vector lptintr

device ed0 at isa? port 0x300 net irq 10 iomem 0xcc000 vector edintr

pseudo-device	loop
pseudo-device	ether
pseudo-device	log
pseudo-device	sl	1
pseudo-device	ppp	1
pseudo-device   bpfilter 4  #Berkeley packet filter
pseudo-device	pty	24
pseudo-device	speaker
pseudo-device   vn          #Vnode driver (turns a file into a device)
pseudo-device	disc		#Discard device
pseudo-device	tun	1		#Enable user-level PPP see ppp(8)
pseudo-device   snp 3       #Snoop device - to look at pty/vty/etc..
------------------------------------------------------------
-- 
Ollivier ROBERT    -=- The daemon is FREE! -=-    roberto@keltia.frmug.fr.net
   FreeBSD keltia 2.0-BUILT-19950629 #6: Thu Jun 29 17:38:21 MET DST 1995



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199507012131.XAA05094>