<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yui_3_16_0_ym19_1_1476216801148_422281" dir="ltr"><span id="yui_3_16_0_ym19_1_1476216801148_422377">> You may both want to look at the +sct option for the erl executable: </span></div><div id="yui_3_16_0_ym19_1_1476216801148_422281" dir="ltr"><span id="yui_3_16_0_ym19_1_1476216801148_422387">> http://erlang.org/doc/man/erl.html#+sct <br><br>This is the right answer.<br><br><span style="font-family: monospace; font-size: 13px;" id="yui_3_16_0_ym19_1_1476216801148_422449">> erl +sbt ts +SP 50:50<br></span><br>This wont bind to the specific system cores. It will use all cores the OS allows.</span></div> <div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"><font size="2" face="Arial"> On Monday, October 17, 2016 9:51 AM, Fred Hebert <mononcqc@ferd.ca> wrote:<br></font></div> <br><br> <div class="y_msg_container">On 10/17, Vans S wrote:<br clear="none">>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.<br clear="none">><br clear="none">> On Monday, October 17, 2016 9:35 AM, Tan Duong <<a shape="rect" ymailto="mailto:dn.nhattan@gmail.com" href="mailto:dn.nhattan@gmail.com">dn.nhattan@gmail.com</a>> wrote:<br clear="none">><br clear="none">><br clear="none">> Hi everybody,<br clear="none">>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?<br clear="none">>Best Regards,Tan<br clear="none"><br clear="none">You may both want to look at the +sct option for the erl executable: <br clear="none"><a shape="rect" href="http://erlang.org/doc/man/erl.html#+sct" target="_blank">http://erlang.org/doc/man/erl.html#+sct</a><div class="yqt0274086317" id="yqtfd68308"><br clear="none"><br clear="none">Regards,</div><br clear="none">Fred.<div class="yqt0274086317" id="yqtfd46943"><br clear="none"></div><br><br></div> </div> </div> </div></div></body></html>