From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 8 Jan 2001 20:18:13 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 8 Jan 2001 20:18:03 -0500 Received: from penguin.e-mind.com ([195.223.140.120]:57138 "EHLO penguin.e-mind.com") by vger.kernel.org with ESMTP id ; Mon, 8 Jan 2001 20:17:53 -0500 Date: Tue, 9 Jan 2001 02:18:05 +0100 From: Andrea Arcangeli To: Sasi Peter Cc: Linux Kernel Mailing List Subject: Re: 2.2.19pre6aa1 degraded performance for me... Message-ID: <20010109021805.Q27646@athlon.random> In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: ; from sape@iq.rulez.org on Mon, Jan 08, 2001 at 10:46:29PM +0100 X-GnuPG-Key-URL: http://e-mind.com/~andrea/aa.gnupg.asc X-PGP-Key-URL: http://e-mind.com/~andrea/aa.asc Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 08, 2001 at 10:46:29PM +0100, Sasi Peter wrote: > What I had w/2.2.18pre19 (+raid+ide): > ~80MB more in cache and ~80MB swapped out (eg. currently unused notes > server and squid) There is enough of swap over 3 disks (like the > raid), so I did not bother disabling squid and notes, since - I thought - > they would only take up some swap unused. There are many variables. However I guess the slowdown is because your idle apps didn't got swapped out in favour of cache as you noticed. An aggressive aging algorithm would probably fix that but it then would hurt other cases (after you don't need a frequenty accessed part of filesystem cache anymore it would take ages before it gets collected potentially causing an unnecessary swapout storms because the kernel doesn't know you don't need such cache anymore). Furthmore if notes and squid are rarely running but they provides critical services if they would go totally into swap in favour of fs cache you would get very bad latencies the first time somebody connects to the server. So the fix I suggest you is to buy more ram or to shutdown squid and notes. Than you may as well see a performance improvement compared to 2.2.18pre19 (+raid+ide). Otherwise you can push the machine low on memory a bit until they both goes totally into swap (check with `ps v`). Hope this helps. Andrea - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/