All of lore.kernel.org
 help / color / mirror / Atom feed
* knfsd brought to its knees, by a simple rsync or cp operation
@ 2005-02-26 13:28 Brad Barnett
  2005-02-28 10:06 ` Olaf Kirch
  0 siblings, 1 reply; 16+ messages in thread
From: Brad Barnett @ 2005-02-26 13:28 UTC (permalink / raw)
  To: nfs



There seems to be some odd behaviour with knfsd.  I have a box with a
raid10, and a single cp or rsync operation should not effectively kill
knfsd performance.

It does, however.

First, nfs works very well as long as this box does not have any local
disk i/o.  I can, literally, transfer files at the upper limit of my
100mbit network connection.  Directory reads are fast, file transfers are
great in both directions.  "Instant" would be the word I would use for
access.

It works great, fast and beautifully.  There does not appear to be any
configuration issue at play here.

The problems start as soon as any local I/O starts.  Directory listings
over nfs can take > 5 or 6 seconds, once I start my rsync backup process. 
File transfer rates fall through the floor.

However, directory listings, locally on the box, are still instant.  File
reads are instant.  There is a _very_ minor slowdown, but my raid10 array
is doing a great job at handling a single rsync session + a single
directory request or copy request.  Again, with knfsd, performance bombs.

There is obviously something wacky in the way the kernel is scheduling
things here.  Any ideas, patches, suggestions?

Kernel 2.6.10, NFSv3 mounted, noatime mounts.  More info can be provided
in needed, but again.. this setup works beautifully under load from
multiple NFS clients.  It is fast, responsive, you name it.  However, one
_single_ cp or rsync session can bring NFS responsiveness to its knees,
without tasking the cpu, ram or swap.

Thanks.


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2005-03-02 16:41 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-26 13:28 knfsd brought to its knees, by a simple rsync or cp operation Brad Barnett
2005-02-28 10:06 ` Olaf Kirch
2005-02-28 15:23   ` Brad Barnett
2005-02-28 15:44     ` Olaf Kirch
2005-02-28 16:20       ` Brad Barnett
2005-03-01  9:55         ` Olaf Kirch
2005-03-01 11:57           ` Brad Barnett
2005-03-01 14:21             ` Roger Heflin
2005-03-01 14:37             ` Olaf Kirch
2005-03-01 23:10               ` Brad Barnett
2005-03-02  9:03                 ` Olaf Kirch
2005-03-02 16:41                   ` Brad Barnett
2005-03-01 15:04             ` Bill Rugolsky Jr.
2005-03-01 16:08               ` Bill Rugolsky Jr.
2005-03-01 23:38               ` Brad Barnett
2005-03-01 23:40               ` Brad Barnett

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.