On 05/22/2013 08:25 AM, Qiuling Zhu
wrote:
Hi,
I am new to Marss. I have a simple clarification question
about the core configurations.
Is it true that if I compile the MARSS as below, then I can
simulate a machine with 8 cores and the configuration of each
core is as specified in the my_machine.conf?
scons -Q c=8 config=my_machine.conf
Basically, compiling in this way means you would have 8 virtual
cores. That is, if in your configuration file each core has 2
threads, then you would have 4 cores each with two threads which is
exactly 8 virtual cores.
But it also says that in the "my_machine.conf", each core can
be
configured to multi-threaded core. Say I have a multi-threaded
application
designed with pThreads (assume the number of thread is 8). So
in order to
model a machine to have 8 or more processors to simulate the
application,
should I do scons -c 8
or should I set "min_contexts: 8 or threads: 8" in the
"my_machine.conf"?
You just need to use scons -Q c=8. with min_contexts: 8 you are
saying that this machine needs at least 8 virtual cores ,so for
example, if you compile it with c=4 then you cannot use this
particular machine. The threads: 8 means that each core has 8
threads.
Best,
Seyed
_______________________________________________
http://www.marss86.org
Marss86-Devel mailing list
[email protected]
https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel
|
_______________________________________________
http://www.marss86.org
Marss86-Devel mailing list
[email protected]
https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel