Discussion:
[gem5-users] gem5 processes
Parmida Vahdatnia
2018-08-15 07:38:53 UTC
Permalink
Hi all
I'm trying to run some processes in various mapping ways on a XY_Mesh in
gem5, for this I'm assigning each cpu in the mesh with a selected process
but till now I've only used the basic hello world in test-progs while I
want my processes to contain mathematical and other kind of work.
are there any other processes like the hello world that I can use in gem5?
and if not and if I should use benchmarks is there a way to break
benchmarks into tasks and assign each task to separated cpus in gem5?
thank you!
Parmida Vahdatnia
2018-08-15 09:54:18 UTC
Permalink
Also is there a way to tell a number of cpus to do nothing? I get an error
of list index when I don't assign any process to some of them in the se
code.



On Wed, Aug 15, 2018 at 12:08 PM, Parmida Vahdatnia <
Post by Parmida Vahdatnia
Hi all
I'm trying to run some processes in various mapping ways on a XY_Mesh in
gem5, for this I'm assigning each cpu in the mesh with a selected process
but till now I've only used the basic hello world in test-progs while I
want my processes to contain mathematical and other kind of work.
are there any other processes like the hello world that I can use in gem5?
and if not and if I should use benchmarks is there a way to break
benchmarks into tasks and assign each task to separated cpus in gem5?
thank you!
Parmida Vahdatnia
2018-08-18 08:29:35 UTC
Permalink
Hello again
the problem is kind of solved, if anyone else ever faced this you could
just write your own processes in c and give the compiled files to cores
instead of breaking benchmarks, Also for core communication you should bind
those processes together. And for the cores that I want to do nothing I'm
just assigning a compiled c code that does nothing to them although don't
know if that's ok to do.



On Wed, Aug 15, 2018 at 2:24 PM, Parmida Vahdatnia <
Post by Parmida Vahdatnia
Also is there a way to tell a number of cpus to do nothing? I get an error
of list index when I don't assign any process to some of them in the se
code.
On Wed, Aug 15, 2018 at 12:08 PM, Parmida Vahdatnia <
Post by Parmida Vahdatnia
Hi all
I'm trying to run some processes in various mapping ways on a XY_Mesh in
gem5, for this I'm assigning each cpu in the mesh with a selected process
but till now I've only used the basic hello world in test-progs while I
want my processes to contain mathematical and other kind of work.
are there any other processes like the hello world that I can use in
gem5? and if not and if I should use benchmarks is there a way to break
benchmarks into tasks and assign each task to separated cpus in gem5?
thank you!
Loading...