From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#27780: guix environment to build guile from git required excessive CPU time Date: Mon, 24 Jul 2017 11:02:13 +0200 Message-ID: <87pocqp5re.fsf@gnu.org> References: <87pocucx0o.fsf@netris.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:32943) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dZZGb-0000Nb-Fc for bug-guix@gnu.org; Mon, 24 Jul 2017 05:03:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dZZGY-0004yb-AW for bug-guix@gnu.org; Mon, 24 Jul 2017 05:03:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:51149) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dZZGY-0004yS-8E for bug-guix@gnu.org; Mon, 24 Jul 2017 05:03:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dZZGX-0000KG-Q7 for bug-guix@gnu.org; Mon, 24 Jul 2017 05:03:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87pocucx0o.fsf@netris.org> (Mark H. Weaver's message of "Thu, 20 Jul 2017 23:02:47 -0400") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Mark H Weaver Cc: 27780@debbugs.gnu.org Hi Mark, Mark H Weaver skribis: > I just ran the following command on my Thinkpad X200 running GuixSD: > > ./pre-inst-env guix environment guile --ad-hoc autoconf automake libtoo= l flex gettext > > Using the guix client from a git checkout at v0.13.0-1496-gcfd6a3b1e, > and using guix-daemon from guix-0.13.0-3.b547349. > > This command took approximately 20 minutes of CPU time before > downloading anything except possibly some NARINFOs. During this initial > 20 minutes of CPU-bound activity, the only output was 4 occurrences of > the following message: > > substitute: updating list of substitutes from 'https://mirror.hydra.gnu.o= rg'... 100.0% > > The CPU time was roughly evenly split between the following two > processes: > > USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND > root 8456 57.0 0.1 37420 7788 ? Rs 22:27 11:31 \_ /gnu= /store/gkv8zl774h2qpa89mrf6d74fry3rsnpa-guix-0.13.0-3.b547349/bin/guix-daem= on 8450 guixbuild --max-silent-time 0 --timeout 0 --substitu= te-urls https://mirror.hydra.gnu.org --gc-keep-derivations=3Dyes --gc-keep-= outputs=3Dyes > root 8457 45.0 0.9 124040 38556 ? Rl 22:27 9:03 \_ = /gnu/store/z16li2znnk2pdgrg3ldm34k669pcrdcx-guile-2.2.2/bin/guile --no-auto= -compile /gnu/store/gkv8zl774h2qpa89mrf6d74fry3rsnpa-guix-0.13.0-3.b547349/= bin/.guix-real substitute --query Is it reproducible? If/when that happens again, could you =E2=80=98strace= =E2=80=99 the =E2=80=98guix substitute=E2=80=99 process? Any idea whether hydra.gnu.org was loaded at the time and returning 504 (=E2=80=9CGateway Timeout=E2=80=9D)? Thanks, Ludo=E2=80=99.