Hey,
Try this, taskset 0x01 first & taskset 0x02 second.
Do you know how to do the same in SE mode. For me if both processes have
same size array then they allocate same starting address and share it but
that's not what I want to do. Otherwise they don't run in parallel.

On Sat, 12 Sep 2020, 8:16 pm Saideepak Bejawada via gem5-users, <
[email protected]> wrote:

> Hi all,
>
> How do I run two programs parallelly on two different cores in FS?
> Using ' taskset -c 0 ./prog1 && tasket -c 1 ./prog2 ' didn't work. The
> first prog worked, but second one gave 'set affinity: invalid argument'.
> Similar thing happened with '/sbin/m5 pin 0 ./prog1' and 'sbin/m5 pin 1
> ./prog2''
> I have tried sched_setaffinity() too, that also gave the same error.
> Does any one have any idea how to do this?
>
> Thanks for your time and any comments are welcome.
> -
> Saideepak.
> _______________________________________________
> gem5-users mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
>
_______________________________________________
gem5-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to