From: patchkov@acs1.acs.ucalgary.ca (Serguei Patchkovskii)
Subject: Re: poor NFS/RPC performance
Date: 1999/03/18 [thread overview]
Message-ID: <7crff0$blu@ds2.acs.ucalgary.ca> (raw)
In-Reply-To: 36F0D6EA.1827AEBD@prism.gatech.edu
Damon Love (gte822f@prism.gatech.edu) wrote:
: ok, here's an update... we have 2 solaris SPARC 2.6 Ultra 1 machines and
: 4 LINUX Redhat 5.2 300Mhz AMD K6-2 machines mounting from the same
: DEC server... all of them get around 2.5 Mbytes for NFS traffic...
: The slow down is really only from DEC to DEC machine (all 4.0D)...
: Also, when we are simply doing one file copy, we routinely get
: "NFS server not respsonding, still trying. NFS server OK..."
: it's like it goes to sleep... When I watch the server hard drive light when
: we are doing NFS tests it looks like it tramsits a little data waits,
: transmits
: a little more, waits... These waits are maybe one second in duration!
This seems to indicate packet loss for whatever reason (there are
several). On a local network like yours you should see practically
zero drop rates. One way to check for this is to try:
ping -s 8000 -f client # On the server
ping -s 8000 -f server # On the client
In both cases, drop rates should be essentially zero (By the time I got
bored with this, I got less than 1 in 10,000 drop rate on our network,
which is very similar to yours).
If you observe high drop rates, the first thing you want to check is
the full-duplex settings on your switch and DU box. If you use
point-to-point links between switch and DEC client, full-duplex
should be either on or off on BOTH ends. If you have a hub between
the switch and the client, then you SHOULD NOT use full duplex on
any of the ports connected to the hub.
If this is Ok, check cabling (e.g. interchange the cables or sockets
used by one of the "good" clients and DEC box and see whether the
problem follows the cable or the computer). You can also get an
indication of cabling problems from netstat:
$ netstat -s -I tu0
tu0 Ethernet counters at Thu Mar 18 10:59:06 1999
65535 seconds since last zeroed
4294967263 bytes received
4294967279 bytes sent
53248824 data blocks received
105348459 data blocks sent
378081282 multicast bytes received
3195790 multicast blocks received
166038 multicast bytes sent
2751 multicast blocks sent
0 blocks sent, initially deferred
0 blocks sent, single collision
0 blocks sent, multiple collisions
vvvvvvvv 0 send failures
0 collision detect check failure
0 receive failures
0 unrecognized frame destination
^^^^^^^^ 0 data overruns
0 system buffer unavailable
0 user buffer unavailable
Large error counters between or on vvvvv/^^^^^ may indicate problems
with the cabling (or the ethernet card itself).
If this is Ok, check for possible reassembly problems on the client
due to low memory condition:
$ netstat -s -p ip
ip:
111562229 total packets received
0 bad header checksums
0 with size smaller than minimum
0 with data size < data length
0 with header length < data size
0 with data length < header length
21706576 fragments received
----> 0 fragments dropped (dup or out of space)
----> 109 fragments dropped after timeout
0 packets forwarded
1021364 packets not forwardable
512 packets denied access
0 redirects sent
0 packets with unknown or unsupported protocol
92615577 packets consumed here
90561036 total packets generated here
----> 1 lost packet due to resource problems
3781800 total packets reassembled ok
8073161 output packets fragmented ok
47923501 output fragments created
0 packets with special flags set
The lines marked with arrows should contain low numbers in
them. As a rule of thumb, if number of dropped fragments is
within three orders of magnitude of the number of fragments
received, you'd got a problem and shown tune network buffers.
Finally, bad ethernet controllers are not unheard of. If you
checked everything else, and are convinced that both the
cabling and the kernel network settings are fine, try borrowing
an identical ethernet card from a different system, and checking
whether it fixes the problem.
Regards,
/Serge.P
next prev parent reply other threads:[~1999-03-18 5:00 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-03-15 5:00 poor NFS/RPC performance Damon Love
1999-03-15 5:00 ` Serguei Patchkovskii
1999-03-16 5:00 ` Nick Manka
[not found] ` <7copna$8s8$1@panix7.panix.com>
1999-03-17 5:00 ` Nick Manka
1999-03-18 5:00 ` Damon Love
1999-03-18 5:00 ` Serguei Patchkovskii [this message]
1999-03-19 5:00 ` Eric Werme - replace nospam with werme
1999-03-19 5:00 ` Thor Lancelot Simon
1999-03-19 5:00 ` Thor Lancelot Simon
1999-03-19 5:00 ` Eric Werme - replace nospam with werme
1999-03-19 5:00 ` Solution Found! Damon Love
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox