All of lore.kernel.org
 help / color / mirror / Atom feed
From: Olaf Kirch <okir@suse.de>
To: Brad Barnett <lists@L8R.net>
Cc: nfs@lists.sourceforge.net
Subject: Re: knfsd brought to its knees, by a simple rsync or cp operation
Date: Mon, 28 Feb 2005 16:44:55 +0100	[thread overview]
Message-ID: <20050228154455.GS4822@suse.de> (raw)
In-Reply-To: <20050228102307.3788a184@be.back.l8r.net>

On Mon, Feb 28, 2005 at 10:23:07AM -0500, Brad Barnett wrote:
> During my tests involving "ls", no one else was accessing the server.  I
> have noatime set for both client and server mounts.. just in case.
> 
> So, there should be no writes for knfsd to do.  There was only one
> read operation, and that was a "ls -R /nfsmount".

Well, you were talking about rsync and cp, so it's either reads or
writes going over the wire, or both.

> >  -	by tying up all knfsd threads on the server. Try to bump the
> >  	number of nfsd processes
> > 
> >  -	by tying up all RPC slots on the client. Make sure your wsize
> >  	isn't too big (8k is reasonable)
> 
> There is only one client (during my tests), so #1 can't be the case. 

One NFS client can issue many requests simultaenously, thereby tying
up more than one nfsd thread.

> This is what I don't understand.  Why is one single 'ls' on a single
> client, the only nfs client, brought to a standstill by a single cp or
> rsync?  It's very weird, and it does not seem to be because of write
> operations the client is performing.

Where do these cp and rsync calls occur? From your first message I
assumed they were on the client, operating on the NFS mounted file system.

Olaf
-- 
Olaf Kirch   |  --- o --- Nous sommes du soleil we love when we play
okir@suse.de |    / | \   sol.dhoop.naytheet.ah kin.ir.samse.qurax


-------------------------------------------------------
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

  reply	other threads:[~2005-02-28 15:49 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050228154455.GS4822@suse.de \
    --to=okir@suse.de \
    --cc=lists@L8R.net \
    --cc=nfs@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.