From owner-svn-src-all@freebsd.org Wed Jul 29 15:44:53 2015 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 82F289AE1B0; Wed, 29 Jul 2015 15:44:53 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3F8A0E89; Wed, 29 Jul 2015 15:44:51 +0000 (UTC) (envelope-from hps@selasky.org) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 266421FE022; Wed, 29 Jul 2015 17:44:50 +0200 (CEST) Message-ID: <55B8F547.2010008@selasky.org> Date: Wed, 29 Jul 2015 17:46:15 +0200 From: Hans Petter Selasky User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Warner Losh CC: =?UTF-8?B?Um9nZXIgUGF1IE1vbm7DqQ==?= , Adrian Chadd , Warner Losh , "src-committers@freebsd.org" , "svn-src-all@freebsd.org" , "svn-src-head@freebsd.org" , Shani Michaeli Subject: Re: svn commit: r285068 - in head/sys: conf modules/agp modules/geom/geom_part/geom_part_apm modules/geom/geom_part/geom_part_bsd modules/geom/geom_part/geom_part_bsd64 modules/geom/geom_part/geom_part... References: <201507030150.t631oRd0039490@repo.freebsd.org> <5596C188.10404@FreeBSD.org> <5596C7E7.5090700@FreeBSD.org> <68C8F69B-56DF-45C3-8DBB-40514CA48D85@bsdimp.com> <55B8A8CA.90701@selasky.org> <3414D44A-A22F-4693-9F84-A8E880C0B185@bsdimp.com> In-Reply-To: <3414D44A-A22F-4693-9F84-A8E880C0B185@bsdimp.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jul 2015 15:44:53 -0000 On 07/29/15 16:24, Warner Losh wrote: > >> On Jul 29, 2015, at 4:19 AM, Hans Petter Selasky wrote: >> >> On 07/03/15 22:15, Warner Losh wrote: >>> >>>> On Jul 3, 2015, at 11:35 AM, Roger Pau Monné wrote: >>>> >>>> El 03/07/15 a les 19.26, Adrian Chadd ha escrit: >>>>> ok, so why's it make NFS builds so slow? >>>> >>>> AFAICT it makes the build process spawn a bunch of concurrent "find" >>>> processes that weren't previously there. >>> >>> OK. I’ll fix it. I knew it might slow things down a little, but this is quite a bit more than “a little”. >>> >>> Warner >>> >> >> Hi, >> >> Is there a fix for this issue yet? At Mellanox we're also seeing that NFS mounted shares are extremely slow building even a single module. Maybe the output from the find can be cached in a file somehow? > > Committed the fix within a day of this message (so three weeks ago): > > https://svnweb.freebsd.org/base?view=revision&revision=285124 > > Is it not working? this is the first negative report I’ve heard since Adrian and Roger posted. I spiked the test-build with a find that recorded every time it ran. W/o the fix, it runs a lot. With the fix it ran once. Is this not the case still? Hi, In this particular case one "find of /sys" takes 11-16 seconds over NFS, so building a single KMOD takes 16 seconds too. It's not possible to eliminate the find entirely during repeated builds? --HPS