For a CMP you should set PROCS_PER_CHIP and NUM_PROCESSORS identically, e.g.,
ruby0.setparam g_PROCS_PER_CHIP 2 ruby0.setparam g_NUM_PROCESSORS 2
Then you need to use a protocol that uses private L2s:
http://www.cs.wisc.edu/gems/doc/gems-wiki/moin.cgi/Protocols
You'll have to use an SMP protocol and adjust network latencies so that it approximates a CMP.
-Derek
On Mon, Jun 15, 2009 at 2:50 PM, David Bonavila <david.bonavila@xxxxxxxxxxxxxxxxxx> wrote:
OK, thanks. I need to model a 2-core CMP with private L2 for each of the cores. Then, how should I configure these parameters?? I guess it should be something like this:
ruby0.setparam g_PROCS_PER_CHIP 1
ruby0.setparam g_NUM_PROCESSORS 2
Is that right?? Should I set any other parameters or configuration?? I have read something about making a fast interconnect between chips. Do I need any of that??
Thank you again!!
2009/6/15 David Bonavila <david.bonavila@xxxxxxxxxxxxxxxxxx>
Hi.
I need to configure a CMP with a private L2 cache, and I would like to know which of these configs I should use:
1) ruby0.setparam g_PROCS_PER_CHIP 1
ruby0.setparam g_NUM_PROCESSORS 2
2) ruby0.setparam g_PROCS_PER_CHIP 2
ruby0.setparam g_NUM_PROCESSORS 2 ruby0.setparam_str g_CACHE_DESIGN PRIVATE_L2
3) ruby0.setparam g_PROCS_PER_CHIP 1
ruby0.setparam g_NUM_PROCESSORS 2
ruby0.setparam_str g_CACHE_DESIGN PRIVATE_L2
As I want to simulate a CMP, I guess I should use config number 2, but I don't know if that is the right way to do what I want. Does config number 1 (without the g_CACHE_DESIGN parameter) provide a private L2 cache??
Or is any of them acceptable and the result will be the same??
Thanks!!
_______________________________________________
Gems-users mailing list
Gems-users@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/gems-users
Use Google to search the GEMS Users mailing list by adding "site:https://lists.cs.wisc.edu/archive/gems-users/" to your search.
|