From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262756AbUHBA6M (ORCPT ); Sun, 1 Aug 2004 20:58:12 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S265418AbUHBA6M (ORCPT ); Sun, 1 Aug 2004 20:58:12 -0400 Received: from fw.osdl.org ([65.172.181.6]:5549 "EHLO mail.osdl.org") by vger.kernel.org with ESMTP id S262756AbUHBA6K (ORCPT ); Sun, 1 Aug 2004 20:58:10 -0400 Date: Sun, 1 Aug 2004 17:56:18 -0700 From: Andrew Morton To: Rik van Riel Cc: linux-mm@kvack.org, sjiang@cs.wm.edu, linux-kernel@vger.kernel.org Subject: Re: [PATCH] token based thrashing control Message-Id: <20040801175618.711a3aac.akpm@osdl.org> In-Reply-To: References: X-Mailer: Sylpheed version 0.9.7 (GTK+ 1.2.10; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Rik van Riel wrote: > > On Fri, 30 Jul 2004, Rik van Riel wrote: > > > I have run a very unscientific benchmark on my system to test > > the effectiveness of the patch, timing how a 230MB two-process > > qsbench run takes, with and without the token thrashing > > protection present. > > > > normal 2.6.8-rc2: 6m45s > > 2.6.8-rc2 + token: 4m24s > > OK, I've now also ran day-long kernel compilate tests, > 3 times each with make -j 10, 20, 30, 40, 50 and 60 on > my dual pIII w/ 384 MB and a 180 MB named in the background. > > For make -j 10 through make -j 50 the differences are in > the noise, basically giving the same result for each kernel. > > However, for make -j 60 there's a dramatic difference between > a kernel with the token based swapout and a kernel without. > > normal 2.6.8-rc2: 1h20m runtime / ~26% CPU use average > 2.6.8-rc2 + token: 42m runtime / ~52% CPU use average OK. My test is usually around 50-60% CPU occupancy so we're not gaining in the moderate swapping range.