unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* guix pull parallelism
@ 2016-08-12 14:31 Vincent Legoll
  2016-08-13 11:11 ` Vincent Legoll
  0 siblings, 1 reply; 2+ messages in thread
From: Vincent Legoll @ 2016-08-12 14:31 UTC (permalink / raw)
  To: help-guix

Hello,

it does look like some parts of "guix pull" are parallelized
as I was seeing guix-daemon's child guile take 200% CPU during :

loading...     23.5% of 511 filesrandom seed for tests: 1471011793
loading...     99.8% of 511 files
compiling...     99.6% of 511 files

So far so good, nice to use those cores that would stay idle.

But...

$ grep -c ^processor /proc/cpuinfo
3

So why is that not a ~300% is there only parallelism for 2 threads,
or is it an unintended side effect and there is no parallelism ?

If it had been ~100% or ~300% I would not have asked, but that
200% looks wrong one (missed a core) way or the other (no
parallelism)...

Thanks for feeding my curiosity...

-- 
Vincent Legoll

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

* Re: guix pull parallelism
  2016-08-12 14:31 guix pull parallelism Vincent Legoll
@ 2016-08-13 11:11 ` Vincent Legoll
  0 siblings, 0 replies; 2+ messages in thread
From: Vincent Legoll @ 2016-08-13 11:11 UTC (permalink / raw)
  To: help-guix

Hello

> If it had been ~100% or ~300% I would not have asked, but that
> 200% looks wrong one (missed a core) way or the other (no
> parallelism)...

OK I looked more into this, and now I'm seeing parts that are 1 CPU,
but the bulk is between 250% and 280%, so I think it's OK for a 3 CPU
VM. Disregard my previous observations.

-- 
Vincent Legoll

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

end of thread, other threads:[~2016-08-13 11:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-12 14:31 guix pull parallelism Vincent Legoll
2016-08-13 11:11 ` Vincent Legoll

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).