Speaking anecdotally, it took me 3.5 minutes to compile lens on a 10
core / 20 thread machine with 32 gb of ram and it was not using my
cores very much for most of it. I don't think it's I/O limited because
the disk is an M.2 PCIe SSD.

This contrasts with lens taking ~5-5.5 minutes on my quad core machine
with a SATA SSD.

On Fri, Jul 8, 2016 at 2:01 PM, Christopher Allen <[email protected]> wrote:
> How'd you generate the all-packages file? I'd like to test this on my machine.
>
> On Fri, Jul 8, 2016 at 1:53 PM, Erik Rantapaa <[email protected]> wrote:
>> Hi all,
>>
>> I've been building a large number of packages with a single `stack install`
>> command, e.g. something like:
>>
>>     stack install --resolver ... --keep-going $(cat all-packages)
>>
>> On a 8-core / 16 GB box I've noticed that the worker threads are not always
>> kept busy. The overall %-idle time is at least 20%.
>>
>> So I'm wondering...
>>
>> - Is there anything I can do on the command line to improve CPU utilization?
>>
>> - Where can I find the code that does the job scheduling? I would like to
>> modify how package builds are prioritized to improve throughput.
>>
>> Thanks,
>> Erik
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "haskell-stack" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/haskell-stack/329a3117-b2ff-411c-954d-156001b622d6%40googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>
>
>
> --
> Chris Allen
> Currently working on http://haskellbook.com



-- 
Chris Allen
Currently working on http://haskellbook.com

-- 
You received this message because you are subscribed to the Google Groups 
"haskell-stack" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/haskell-stack/CADnndOrO%3D9GiHnqphK0KK5CM-dbg2%3DagwQGhKL6oF9%2BNZW5nWA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to