From owner-freebsd-arch@FreeBSD.ORG Fri Feb 15 14:11:09 2013 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 0739B808 for ; Fri, 15 Feb 2013 14:11:09 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 9F5ECE9A for ; Fri, 15 Feb 2013 14:11:08 +0000 (UTC) Received: from tom.home (kostik@localhost [127.0.0.1]) by kib.kiev.ua (8.14.6/8.14.6) with ESMTP id r1FEAxwO039650; Fri, 15 Feb 2013 16:10:59 +0200 (EET) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.7.4 kib.kiev.ua r1FEAxwO039650 Received: (from kostik@localhost) by tom.home (8.14.6/8.14.6/Submit) id r1FEAxSH039649; Fri, 15 Feb 2013 16:10:59 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Fri, 15 Feb 2013 16:10:59 +0200 From: Konstantin Belousov To: Dag-Erling Sm??rgrav Subject: Re: Unmapped I/O Message-ID: <20130215141059.GO2522@kib.kiev.ua> References: <20121219135451.GU71906@kib.kiev.ua> <20130214194731.GK2522@kib.kiev.ua> <86621trc50.fsf@ds4.des.no> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="fEHni0rYmTqv5Hb6" Content-Disposition: inline In-Reply-To: <86621trc50.fsf@ds4.des.no> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on tom.home Cc: arch@freebsd.org X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Feb 2013 14:11:09 -0000 --fEHni0rYmTqv5Hb6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Feb 15, 2013 at 01:32:11PM +0100, Dag-Erling Sm??rgrav wrote: > Konstantin Belousov writes: > > I consider the current patch ready to be committed into the HEAD. > > Some elements of the design were discussed with Jeff Roberson. The > > patch was tested by Peter Holm, a backport to stable/9 got load > > testing by Scott Long. I see an ~30% reduction in the system time on > > reading large files over UFS/ahci on the 4-core HTT machine. >=20 > That sounds very nice indeed. Have you observed a similar reduction in > buildworld times? I measured the buildworld times with the version of the patch I had a month ago. That time, I did not see any statistically significant difference in either times (user, system, total). On the other hand, the machine I used to measure is netbooted, and despite both src/ and obj/ being on UFS over ahci, I still see a steady and significant amount of the NFS RPC going out, in particular, getattr RPC. From what I saw, this is due to execing /bin/sh and several other utilities from the base system over NFS. I believe that it induces the latency that hides any speed up. =46rom that moment, there were some bug-fixes related to speed, in particul= ar, sometimes clustered reads forced the mapping for the cluster buffer, even if not needed, which could also increase the gain. I probably do not have time to spend to reevaluate the buildworld timings, and definitely I do not see much reason to do it on my hardware. If somebody wants to do the benchmarking, please. --fEHni0rYmTqv5Hb6 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQIcBAEBAgAGBQJRHkHyAAoJEJDCuSvBvK1BXmYP/jn/iQ3E0tjSWaZytiCUFACw rVgc/SqBYIkQRfLQHA4ZCF8tDnkQc921INUwxSarU1joOFVroWxo9YN+zT5ONEne 0RvqoeKf5PgWneW9Me3QJV984k9Bmnx0sYkReh0CDA39GyEQPF2D5iPNHMstKCrv ZtlWEmSjEJAwlYNwtU3LepF0FmKt6xmrZohrV4pQdFKSAoKoxGZ4zIQEf0tswzrh GNm310XOXfCgiE/DyRqQlhVG8NIU7MJFcb78gMe6ozrqfFKgOtgFZYVYAQa6kVo9 eBSBxEB93cG2jC+s+T8hdj7DZdQwjWlJgaOJMzLpBtaLuJatklQjDYl8myvpZ8I/ ZxLVE2W17h5YRC5MXk0SNH1+HDwyu94eMrEvVzYXYLUbQYj6R7XdvnYqPGBEhZVB SgVwCrwRWEKHiG5sIIoRbslxUTljSscDI9QvUhs2thOpfrkgKNtvoNHy4dzMXT/w h8u134hCj7Sig4mPL1UOe3BYKS8jZvg7ohFuVJCZOW7bMJ+Krb+XbON/On2dykb0 t533zczS9eimqnpgGr7gp/WkIbjXUXoM/S5inr43FHHWtwlxbJCr/wrskWNORpgH xyzohWjB8Fm0yx9DCSbIi0Hc7KXM6GbIf+E9kGAQYhtlIEjq6hsNyFqCyPYQuDf8 +JIfY9wENg87tEHLLqQ4 =gO0q -----END PGP SIGNATURE----- --fEHni0rYmTqv5Hb6--