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

From: Rik van Riel (riel@conectiva.com.br)
Date: Sat Aug 25 2001 - 15:52:47 EST


On Sat, 25 Aug 2001, Marc A. Lehmann wrote:
> On Sat, Aug 25, 2001 at 08:15:44PM +0100, Alan Cox <alan@lxorguk.ukuu.org.uk> wrote:
> > How much disk and bandwidth can you afford. With vsftpd its certainly over
> > 1000 parallal downloads on a decent PII box
>
> 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.

The trick here is for the kernel to throw away the pages
the processes have already used and keep in memory the
data we have not yet used.

regards,

Rik

-- 
IA64: a worthy successor to i860.

http://www.surriel.com/ http://distro.conectiva.com/

Send all your spam to aardvark@nl.linux.org (spam digging piggy)

- 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