Yes, it uses threads when it wants to.  There is no option to turn
threads off (and no code path that would do so).  One has limited
control using block size and counts.  Ideally it would be more parallel.

Kenneth

On 04/27/2016 03:25 PM, koormoosh wrote:
> Hello,
> 
> Out of curiosity, does anyone know if multithreading is enabled by
> default during the execution of lmplz of kenlm? I noticed the lmplz cpu
> usage goes up and down around 300% (sometimes). I didn't pass any
> parameter to enable multithreading in lmplz and couldn't find any
> parameter on the website so I assume it's done internally and by
> default. Does anyone know when it decides to do multithreading?
> 
> regards,
> -k
> 
> 
> _______________________________________________
> Moses-support mailing list
> [email protected]
> http://mailman.mit.edu/mailman/listinfo/moses-support
> 
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to