From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 27 22:43:56 2012 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1EC121065675 for ; Mon, 27 Feb 2012 22:43:56 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 668BA8FC13 for ; Mon, 27 Feb 2012 22:43:54 +0000 (UTC) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id AAA14615; Tue, 28 Feb 2012 00:43:51 +0200 (EET) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1S29IN-0002aH-AN; Tue, 28 Feb 2012 00:43:51 +0200 Message-ID: <4F4C0726.6010804@FreeBSD.org> Date: Tue, 28 Feb 2012 00:43:50 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:10.0.2) Gecko/20120218 Thunderbird/10.0.2 MIME-Version: 1.0 To: Wojciech Puchar References: In-Reply-To: X-Enigmail-Version: 1.3.5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@FreeBSD.org, Grzegorz Kulewski Subject: Re: improving VM - questions X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Feb 2012 22:43:56 -0000 on 25/02/2012 17:45 Wojciech Puchar said the following: [snip] > i tried that patch > > --- swap_pager.c.orig 2012-02-25 16:22:25.000000000 +0100 > +++ swap_pager.c 2012-02-25 13:19:51.000000000 +0100 > @@ -119,7 +119,7 @@ > * The 32-page limit is due to the radix code (kern/subr_blist.c). > */ > #ifndef MAX_PAGEOUT_CLUSTER > -#define MAX_PAGEOUT_CLUSTER 16 > +#define MAX_PAGEOUT_CLUSTER 256 > #endif [snip] > but swap_pager.c patch seems not to work. i observe 64kB pageouts, no more. > > what is wrong in it? Could there be a problem because of what the MAX_PAGEOUT_CLUSTER comment says? -- Andriy Gapon