From mboxrd@z Thu Jan 1 00:00:00 1970 From: Roel Janssen Subject: Re: Performance regression on NFS with new manifest version Date: Thu, 10 Aug 2017 15:02:33 +0200 Message-ID: References: <873790o4q1.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37869) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dfn7C-0003Xg-EN for guix-devel@gnu.org; Thu, 10 Aug 2017 09:03:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dfn76-0003gc-TS for guix-devel@gnu.org; Thu, 10 Aug 2017 09:03:06 -0400 In-reply-to: <873790o4q1.fsf@elephly.net> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ricardo Wurmus Cc: guix-devel Ricardo Wurmus writes: > Hi Roel, > >> Looking into the manifests ($GENERATION_15/manifest and >> $GENERATION_16/manifest), I noticed that generation 15 uses manifest >> version 2, and generation 16 uses manifest version 3. >> >> What has changed, so that it takes a lot longer to run the same command >> as before? (this is probably disk-related, because that is a known >> cause for trouble on network-mounted stores..) > > Commit 55b4715fd4c03e46501f123c5c9bc6072edf12a4 bumped the manifest > version to 3. The goal was to represent propagated inputs as manifest > entries so that we can anticipate conflicts from propagated inputs and > refuse to build a profile when there would be conflicts. Thanks for pointing to that commit. It's much better this way. :-) So, what makes 'guix package --search-paths' so slow? It doesn't have to check for conflicts because that's already done on profile creation time. All it has to do is combine the search-path data and output that.. Anyway, I worked around it by using the $PROFILE/etc/profile file and unset the environment variables before setting them, which takes less than a second. Kind regards, Roel Janssen