Hi, 

I would like to run a multi-thread programs on m5. 

How to configure m5 so that it can support 4 CPU ?

I found that some example programs in  /tests/quick , in the directory   
00.hello.mp, 
there is  the test.py :

# workload
benchmarks = [
    "tests/test-progs/hello/bin/alpha/linux/hello", "'hello'",
    "tests/test-progs/hello/bin/alpha/linux/hello", "'hello'",
    "tests/test-progs/hello/bin/alpha/linux/hello", "'hello'",
    "tests/test-progs/hello/bin/alpha/linux/hello", "'hello'",
    ]

for i, cpu in zip(range(len(cpus)), root.system.cpu):
    p            = LiveProcess()
    p.executable = benchmarks[i*2]
    p.cmd        = benchmarks[(i*2)+1]
    root.system.cpu[i].workload = p
    root.system.cpu[i].max_insts_all_threads = 10000000
#root.system.cpu.workload = LiveProcess(cmd = 'hello',
 #                                      executable = binpath('hello'))


Is it possible to run more benchmarks and enable more CPU s , such as 32 ?

If yes, how can I do that ?

thanks,

May 13  2008 







_________________________________________________________________
Windows Live SkyDrive lets you share files with faraway friends.
http://www.windowslive.com/skydrive/overview.html?ocid=TXT_TAGLM_WL_Refresh_skydrive_052008
_______________________________________________
m5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users

Reply via email to