
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
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@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe