From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id MAbYKKTYCWWyNwAA9RJhRA:P1 (envelope-from ) for ; Tue, 19 Sep 2023 19:21:40 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id MAbYKKTYCWWyNwAA9RJhRA (envelope-from ) for ; Tue, 19 Sep 2023 19:21:40 +0200 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 8686F5BB2B for ; Tue, 19 Sep 2023 19:21:40 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=mF+qTD87; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1695144100; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=yTzQGL0Hm6Kf0fqumV2lURsNQhy0LEnu5bYws39z/8Y=; b=XR1iDC6vphKCkRY4pAOl3ZgX21+hvjryC9jmwLLqwY5BQJA6d8RHyW8aTDLr3o4AtUBict c7XNnzASuJqmVtel/L28PMG50Bp8UKwpTWiQlV/MNU5CgVsBqcnmHNjdZEkFhS8waKYAd8 HhZ63KnbuYC9it9DttCrfm1FsnFOz+nWV5MutcAyzgZY6/IwZ1rqAj9bU8beO+r/O+DJa7 wVE7sGuWU7p20J698EG91K2V0yNx/q4zU7dM53bp8ZK0iTFeZUHjbtRObvuUTTwVMNaTOi wlOMlf5ZUdPtguUM59Yb9HqWEUSftkdaXt5B4txcQQvCKH6onyBDgnQwu09ZWQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1695144100; a=rsa-sha256; cv=none; b=KeY4My+LU5AmDgNZFLNQPWJo8ysw+qTTVBElxP+/TJmKovO3zNNPKRFEVNbQ4a9JqBDPbT tVZhbfqHAk8QIEfG7Fi7pl7BBXjbrEVG2lEp6LkMMwFvxlhlsn+At+m0FLFhpK5Nwneo0B yNskQ0yIJ5Wg28J+xocDPvaq73UBgv1d4uFq0vYcYQ2AgfF7IbYN1YE2KwJrRI2Q8LbPIo 3i9I20cXrG83+BWREcN+F7zVVG7O79OcVoj+KH/mVTcUAhMKmY7GUjiHwCpOFbchxcTFz2 777e2xGlqhq9qcE+aJ4PL8HM2fzDKAkS8Fgmpf+tgRErGjOy7bGFBISNiMZ9ew== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=mF+qTD87; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qiePc-00013c-UF; Tue, 19 Sep 2023 13:21:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qiePa-00013D-Fv for guix-devel@gnu.org; Tue, 19 Sep 2023 13:21:22 -0400 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qiePX-0000DA-Oe; Tue, 19 Sep 2023 13:21:22 -0400 Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-4047ef37f55so9765185e9.1; Tue, 19 Sep 2023 10:21:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695144077; x=1695748877; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=yTzQGL0Hm6Kf0fqumV2lURsNQhy0LEnu5bYws39z/8Y=; b=mF+qTD87vwEVd1kpAuybA7oBIGWiCbgXvPZz+dQIfvtodO9M8EOsbG2NScv0UYx/9U 9JKI3A2yzWO6i/SOLoH5brxS4PxQSnkdaQh2CYfjJA1+EVErMOVt7zPaIRFRK4YT+hgv BGUi+HmyHtNCgEjZQjaky6JBz/Fzd57833r6Zn/r15S70QlSelCbNnCLt1HQlIONAJ7w AQOGJU2Iy4nSMhG914VfLclVCfkFqalUikTUXlZGPFr+DM3lWURq9QoilgBpo5WbYwbt eIZQt1ZpuXxkSu3mbHoKn38XYhraS2D/YAEF1xB6nQ56+s+yFXNGoWoX9EUqQVJrV3+K PCLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695144077; x=1695748877; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=yTzQGL0Hm6Kf0fqumV2lURsNQhy0LEnu5bYws39z/8Y=; b=RG5T+NUDb0CHmKqOThtIj7jSbatwlPjLw4qu1KfVA3mP2VrPrlU9aKfOqaxaZbjd7L kWvGb6kew4cHBkaou06jMaY+9junHv7SINnr2TfEZU9CJpu99fBiFQ/VM2ZU17f1vWH4 2S3W9COweKsoMMxkwv7BIGM7zBoE2FluVeC13lVNPhT/zNhZTi51kJVF2MAqQRadsyC/ X1FChNNi8/qOLXSmx5UIVtf/zpe0DS2vY4QWaIx324p7Ry12fKxCVHrs8x5ONgGT7br+ MZhRkN3q3hXGMvhVqaLOQUdNuz+xJ3lQmuyrVtHcI7IO2dTJ2s+EDmqLxUhRrD0DrDuJ flig== X-Gm-Message-State: AOJu0Yyl6yfADBFmQv11Hnw46lAUG1dF0DF/NilCKCKnN2dr1ThULHLv Y+hfEDnUzmUzfIwJU/9Yh+Y+EUuAoJY= X-Google-Smtp-Source: AGHT+IEAxKl1gR2BGzmbfNXw4A8LPA1xC9GsGBC135oa6nogt2MDUH0NaaOLahcPdFQNyG29eqJTYA== X-Received: by 2002:adf:f709:0:b0:31a:e29f:5eab with SMTP id r9-20020adff709000000b0031ae29f5eabmr151197wrp.7.1695144076614; Tue, 19 Sep 2023 10:21:16 -0700 (PDT) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id d15-20020adfe84f000000b003197b85bad2sm16236169wrn.79.2023.09.19.10.21.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Sep 2023 10:21:16 -0700 (PDT) From: Simon Tournier To: Ludovic =?utf-8?Q?Court=C3=A8s?= , Josselin Poiret Cc: guix-devel@gnu.org Subject: Re: Guix pull speed In-Reply-To: <87il8ddqkl.fsf@gnu.org> References: <87wmxe3vsa.fsf@jpoiret.xyz> <87il8ddqkl.fsf@gnu.org> Date: Tue, 19 Sep 2023 13:55:02 +0200 Message-ID: <87ediuqsx5.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::32e; envelope-from=zimon.toutoune@gmail.com; helo=mail-wm1-x32e.google.com X-Spam_score_int: -4 X-Spam_score: -0.5 X-Spam_bar: / X-Spam_report: (-0.5 / 5.0 requ) BAYES_00=-1.9, DATE_IN_PAST_03_06=1.592, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list 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+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -7.79 X-Spam-Score: -7.79 X-Migadu-Queue-Id: 8686F5BB2B X-Migadu-Scanner: mx0.migadu.com X-TUID: 8BJT72jMQJ7V Hi, On Thu, 14 Sep 2023 at 11:58, Ludovic Court=C3=A8s wrote: >> What could be done about this? Another solution would be to somehow >> build Guix without any of the dependencies and then add them in later, >> similar to what is done with build-aux/build-self.scm to be able to load >> (guix self) in the first place. That seems quite complex though. > > Most of the time is spent evaluating (gnu packages =E2=80=A6) modules; > evaluation is pretty slow, and from what I remember of previous > profiling sessions, this is largely due to psyntax. We should > concentrate on that. On my machine the step =E2=80=9CComputing Guix derivation=E2=80=9D is singl= e-threaded. Is it not possible to exploit multi-thread here? Cheers, simon