From owner-freebsd-hackers@FreeBSD.ORG Tue Feb 28 09:50:41 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 8456C106564A for ; Tue, 28 Feb 2012 09:50:41 +0000 (UTC) (envelope-from wojtek@tensor.gdynia.pl) Received: from tensor.gdynia.pl (tensor.gdynia.pl [89.206.35.72]) by mx1.freebsd.org (Postfix) with ESMTP id DC9118FC13 for ; Tue, 28 Feb 2012 09:50:40 +0000 (UTC) Received: Received: from 127.0.0.1 (localhost [127.0.0.1]) by tensor.gdynia.pl (8.14.4/8.14.5) with ESMTP id q1S9oc3r093285; Tue, 28 Feb 2012 10:50:38 +0100 (CET) (envelope-from wojtek@tensor.gdynia.pl) Received: (from wojtek@localhost) by tensor.gdynia.pl (8.14.5/8.14.5/Submit) id q1S9obQw093283; Tue, 28 Feb 2012 10:50:37 +0100 (CET) (envelope-from wojtek) Newsgroups: Date: Tue, 28 Feb 2012 10:43:46 +0100 (CET) From: Wojciech Puchar To: Andriy Gapon Fcc: sent-mail In-Reply-To: <4F4C0726.6010804@FreeBSD.org> Message-ID: References: <4F4C0726.6010804@FreeBSD.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-Reply-UID: (2 > )(1 1330422177 46)/home/wojtek/Maildir/FreeBSD-hackers X-Reply-Mbox: #md/Maildir/FreeBSD-hackers X-Cursor-Pos: : 546 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=UTF-8 Status: X-Status: X-Keywords: X-UID: 10 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.6 (tensor.gdynia.pl [89.206.35.72]); Tue, 28 Feb 2012 10:50:38 +0100 (CET) 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: Tue, 28 Feb 2012 09:50:41 -0000 >> +++ 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? right. but still 32 pages is 128kB, but i see 64kB I/Os in systat/vmstat > > -- > Andriy Gapon > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > >