Re: [resent PATCH] Re: very slow parallel read performance

From: Marc (pcg@goof.com)
Date: Sat Aug 25 2001 - 18:34:42 EST


On Sat, Aug 25, 2001 at 10:33:36PM +0100, Alan Cox <alan@lxorguk.ukuu.org.uk> wrote:
> > exactly this is a point: my disk can do 5mb/s with almost random seeks,
> > and linux indeed reads 5mb/s from it. but the userpsace process doing
> > read() only ever sees 2mb/s because the kernel throes away all the nice
> > pages.
>
> Which means the VM in the relevant kernel is probably crap or your working
> set exceeds ram.

The relevant kernel is linux (all 2.4 versions I tested), and no, working
set exceeding ram should never result in such excessive thrashing. So yes,
the VM in the kernel is crap (in this particular case, namely high-volume
fileserving) ;)

-- 
      -----==-                                             |
      ----==-- _                                           |
      ---==---(_)__  __ ____  __       Marc Lehmann      +--
      --==---/ / _ \/ // /\ \/ /       pcg@goof.com      |e|
      -=====/_/_//_/\_,_/ /_/\_\       XX11-RIPE         --+
    The choice of a GNU generation                       |
                                                         |
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Aug 31 2001 - 21:00:19 EST