From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id mIvFEU9MjV9qeAAA0tVLHw (envelope-from ) for ; Mon, 19 Oct 2020 08:20:31 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id eO2WDU9MjV/JJwAAB5/wlQ (envelope-from ) for ; Mon, 19 Oct 2020 08:20:31 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C408F9402B0 for ; Mon, 19 Oct 2020 08:20:30 +0000 (UTC) Received: from localhost ([::1]:57270 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kUQP7-0007ZZ-1j for larch@yhetil.org; Mon, 19 Oct 2020 04:20:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60572) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kUQOh-0007WY-Ax for bug-guix@gnu.org; Mon, 19 Oct 2020 04:20:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56583) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kUQOh-0000u9-0V for bug-guix@gnu.org; Mon, 19 Oct 2020 04:20:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kUQOg-0003AY-Qs for bug-guix@gnu.org; Mon, 19 Oct 2020 04:20:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#44053: Poor profile generation performance on spinning disks Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 19 Oct 2020 08:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44053 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxim Cournoyer Received: via spool by 44053-submit@debbugs.gnu.org id=B44053.160309554212056 (code B ref 44053); Mon, 19 Oct 2020 08:20:02 +0000 Received: (at 44053) by debbugs.gnu.org; 19 Oct 2020 08:19:02 +0000 Received: from localhost ([127.0.0.1]:39888 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kUQNh-00038D-Ph for submit@debbugs.gnu.org; Mon, 19 Oct 2020 04:19:02 -0400 Received: from mail-qv1-f54.google.com ([209.85.219.54]:44235) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kUQNg-00037r-30 for 44053@debbugs.gnu.org; Mon, 19 Oct 2020 04:19:00 -0400 Received: by mail-qv1-f54.google.com with SMTP id s17so3946293qvr.11 for <44053@debbugs.gnu.org>; Mon, 19 Oct 2020 01:19:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Y6R7bUOsVCVV3n9qJcG28DjVtCwbDazSaRmy3kDaSG0=; b=GPb0RrK7C0iPgUGLcXbToDplXf/lHDFkl6/GB4/SybLqIoZSdBTU/QssQo2Gp3iV6T R0eNwU1dQmhMukU5u2zqoj6a5g5q5VjBLT4kITP7i6Qsf+XjAHXpV2WwZhW19/p1LPAA vZ5uwVbebCh/mluUqLUPqBvHIRFGjbQiilc0auf6To/v2fHq3J2D6mou1U5+llHJz+pP EWsLCpryO/EQQXeTOK4boQgqRd2pLxqqfFhsqBybTKWzxp7hkJYvW/0GdMxScXcVn29Y 747d41RxHtOrCiJH5P4Dsy7EAcYSroNxK7s9I4GEbUoqoP+cRRMqcl0Hr1C9Q9hWVgAw GSRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Y6R7bUOsVCVV3n9qJcG28DjVtCwbDazSaRmy3kDaSG0=; b=pll6TYty60k9tS9T9NHX8pTelUgjWrBK1iaxvaiZjelTlgCa+uqpGxDCIuqutSuIwl SVnIFjK92qsbdiog3ZvkK8I8HboBvw1alKenzcXD5AzAK+wODX3aVqX283Y3NW/rzavH /OLQwjCJIadpiT4CEhHSaJWTUSBL/WTqjvgf6aUPk6x4ZjBYWDz82Uav9Ru5l6n8MXEX 3dzX3Qa8wU13a/xvCK5oiDS4keatjwtKSXLunBnPlsx6oitQ9Al6DFMRnfoa9cFsdSVO Jqerc0eaQgyRcBTFn8ZlxUnhPLRydAkuuTOkXd/8cHEhDX7UWmKbB3zFCYufXLe489IT THHQ== X-Gm-Message-State: AOAM5329VsTu3w1ZDaS4OzBVRXTKWgT/wCMG7r2AQ2cw7lm/TKlYKUS0 Qr6MuIXz531vPrGbq/8ImL03qhpeuokFAMHNZYw= X-Google-Smtp-Source: ABdhPJzPPPUiakSLPW6PDy7lI0XGMlrd4bPjiC5t6AtHIfUbu9ssUE5NwE0BJYPgdIWcqZawcWaZWkkKA6k9ebNQ4yw= X-Received: by 2002:ad4:4eaf:: with SMTP id ed15mr16304955qvb.40.1603095534641; Mon, 19 Oct 2020 01:18:54 -0700 (PDT) MIME-Version: 1.0 References: <87zh4k435a.fsf@gmail.com> In-Reply-To: <87zh4k435a.fsf@gmail.com> From: zimoun Date: Mon, 19 Oct 2020 10:18:43 +0200 Message-ID: Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 44053@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=GPb0RrK7; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: 0.09 X-TUID: XDXC1AvBZ+/c Hi Maxim, On Sun, 18 Oct 2020 at 05:37, Maxim Cournoyer wrote: > On my home machine, will is still relying on 2 x 1 TB spinning drives in > RAID1, rebuilding my user profile, which contains 182 entries, takes on > average about 20 minutes, even when there are no packages to be built: The database build time seems correlated to the number of packages in the very profile. Well, I have not benchmarked to see if it is linear, quadratic; or worse or better. > --8<---------------cut here---------------start------------->8--- [...] > building XDG MIME database... > successfully built /gnu/store/cir84qj587i6is4akgqand7ahg9bj938-xdg-mime-database.drv > successfully built /gnu/store/cir84qj587i6is4akgqand7ahg9bj938-xdg-mime-database.drv > /gnu/store/j0bznlj2ibnhirijhnwpkkxzz4qfk8wb-xdg-mime-database > > real 1m7.344s > user 0m1.331s > sys 0m0.053s > --8<---------------cut here---------------end--------------->8--- Well, it is all clear to me, but I do not know if we can do better because these 2 XDG updates seem relying on the external binaries "/bin/update-desktop-database" and "/bin/update-mime-database". I have not timed the function 'xdg-desktop-database' but all the time should be spent on these, I bet. :-) All the best, simon