All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bryan Fink <bfink@eventmonitor.com>
To: Trond Myklebust <trond.myklebust@fys.uio.no>
Cc: Andrew Morton <akpm@osdl.org>, linux-kernel@vger.kernel.org
Subject: Re: NFS Still broken in 2.6.x?
Date: Fri, 24 Feb 2006 09:22:47 -0500	[thread overview]
Message-ID: <43FF16B7.9060407@eventmonitor.com> (raw)
In-Reply-To: <1140788198.3615.3.camel@lade.trondhjem.org>

Trond Myklebust wrote:

>On Fri, 2006-02-24 at 04:14 -0800, Andrew Morton wrote:
>  
>
>>Trond Myklebust <trond.myklebust@fys.uio.no> wrote:
>>    
>>
>>>On Thu, 2006-02-23 at 15:35 -0500, Bryan Fink wrote:
>>> > Hi All.  I'm running into a bit of trouble with NFS on 2.6.  I see that
>>> > at least Trond thought, mid-January, that "The readahead algorithm has
>>> > been broken in 2.6.x for at least the past 6 months." (
>>> > http://www.ussg.iu.edu/hypermail/linux/kernel/0601.2/0559.html) Anyone
>>> > know if that has been fixed?
>>>
>>> No it hasn't been fixed. ...and no, this is not a problem that only
>>> affects NFS: it just happens to give a more noticeable performance
>>> impact due to the larger latency of NFS over a 100Mbps link.
>>>      
>>>
>>iirc, last time we went round this loop Ram and I were unable to reproduce it.
>>
>>Does anyone have a testcase?
>>    
>>
>
>Yes. A dead simple one
>
>run iozone in sequential read mode on a tcp link w/ rsize == 32k
>  
>
I'm sure Trond's testcase is much more useful, but for reference, I 
thought I'd add that I've been doing my testing with a simple "dd 
if=/nfsmount/file of=/dev/null bs=32k".  /nfsmount/file is usually 2.5-3 
GB, which makes the difference between NFS servers long enough that I 
feel safe throwing a "time" in front of the whole command.  That is, the 
difference is nowhere near millisecond resolution (it's nearer a 
minute), so I like to start the test and then walk away to do other things.

Interesting that it's not an NFS-only bug.  I assumed it was when I 
logged into each server so I could run "dd if=file of=/dev/null bs=32k" 
locally.  When I did that, both servers gave roughly the same speed.  
Sorry I left this bit out of my first email.  I assume this example only 
illustrates how opaque the code around this problem truly is.

Thanks very much for the help.

-Bryan


  reply	other threads:[~2006-02-24 14:22 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-23 20:35 NFS Still broken in 2.6.x? Bryan Fink
2006-02-23 22:47 ` Trond Myklebust
2006-02-24 12:14   ` Andrew Morton
2006-02-24 13:36     ` Trond Myklebust
2006-02-24 14:22       ` Bryan Fink [this message]
2006-02-24 16:18     ` Bryan Fink
2006-02-24 22:32       ` Grant Coady
  -- strict thread matches above, loose matches on Subject: below --
2006-02-24 15:22 Oleg Nesterov
2006-02-24 16:12 ` Oleg Nesterov

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=43FF16B7.9060407@eventmonitor.com \
    --to=bfink@eventmonitor.com \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=trond.myklebust@fys.uio.no \
    /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.