lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Sun, 30 Jul 2006 00:22:14 -0400
From:	Trond Myklebust <trond.myklebust@....uio.no>
To:	Nate Diller <nate.diller@...il.com>
Cc:	Andi Kleen <ak@...e.de>, torvalds@...l.org, discuss@...-64.org,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH for 2.6.18] [8/8] MM: Remove rogue readahead printk

On Sat, 2006-07-29 at 18:04 -0700, Nate Diller wrote:
> On 7/29/06, Trond Myklebust <trond.myklebust@....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@....uio.no
> > > Signed-off-by: Andi Kleen <ak@...e.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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ