Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262870AbTHZTXh (ORCPT ); Tue, 26 Aug 2003 15:23:37 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262912AbTHZTXh (ORCPT ); Tue, 26 Aug 2003 15:23:37 -0400 Received: from adsl-63-194-239-202.dsl.lsan03.pacbell.net ([63.194.239.202]:16658 "EHLO mmp-linux.matchmail.com") by vger.kernel.org with ESMTP id S262870AbTHZTXf (ORCPT ); Tue, 26 Aug 2003 15:23:35 -0400 Date: Tue, 26 Aug 2003 12:23:33 -0700 From: Mike Fedyk To: "Ihar 'Philips' Filipau" Cc: Linux Kernel Mailing List Subject: Re: cache limit Message-ID: <20030826192333.GA1258@matchmail.com> Mail-Followup-To: Ihar 'Philips' Filipau , Linux Kernel Mailing List References: <3F4BB043.6010805@softhome.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3F4BB043.6010805@softhome.net> User-Agent: Mutt/1.5.4i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1306 Lines: 30 On Tue, Aug 26, 2003 at 09:08:51PM +0200, Ihar 'Philips' Filipau wrote: > Mike Fedyk wrote: > >Ok, let's benchmark it. > > > >Yes, I can see the logic in your argument, but at this point, numbers are > >needed to see if or how much of a win this might be. > > [ I beleive you can see those thread about O_STREAMING patch. > Not-caching was giving 10%-15% peformance boost for gcc on kernel > compiles. Isn't that overhead? ] > That was because they wanted the non-streaming files to be left in the cache. > I will try to produce some benchmarktings tomorrow with different > 'mem=%dMB'. I'm afraid to confirm that it will make difference. > But in advance: mantainance of page tables for 1GB and for 128MB of > RAM are going to make a difference. I'm sorry to say, but you *will* get lower performance if you lower the mem= value below your working set. This will also lower the total amount of memory available for your applications, and force your apps, to swap and balance cache, and app memory. That's not what you are looking to benchmark. - 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/