[parsec-users] Dedup number of threads

major mbb45 at cornell.edu
Wed Apr 15 00:41:47 EDT 2009

Can you use the taskset command on your system? It comes with most 
recent linux distro's.

taskset 0xHEX "command to execute"

Where HEX is the processors you want to bind the process to, so on an 
eight core machine, putting F (1111 in binary) would bind the process to 
the last 4 cores (cores 0,1,2,3 on your machine).

Nikolay Kurtov wrote:
> Hello all,
> I compile dedup with pthreads, launch it with "-t 1".
> What I presume to see is that the application uses only 1 thread.
> In fact it creates 5 threads.
> with "-t 8" it creates 26 threads.
> How can I limit the application to run using only N cores?
> I don't care about the number of threads the application actually 
> uses, I just want the application to run on 1,2,...,N cores.
> -- 
> Regards,
> Nikolay
> mailto: nkurtov at gmail.com <mailto:nkurtov at gmail.com>
> ------------------------------------------------------------------------
> _______________________________________________
> parsec-users mailing list
> parsec-users at lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/parsec-users

More information about the parsec-users mailing list