Re: compiling guix is too slow?

2017-07-05 Thread Chris Marusich
"Feng Shu" writes: > Now I have found that 'guix pull' is too slow, > I need 3 hours to compile guix, is it possible to speed it ? 3 hours is longer than it usually takes on my Lenovo X200 laptop with 2 cores, an SSD, and 8 GB of RAM. Usually, for me, it seems to take about 15

Re: compiling guix is too slow?

2017-07-05 Thread Alex Vong
Alex Kost writes: > Alex Vong (2017-07-04 16:16 +0800) wrote: > > [...] >> Is there an intermediate approch? Is is possible for Emacs to signal a >> warning when the required features are not found, but still continue >> loading the rest of the config? > > If you wish to have

Re: compiling guix is too slow?

2017-07-05 Thread Alex Kost
Alex Vong (2017-07-04 16:16 +0800) wrote: [...] > Is there an intermediate approch? Is is possible for Emacs to signal a > warning when the required features are not found, but still continue > loading the rest of the config? If you wish to have a message in *Messages* buffer, you can do it like

Re: compiling guix is too slow?

2017-07-04 Thread ng0
Ricardo Wurmus transcribed 1.6K bytes: > > ng0 writes: > > > I'd say we split up: > > > > 2.0 MiB and bigger: > > python (3.7 MiB go) > > perl (2.3 MiB go) > > haskell(2.1 MiB go) > > bioinformatics (2.0 MiB go) > > Modules named after languages

Re: compiling guix is too slow?

2017-07-04 Thread Alex Vong
Alex Kost writes: > Alex Vong (2017-06-29 12:28 +0800) wrote: > >> "Feng Shu" writes: >> >>> Now I have found that 'guix pull' is too slow, >>> I need 3 hours to compile guix, is it possible to speed it ? >> >> Maybe you can try building from git instead? I

Re: compiling guix is too slow?

2017-07-03 Thread ng0
Ludovic Courtès transcribed 0.3K bytes: > ng0 skribis: > > > What about the sledgehammer approach: > > Would it help if we just split the incredible long modules into > > smaller modules like python-web, python-library, etc? > > We can always do that, yes (and it’s

Re: compiling guix is too slow?

2017-07-03 Thread Ludovic Courtès
ng0 skribis: > What about the sledgehammer approach: > Would it help if we just split the incredible long modules into > smaller modules like python-web, python-library, etc? We can always do that, yes (and it’s probably a good idea independently of this.) Any volunteer

Re: compiling guix is too slow?

2017-07-03 Thread Ludovic Courtès
Andy Wingo skribis: > On Sat 01 Jul 2017 15:33, l...@gnu.org (Ludovic Courtès) writes: > >> Leo Famulari skribis: >> >>> My understanding is that Guile 2.2 traded slower compilation for faster >>> execution of compiled programs. Hopefully the performance of

Re: compiling guix is too slow?

2017-07-03 Thread ng0
Andy Wingo transcribed 1.5K bytes: > On Sat 01 Jul 2017 15:33, l...@gnu.org (Ludovic Courtès) writes: > > > Leo Famulari skribis: > > > >> My understanding is that Guile 2.2 traded slower compilation for faster > >> execution of compiled programs. Hopefully the performance of

Re: compiling guix is too slow?

2017-07-03 Thread Andy Wingo
On Sat 01 Jul 2017 15:33, l...@gnu.org (Ludovic Courtès) writes: > Leo Famulari skribis: > >> My understanding is that Guile 2.2 traded slower compilation for faster >> execution of compiled programs. Hopefully the performance of the >> compiler will be improved in later

Re: compiling guix is too slow?

2017-07-02 Thread Alex Kost
Alex Vong (2017-06-29 12:28 +0800) wrote: > "Feng Shu" writes: > >> Now I have found that 'guix pull' is too slow, >> I need 3 hours to compile guix, is it possible to speed it ? > > Maybe you can try building from git instead? I used to run > '$ guix pull && guix package

Re: compiling guix is too slow?

2017-07-01 Thread Ludovic Courtès
Hi, Leo Famulari skribis: > My understanding is that Guile 2.2 traded slower compilation for faster > execution of compiled programs. Hopefully the performance of the > compiler will be improved in later updates to Guile. Yes, that’s a good summary. Most of the code we

Re: compiling guix is too slow?

2017-06-28 Thread Alex Vong
"Feng Shu" writes: > Now I have found that 'guix pull' is too slow, > I need 3 hours to compile guix, is it possible to speed it ? Maybe you can try building from git instead? I used to run '$ guix pull && guix package --upgrade', but it gets slower as the number of packages of

Re: compiling guix is too slow?

2017-06-28 Thread Leo Famulari
On Thu, Jun 29, 2017 at 06:58:28AM +0800, Feng Shu wrote: > > Now I have found that 'guix pull' is too slow, > I need 3 hours to compile guix, is it possible to speed it ? Wow, that's really slow :( I don't know of any easy way to speed it up. Maybe you could build Guix on a faster computer and

Re: compiling guix is too slow?

2017-06-28 Thread Adonay Felipe Nogueira
I'm also trying to understand the cause of this. I still don't have enough time to begin investigating it or to suggest improvements, but I notice that it gets worse and with *more* resource usage if you pass the `--cores`/`-c` option with any value to `guix pull`. Without this option the