Hi, I run it in FS mode. Can you tell me the correct command? For instance, I want to run with 4 threads. Also I am curious whether the multithreading in gem5 is deterministic...
Thanks, Yanqi ________________________________ From: [email protected] [[email protected]] on behalf of Tianyun Zhang [[email protected]] Sent: Tuesday, May 14, 2013 4:07 PM To: gem5 users mailing list Subject: Re: [gem5-users] multithreading program heya, What's your command to run the simulations? Did u run it in SE or FS? In SE mode, u need to link the m5thread lib for multithread benchmarks like PARSEC. In FS mode, u only need to link the lpthread (if u built the parsec pthread version) and the OS will do all the context switches for u. Also did u turn on any debug flags like ExecAll which prints all the instructions including syscalls. On Tue, May 14, 2013 at 3:54 PM, Yanqi Zhou <[email protected]<mailto:[email protected]>> wrote: Hey everyone, Has anyone ever run multithreading program in gem5, such as PARSEC? What command should I use? I set the cpu_num to 4, only the system cpu is different in the trace file. How multithreading works in gem5? I cannot see any system call in the trace file, when the threads do a context switch in gem5? Thanks, _______________________________________________ gem5-users mailing list [email protected]<mailto:[email protected]> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
