From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from neon.transmeta.com (neon-best.transmeta.com [206.184.214.10]) by kvack.org (8.8.7/8.8.7) with ESMTP id BAA10058 for ; Sat, 9 Jan 1999 01:55:11 -0500 Date: Fri, 8 Jan 1999 22:53:38 -0800 (PST) From: Linus Torvalds Subject: Re: 2.2.0-pre[56] swap performance poor with > 1 thrashing task In-Reply-To: <369709CF.E38FEE6F@ucsd.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org To: Benjamin Redelings I Cc: Dax Kelson , Zlatko Calusic , Steve Bergman , Andrea Arcangeli , brent verner , "Garst R. Reese" , Kalle Andersson , Ben McCann , linux-kernel@vger.rutgers.edu, linux-mm@kvack.org, Alan Cox , "Stephen C. Tweedie" List-ID: On Fri, 8 Jan 1999, Benjamin Redelings I wrote: > > Maybe this is not really a problem with swapping, but more with > concurrent I/O in general, It's really easy to get really crappy performance with concurrent IO, if you end up just seeking back and forth on the disk - which is why we should be trying to cluster our IO. Sounds like we end up with silly behaviour where one process is paging in from one area of the disk while the other is paging out to another area, resulting in all the time spent in just moving the disk head rather than moving any actual data. Or something silly like that. The fix is probably not all that complex: the code is supposed to try to avoid it, but I bet I just had some idiotic braino that just completely defeated the whole idea. It sounds like Zlatko found my braino already. Linus -- This is a majordomo managed list. To unsubscribe, send a message with the body 'unsubscribe linux-mm me@address' to: majordomo@kvack.org