Gentoo Archives: gentoo-user

From: Mark Knecht <markknecht@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Lots of network collisions - can I eliminate them?
Date: Fri, 23 Sep 2005 18:17:27
Message-Id: 5bdc1c8b0509231112751f1d20@mail.gmail.com
1 Hi all. Sorry in advance for the rash of emails today but the topics
2 seem to be varying and hopefully folks will read only the ones they
3 think they could help with.
4
5 QUESTIONS:
6
7 1) What causes a 'collision' on a network interface?
8 2) How can I eliminate them? (Including hardware changes if required.)
9
10 In looking at this MythTV problem it looks like it's possibly the
11 networking/NFS side of the equation and not the PVR software side. I'm
12 running a test using my local drive right now to see if that's true.
13
14 In looking at the networking side i see a problem with collisions:
15
16 dragonfly ~ # ifconfig
17 eth0 Link encap:Ethernet HWaddr 00:40:CA:74:21:E9
18 inet addr:192.168.1.55 Bcast:192.168.1.255 Mask:255.255.255.0
19 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
20 RX packets:4014229 errors:0 dropped:0 overruns:0 frame:0
21 TX packets:4014933 errors:0 dropped:0 overruns:0 carrier:0
22 collisions:1808957 txqueuelen:1000
23 RX bytes:17072649 (16.2 Mb) TX bytes:3375271889 (3218.9 Mb)
24 Interrupt:20 Base address:0x9000
25
26
27 myth14 ~ # ifconfig
28 eth0 Link encap:Ethernet HWaddr 00:11:D8:F4:CD:1D
29 inet addr:192.168.1.14 Bcast:192.168.1.255 Mask:255.255.255.0
30 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
31 RX packets:1732167 errors:0 dropped:0 overruns:0 frame:0
32 TX packets:1592861 errors:0 dropped:0 overruns:0 carrier:0
33 collisions:289582 txqueuelen:1000
34 RX bytes:1645387797 (1569.1 Mb) TX bytes:1558513991 (1486.3 Mb)
35 Interrupt:18 Base address:0xec00
36
37 Myth14 is the NFS server. Dragonfly is the NFS client that mounts the
38 drive. I do not see any collisions on other machines on my network.
39 Ethernet hardware is built-in to both machines:
40
41 dragonfly ~ # lspci | grep Ethernet
42 0000:01:03.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
43 RTL-8139/8139C/8139C+ (rev 10)
44 dragonfly ~ #
45 myth14 ~ # lspci | grep Ethernet
46 0000:02:08.0 Ethernet controller: 3Com Corporation 3Com 3C920B-EMB-WNM
47 Integrated Fast Ethernet Controller (rev 40)
48 myth14 ~ #
49
50 The two machines are connected through a small LinkSys switch. model EZXS55W:
51
52 http://www.linksys.com/servlet/Satellite?childpagename=US%2FLayout&packedargs=c%3DL_Product_C2%26cid%3D1115416836711&pagename=Linksys%2FCommon%2FVisitorWrapper
53
54 The URL probably won't survive the email.
55
56 If I run hdparm -tT on the NFS drive it is using DMA but it's slow, as
57 it's always been:
58
59 myth14 ~ # hdparm -tT /dev/hdc
60
61 /dev/hdc:
62 Timing cached reads: 1544 MB in 2.00 seconds = 771.73 MB/sec
63 Timing buffered disk reads: 46 MB in 3.11 seconds = 14.77 MB/sec
64 myth14 ~ #
65
66
67 I'm going to investigate a new kernel on the NFS server side, althoguh
68 I'm loth to do this since it means messing with LIRC, fglrx and lots
69 of other touchy stuff. However, if there is a simple way to configure
70 things so that collisions disappear or go down significantly that
71 would be great.
72
73 Again, thanks in advance and sorry for the number of emails.
74
75 Cheers,
76 Mark
77
78 --
79 gentoo-user@g.o mailing list

Replies