From owner-freebsd-hackers@FreeBSD.ORG Tue Feb 28 18:06:53 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 8967F106566C; Tue, 28 Feb 2012 18:06:53 +0000 (UTC) (envelope-from artemb@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 322C58FC13; Tue, 28 Feb 2012 18:06:52 +0000 (UTC) Received: by ghrr20 with SMTP id r20so2076938ghr.13 for ; Tue, 28 Feb 2012 10:06:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=Ym8FTAH5K7bxniaVHT3V7mtmzf5owGcrdxmVhZVNNZg=; b=X+D5uMcDYfy0vzYqciGpm6bolzm//beEDN9bLm8jZqO+yrTPtcB/4MAkgzA2vZw1TS 9BPHi66QP07DWGF3/WRuqMOFmIuwKF3UqaukHmGshV6rnWWk7zcbND57hP3gdJDKBnn1 Fd94TkPRos4Md6HRL94Cdz6ey5j87Xc0rSExo= MIME-Version: 1.0 Received: by 10.236.184.129 with SMTP id s1mr23032317yhm.21.1330452412567; Tue, 28 Feb 2012 10:06:52 -0800 (PST) Sender: artemb@gmail.com Received: by 10.146.159.40 with HTTP; Tue, 28 Feb 2012 10:06:52 -0800 (PST) In-Reply-To: <4F4CAAC1.9060908@FreeBSD.org> References: <4F4C0726.6010804@FreeBSD.org> <4F4CAAC1.9060908@FreeBSD.org> Date: Tue, 28 Feb 2012 10:06:52 -0800 X-Google-Sender-Auth: 3U7KWeb7nPACvs5LkOwsFWwfNfM Message-ID: From: Artem Belevich To: Andriy Gapon Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Wojciech Puchar , Grzegorz Kulewski , freebsd-hackers@freebsd.org 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 18:06:53 -0000 On Tue, Feb 28, 2012 at 2:21 AM, Andriy Gapon wrote: > on 28/02/2012 11:43 Wojciech Puchar said the following: >>>> +++ swap_pager.c =A0 =A0 =A0 =A02012-02-25 13:19:51.000000000 +0100 >>>> @@ -119,7 +119,7 @@ >>>> =A0* The 32-page limit is due to the radix code (kern/subr_blist.c). >>>> =A0*/ >>>> #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 commen= t says? >> >> right. but still 32 pages is 128kB, but i see 64kB I/Os in systat/vmstat > > Right, but the comment says to not define MAX_PAGEOUT_CLUSTER to a value = greater > than 32, but you did that. =A0So all bets could be off unless you examine= d the > code and know exactly what should happen in this case. I suspect it might be DFLTPHYS that splits disk i/o into 64K blocks on the driver level. --Artem > > > -- > 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= "