glennhickey / progressiveCactus

Distribution package for the Prgressive Cactus multiple genome aligner. Dependencies are linked as submodules
Other
79 stars 26 forks source link

Setting the maxThreads param #113

Closed iminkin closed 6 years ago

iminkin commented 6 years ago

Hi,

Theoretically, does it make sense to set the maxThreads to parameter to the number smaller than the number of the cores available? Some programs run slower with too much parallelism, is it true for cactus?

joelarmstrong commented 6 years ago

Hi Ilya,

Theoretically, cactus might use a tiny bit of CPU in its 'bookkeeping' processes at the same time that the processes it's supervising are doing the real work. But that usage should be very minimal. You could set it a bit lower than the number of CPUs you have if you want to leave some spare room, but it almost certainly would run a bit slower, not faster.

iminkin commented 6 years ago

Thanks.