On Tuesday 27 September 2016 22:13:51 jf...@ms4.hinet.net wrote: > eryk sun at 2016/9/27 11:44:49AM wrote: > > The threads of a process do not share a single core. The OS > > schedules threads to distribute the load across all cores.... > > hmmm... your answer overthrow all my knowledge about Python threads > completely:-( I actually had ever considered using ProcessPoolExecutor > to do it. > > If the load was distributed by the OS schedules across all cores, does > it means I can't make one core solely running a piece of codes for me > and so I have no contol on its performance?
Someone in the know would have to elaborate on whether python knows about, or can cooperate with the boot time parameter 'isolcpus ='. Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) Genes Web page <http://geneslinuxbox.net:6309/gene> -- https://mail.python.org/mailman/listinfo/python-list