[parsec-users] Set affinity of benchmarks in SMT processor

Can Hankendi hankendi at gmail.com
Fri Nov 16 15:24:18 EST 2012


For PARSEC, you can use environment variables PARSEC_CPU_NUM and
PARSEC_CPU_BASE. For instance, PARSEC_CPU_NUM=1, PARSEC_CPU_BASE=2 means
that, your application will run only on Core#2.


On Thu, Nov 15, 2012 at 4:48 PM, Seyed Majid Zahedi <
s.majid.zahedi at gmail.com> wrote:

>  Hi all,
>
> I want to run two benchmarks on a single core smt processor with two
> threads.
> 1. How can I set affinity of each benchmark?
> 2. If I use "./parsecmgmt -a run -c gcc-hooks -x roi -n 1 -i simsmall -p
> blackscholes bodytrack" how can I make sure that benchmarks are running on
> different logical CPUs?
>
> Thank you in advance for your time.
>
> Best,
> -Seyed
>
> _______________________________________________
> parsec-users mailing list
> parsec-users at lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/parsec-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/parsec-users/attachments/20121116/a9b956d8/attachment.html>


More information about the parsec-users mailing list