unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / Atom feed
* bug#27780: guix environment to build guile from git required excessive CPU time
@ 2017-07-21  3:02 Mark H Weaver
  2017-07-24  9:02 ` Ludovic Courtès
  0 siblings, 1 reply; 5+ messages in thread
From: Mark H Weaver @ 2017-07-21  3:02 UTC (permalink / raw)
  To: 27780

I just ran the following command on my Thinkpad X200 running GuixSD:

  ./pre-inst-env guix environment guile --ad-hoc autoconf automake libtool 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.org'... 100.0%

The CPU time was roughly evenly split between the following two
processes:

--8<---------------cut here---------------start------------->8---
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-daemon 8450                guixbuild --max-silent-time 0 --timeout 0 --substitute-urls https://mirror.hydra.gnu.org --gc-keep-derivations=yes --gc-keep-outputs=yes
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
--8<---------------cut here---------------end--------------->8---

Immediately before this, I had run the same command but without the
final "gettext" argument, and it ran quite quickly.

I've run a similar command in the last couple of weeks, with the
"gettext" argument, and as I recall it ran reasonably quickly as well.

       Mark

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#27780: guix environment to build guile from git required excessive CPU time
  2017-07-21  3:02 bug#27780: guix environment to build guile from git required excessive CPU time Mark H Weaver
@ 2017-07-24  9:02 ` Ludovic Courtès
  2021-01-10 19:14   ` Maxim Cournoyer
  0 siblings, 1 reply; 5+ messages in thread
From: Ludovic Courtès @ 2017-07-24  9:02 UTC (permalink / raw)
  To: Mark H Weaver; +Cc: 27780

Hi Mark,

Mark H Weaver <mhw@netris.org> skribis:

> I just ran the following command on my Thinkpad X200 running GuixSD:
>
>   ./pre-inst-env guix environment guile --ad-hoc autoconf automake libtool 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.org'... 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-daemon 8450                guixbuild --max-silent-time 0 --timeout 0 --substitute-urls https://mirror.hydra.gnu.org --gc-keep-derivations=yes --gc-keep-outputs=yes
> 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 ‘strace’ the
‘guix substitute’ process?

Any idea whether hydra.gnu.org was loaded at the time and returning 504
(“Gateway Timeout”)?

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#27780: guix environment to build guile from git required excessive CPU time
  2017-07-24  9:02 ` Ludovic Courtès
@ 2021-01-10 19:14   ` Maxim Cournoyer
  2021-01-10 23:46     ` Mark H Weaver
  0 siblings, 1 reply; 5+ messages in thread
From: Maxim Cournoyer @ 2021-01-10 19:14 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 27780

Hello Mark,

ludo@gnu.org (Ludovic Courtès) writes:

> Hi Mark,
>
> Mark H Weaver <mhw@netris.org> skribis:
>
>> I just ran the following command on my Thinkpad X200 running GuixSD:
>>
>>   ./pre-inst-env guix environment guile --ad-hoc autoconf automake libtool 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.org'... 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-daemon
>> 8450 guixbuild --max-silent-time 0 --timeout 0 --substitute-urls
>> https://mirror.hydra.gnu.org --gc-keep-derivations=yes
>> --gc-keep-outputs=yes
>> 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 ‘strace’ the
> ‘guix substitute’ process?
>
> Any idea whether hydra.gnu.org was loaded at the time and returning 504
> (“Gateway Timeout”)?
>
> Thanks,
> Ludo’.

Any update on this?  If that's not an issue anymore, feel free to close
it, otherwise I'll do so in 2 weeks time.

Thank you,

Maxim




^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#27780: guix environment to build guile from git required excessive CPU time
  2021-01-10 19:14   ` Maxim Cournoyer
@ 2021-01-10 23:46     ` Mark H Weaver
  2021-01-11  2:43       ` Maxim Cournoyer
  0 siblings, 1 reply; 5+ messages in thread
From: Mark H Weaver @ 2021-01-10 23:46 UTC (permalink / raw)
  To: Maxim Cournoyer, Ludovic Courtès; +Cc: 27780-done

Hi Maxim,

Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:
> Any update on this?  If that's not an issue anymore, feel free to close
> it, otherwise I'll do so in 2 weeks time.

I haven't seen other reports of this, and I barely remember it.  Also, I
haven't used substitutes in years.  I'm closing this bug.

Thanks for working through these old bug reports.

      Regards,
        Mark




^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#27780: guix environment to build guile from git required excessive CPU time
  2021-01-10 23:46     ` Mark H Weaver
@ 2021-01-11  2:43       ` Maxim Cournoyer
  0 siblings, 0 replies; 5+ messages in thread
From: Maxim Cournoyer @ 2021-01-11  2:43 UTC (permalink / raw)
  To: Mark H Weaver; +Cc: 27780-done

Hi Mark,

Mark H Weaver <mhw@netris.org> writes:

> Hi Maxim,
>
> Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:
>> Any update on this?  If that's not an issue anymore, feel free to close
>> it, otherwise I'll do so in 2 weeks time.
>
> I haven't seen other reports of this, and I barely remember it.  Also, I
> haven't used substitutes in years.  I'm closing this bug.

Thanks for the follow-up and closing the bug!

> Thanks for working through these old bug reports.

My pleasure!

Maxim




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-01-11  2:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-21  3:02 bug#27780: guix environment to build guile from git required excessive CPU time Mark H Weaver
2017-07-24  9:02 ` Ludovic Courtès
2021-01-10 19:14   ` Maxim Cournoyer
2021-01-10 23:46     ` Mark H Weaver
2021-01-11  2:43       ` Maxim Cournoyer

unofficial mirror of bug-guix@gnu.org 

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://yhetil.org/guix-bugs/0 guix-bugs/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 guix-bugs guix-bugs/ https://yhetil.org/guix-bugs \
		bug-guix@gnu.org
	public-inbox-index guix-bugs

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.gnu.guix.bugs
	nntp://news.gmane.io/gmane.comp.gnu.guix.bugs


AGPL code for this site: git clone http://ou63pmih66umazou.onion/public-inbox.git