Re: [gem5-users] Monitor and dump the cache state during full system simulation

2017-01-03 Thread Shuai Wang
Hi Majid, Thank you so much for your detailed information. I strongly appreciate that. I tried to update the code as you said, and it works fine to dump the information in the C++ code. However, I am still confused to interpret the "cache state" information at this step. Could you please take a l

Re: [gem5-users] Monitor and dump the cache state during full system simulation

2017-01-03 Thread Majid Namaki Shoushtari
Hi Shuai, I don't think Jason meant that you need to add a function to Caches.py. You will need to add something to the C++ class (src/mem/cache/cache.hh/cc). I'm not sure what kind of information you need to dump, but basically all of the incoming requests from CPU are received here: "Cache::Cpu

[gem5-users] 答复: Understanding the memory address in the trace

2017-01-03 Thread ps4 lover
Hey Jason, Thank you for your response. May I ask how should I cope the monitoring facilities with the address mapping? The following monitoring code is currently what I am using: system.monitor = CommMonitor() system.monitor.trace = MemTraceProbe(trace_file = "cache_package.ptrc.gz", with_pc

Re: [gem5-users] Thread binding to cores in FS mode simulation of ALPHA ISA

2017-01-03 Thread Zamshed Chowdhury
Hello, Thanks! I will use pthread cpu set affinity to pin the threads to cores and post about the outcome. Best regards. On Tue, Jan 3, 2017 at 9:34 AM, Jason Lowe-Power wrote: > Hello, > > The pthread affinity functions should work correctly in FS mode. You can > also use numactl, if it's ins

Re: [gem5-users] Speedup the x86 full system simulation under monitoring

2017-01-03 Thread Shuai Wang
Dear Jason, Thank you for your reply. I am not looking for the "data" in that memory location; I am just confused with the inconsistent memory address comparing the assembly code and the dumped memory access during runtime. As the example shown below, and let's suppose register %rdx equals to 12

Re: [gem5-users] Monitor and dump the cache state during full system simulation

2017-01-03 Thread Shuai Wang
Dear Jason, Thank you so much for your reply. Could you please elaborate more on how to "implement a function in Caches.py to dump the data"? As far as I can see, there are only some cache parameters defined in this scripts.. I really have no idea how should I bridge the code there with the runtim

[gem5-users] Reminder: Learning gem5 tutorial early registration deadline Jan 6

2017-01-03 Thread Jason Lowe-Power
Hi all, Just a quick reminder. If you're planning on attending the Learning gem5 tutorial and coding sprint held in conjunction with HPCA this year, the early registration deadline is *this Friday* January 6th. http://hpca2017.org/registration/ Hope to see you there! Cheers, Jason -- We will b

Re: [gem5-users] Thread binding to cores in FS mode simulation of ALPHA ISA

2017-01-03 Thread Jason Lowe-Power
Hello, The pthread affinity functions should work correctly in FS mode. You can also use numactl, if it's installed on your disk image to bind things to a specific CPU. I don't think there's any other simple way. Since you're using full system mode, the OS gets to choose what process is running on