[erlang-questions] How to setup Erlang to run on physical cores

Fred Hebert mononcqc@REDACTED
Mon Oct 17 15:51:34 CEST 2016


On 10/17, Vans S wrote:
>I am interested in this too. Only way I know of so far is to use taskset or equivalent.  Ideally Erlang should bind each scheduler to each single cpu as speced by the topology.
>
>    On Monday, October 17, 2016 9:35 AM, Tan Duong <dn.nhattan@REDACTED> wrote:
>
>
> Hi everybody,
>I recently get to experiment an Erlang program.My machine is a multicore CPUs system, which contains some physical cores (say n), each cores features hyper threads (so the maximum CPU threads are 2*n)However, I just want to experiment the program on physical cores only (n cores), not with hyperthreading.is there any mechanism to do so?
>Best Regards,Tan

You may both want to look at the +sct option for the erl executable: 
http://erlang.org/doc/man/erl.html#+sct

Regards,
Fred.



More information about the erlang-questions mailing list