[Haskell-cafe] How does -N allot cores?
Thomas Miedema
thomasmiedema at gmail.com
Thu Jan 28 19:43:28 UTC 2016
You might be interested in this ticket:
https://ghc.haskell.org/trac/ghc/ticket/10229 ("setThreadAffinity assumes a
certain CPU virtual core layout")
On Thu, Jan 28, 2016 at 4:05 AM, Hong Yang <hyangfji at gmail.com> wrote:
> Hi Cafe,
>
> On an 1P system, there are 8 cores. Does -N8 send one thread to each core
> no matter how loaded each core is? Assuming 6 cores are busy, will -N8 send
> threads only to the two idle cores? If -N8 sends threads to eight cores no
> matter what, is there any function that detects number of idle (or usage
> less than certain percentage) cores?
>
> Suppose a 4P system has 32 cores (4 processors with each processor having
> 8 cores). Assuming the whole system is idle, how will -N32 work?
>
> Thanks,
>
> Hong
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20160128/0936f5f9/attachment.html>
More information about the Haskell-Cafe
mailing list