From: Trond Myklebust <trond.myklebust@fys.uio.no>
To: Nate Diller <nate.diller@gmail.com>
Cc: Andi Kleen <ak@suse.de>,
torvalds@osdl.org, discuss@x86-64.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH for 2.6.18] [8/8] MM: Remove rogue readahead printk
Date: Sun, 30 Jul 2006 00:22:14 -0400 [thread overview]
Message-ID: <1154233334.5784.93.camel@localhost> (raw)
In-Reply-To: <5c49b0ed0607291804j28193807t83d8237cad8d5ecd@mail.gmail.com>
On Sat, 2006-07-29 at 18:04 -0700, Nate Diller wrote:
> On 7/29/06, Trond Myklebust <trond.myklebust@fys.uio.no> wrote:
> > On Sat, 2006-07-29 at 21:42 +0200, Andi Kleen wrote:
> > > For some reason it triggers always with NFS root and spams the kernel
> > > logs of my nfs root boxes a lot.
> > >
> > > Cc: trond.myklebust@fys.uio.no
> > > Signed-off-by: Andi Kleen <ak@suse.de>
> >
> > Big ACK! I never really understood why we needed this printk, and yes,
> > it does spam the syslog heavily on all NFS clients...
>
> not an NFS user, but it seems like this is indicating an actual
> performance problem. the printk was introduced by an attempt to
> reduce retries after -EIO on scratched CDs/DVDs, and is intended to
> curb pathological behavior when one disk sector consitently cannot be
> read.
>
> for some reason (maybe just busy networks, dunno), you're getting I/O
> errors on NFS, and the readahead window is being reduced. IMO, the
> proper behavior in this case would be to keep it large, or even
> increase it, since that would enable the network to more efficiently
> transfer data.
>
> of course, it could be that some quirk of the NFS client VFS interface
> causes "spurious" -EIO returns. either way, i'd rather see it fixed
> rather than the printk removed, since it is useful to point out that
> some performance degradation is occuring.
We have no way of telling. That printk doesn't give us any useful
information whatsoever for debugging that sort of problem. It should
either be replaced with something that does, or it should be thrown out.
Trond
next prev parent reply other threads:[~2006-07-30 4:22 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-29 19:42 [PATCH for 2.6.18] [8/8] MM: Remove rogue readahead printk Andi Kleen
2006-07-29 21:14 ` Trond Myklebust
2006-07-30 1:04 ` Nate Diller
2006-07-30 4:22 ` Trond Myklebust [this message]
2006-07-30 6:26 ` Andrew Morton
2006-07-30 16:12 ` Trond Myklebust
2006-07-30 16:48 ` [discuss] " Andi Kleen
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=1154233334.5784.93.camel@localhost \
--to=trond.myklebust@fys.uio.no \
--cc=ak@suse.de \
--cc=discuss@x86-64.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nate.diller@gmail.com \
--cc=torvalds@osdl.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox