Re: [gem5-users] What is the TBE in Ruby?

2013-10-02 Thread Yanqi Zhou
It is the registers for non-blocking cache, which allows you to have multiple cache accesses when there is a memory request in-flight. From: gem5-users-boun...@gem5.org [gem5-users-boun...@gem5.org] on behalf of Alex [alegomas...@yahoo.ca] Sent: Wednesday,

[gem5-users] SPEC benchmark

2013-09-27 Thread Yanqi Zhou
Hi, I am running SPEC2006 on Alpha FS mode. perlbench and xalancbmk always end up with "unaligned trap segmentation fault". Does anyone have the same problem? Can anyone share me a fully working disk image with SPEC2006? Thanks, Yanqi ___ gem5-users ma

Re: [gem5-users] Multicore programs

2013-09-07 Thread Yanqi Zhou
ould you be more specific how you achieve this? Thanks, Teng From: Yanqi Zhou Sent: ‎Friday‎, ‎September‎ ‎6‎, ‎2013 ‎10‎:‎53‎ ‎AM To: gem5 users mailing list Hi Steve, I used another command from someone other's post: export GOMP_CPU_AFFINITY="0 1 2 3" It works. Thanks, Yanqi

Re: [gem5-users] Multicore programs

2013-09-06 Thread Yanqi Zhou
On Fri, Sep 6, 2013 at 6:45 AM, Yanqi Zhou mailto:yan...@princeton.edu>> wrote: Hi Steve, I tried taskset -pc 0 ./astar & taskset -pc 1 ./bzip but the program terminates early. Can you show me the exact command I should use? Thanks, Yanqi From: gem5-users

Re: [gem5-users] Multicore programs

2013-09-06 Thread Yanqi Zhou
-c ";" -o ";" --num-cpus 2 I am not sure about FS mode, hope this helps. Best, Zheng On 2013-09-04, at 12:49 PM, Yanqi Zhou mailto:yan...@princeton.edu>> wrote: Hi Everyone, How can I run multiple different programs on different cores? For example, I need to run "a

Re: [gem5-users] Multicore programs

2013-09-05 Thread Yanqi Zhou
mode or FS mode. In SE mode, you can simply specify the benchmark you want to run with the following command line options: ./gem5.opt config/example/se.py -c ";" -o ";" --num-cpus 2 I am not sure about FS mode, hope this helps. Best, Zheng On 2013-09-04, at 12:49 PM, Yan

[gem5-users] Multicore programs

2013-09-04 Thread Yanqi Zhou
Hi Everyone, How can I run multiple different programs on different cores? For example, I need to run "astar" and "bzip" on two different cores, and gather traces for each of the tow. Can anyone share me some tips running multi-programs? Thanks, Yanqi

[gem5-users] Web-based benchmark

2013-07-03 Thread Yanqi Zhou
Hi Everyone, Has anyone successfully run mySQL on gem5? Can anyone share the experience? Thanks, Yanqi ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Re: [gem5-users] Thread switch

2013-06-13 Thread Yanqi Zhou
. Steve On Wed, Jun 12, 2013 at 3:24 PM, Yanqi Zhou mailto:yan...@princeton.edu>> wrote: Great to know! Thanks again. One more question: what is the best way to stall a cpu? There are ways such as inserting cache stalls. Can you suggest a easy way to stall one cpu without affecting anoth

Re: [gem5-users] Thread switch

2013-06-12 Thread Yanqi Zhou
suspendContext() and activateContext() might be the calls you are looking for. Steve On Wed, Jun 12, 2013 at 3:24 PM, Yanqi Zhou mailto:yan...@princeton.edu>> wrote: Great to know! Thanks again. One more question: what is the best way to stall a cpu? There are ways such as inserting cache stalls. C

Re: [gem5-users] Thread switch

2013-06-12 Thread Yanqi Zhou
here: http://gem5.org/Checkpoints#Switchover.2FFastforwarding Steve On Wed, Jun 12, 2013 at 2:18 PM, Yanqi Zhou mailto:yan...@princeton.edu>> wrote: Thanks Steve, I have a question regarding cpu switch. What triggers the cpu switch in gem5 by default? What happens to cpu1 if cpu0 is s

Re: [gem5-users] Thread switch

2013-06-12 Thread Yanqi Zhou
represent the same logical CPU. Steve On Wed, Jun 12, 2013 at 12:59 PM, Yanqi Zhou mailto:yan...@princeton.edu>> wrote: Hi Steve, I also tried : cpu->switchOut(); This results in error: build/ALPHA/sim/eventq.hh:491: void EventQueue::schedule(Event*, Tick): Assertion `(UTick)when

Re: [gem5-users] Thread switch

2013-06-12 Thread Yanqi Zhou
urrent tick? I am confused here. Thanks, From: gem5-users-boun...@gem5.org [gem5-users-boun...@gem5.org] on behalf of Yanqi Zhou [yan...@princeton.edu] Sent: Wednesday, June 12, 2013 3:50 PM To: gem5 users mailing list Subject: Re: [gem5-users] Thread switch Hi

Re: [gem5-users] Thread switch

2013-06-12 Thread Yanqi Zhou
reads on the same CPU, or on different CPUs? Steve On Tue, Jun 11, 2013 at 5:22 PM, Yanqi Zhou mailto:yan...@princeton.edu>> wrote: Hey everyone, Do anyone know how to force a thread switch when running multithreaded benchmark, such as PARSEC? I am not a good hacker, and cannot figure

[gem5-users] Thread switch

2013-06-11 Thread Yanqi Zhou
Hey everyone, Do anyone know how to force a thread switch when running multithreaded benchmark, such as PARSEC? I am not a good hacker, and cannot figure out a way... I appreciate any suggestion. Yanqi ___ gem5-users mailing list gem5-users@gem5.org htt

[gem5-users] (no subject)

2013-06-07 Thread Yanqi Zhou
Hi everyone, Some of the PARSEC benchmarks end with error: build/ALPHA/sim/eventq.cc:63: virtual Event::~Event(): Assertion `!scheduled()' failed. 181 Program aborted at cycle 242845445 182 /var/spool/PBS/mom_priv/jobs/1185438.della-pbs.SC: line 10: 10507 Aborted I followed the instruction fr

[gem5-users] Trace file

2013-05-23 Thread Yanqi Zhou
Hi Everyone, I have a question about the trace files. In src/cpu/exetrace.cc, there is a Trace::ExeTracerRecord::traceInst(StaticInstPtr inst, bool ran) I know this function is used to print out the trace, but I searched everywhere, could not find where it is used. I need to know where it is used

[gem5-users] stall gem5

2013-05-23 Thread Yanqi Zhou
Hi everyone, I am running multithread programs on gem5 using multiple cores. Is there a way to stall a certain core at some point? Thanks, ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Re: [gem5-users] multithreading program

2013-05-20 Thread Yanqi Zhou
program with 4 threads and 4 cpus. But from the generated trace, only cpu numbers differ, not the thread. The thread number is always 0. What is wrong here? Thanks, From: gem5-users-boun...@gem5.org [gem5-users-boun...@gem5.org] on behalf of Yanqi Zhou [yan

Re: [gem5-users] multithreading program

2013-05-16 Thread Yanqi Zhou
at 3:54 PM, Yanqi Zhou mailto:yan...@princeton.edu>> 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 can

[gem5-users] multithreading program

2013-05-14 Thread Yanqi Zhou
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 contex