Hi Shivam,

I’m glad to hear the DRAM mystery is resolved.

I haven’t look in detail at the code, but I suspect the confusion here is 
around the definition of “idle”. When the simple timing CPU is blocked waiting 
for a response from the cache I do not think it is considered idle, but rather 
blocked.

Andreas

From: Shivam Agarwal 
<[email protected]<mailto:[email protected]>>
Reply-To: gem5 users mailing list 
<[email protected]<mailto:[email protected]>>
Date: Wednesday, February 12, 2014 at 11:48 AM
To: gem5 users mailing list <[email protected]<mailto:[email protected]>>
Subject: Re: [gem5-users] Change in DRAM timing not reflected in simulation

Hi Andreas
  Thanks for your suggestion. Actually the default DRAM page policy in 
SimpleDRAM.py was "open" and row buffer hit percentage was 96%. On changing it 
to "close" I see the latency as 4 times as expected. However I am not able to 
explain the following data on percentage of idle cycles.
Case 1: With Cache
        system.cpu.idle_fraction      0.862406     # Percentage of idle cycles

Case 2: Without Cache
        system.cpu.idle_fraction      0.246442    # Percentage of idle cycles


I tried this for several parsec benchmarks and found that as I increase the 
cache size, percentage of idle cycles increases. Instead I expect the cpu to be 
idle for less time as cache size is increased. In every case I have used tRCD 
as 130.75ns(10 times the original). Kindly help me understand this.

Thanks
Shivam




On Tue, Feb 11, 2014 at 3:11 PM, Andreas Hansson 
<[email protected]<mailto:[email protected]>> wrote:
Hi Shivam,

That does sound rather surprising indeed. For writes it will probably not make 
much of a difference, since they are responded to as soon as they are placed in 
the memory controller queue. For reads, your average latency should go up (as 
you say).

I’d suggest to start by having a look at the memory stats (avgQLat, avgBusLat, 
avgBankLat, avgMemAccLat). That will give you an impression what is changing on 
the memory side.

Thanks,

Andreas

From: Shivam Agarwal 
<[email protected]<mailto:[email protected]>>
Reply-To: gem5 users mailing list 
<[email protected]<mailto:[email protected]>>
Date: Tuesday, 11 February 2014 06:52
To: gem5 users mailing list <[email protected]<mailto:[email protected]>>
Subject: [gem5-users] Change in DRAM timing not reflected in simulation

Hi all
  As I change tRCD of DDR3_1600_x64 in src/mem/SimpleDRAM.py (and rebuilding) , 
I do not see any significant change in simulation time. I expected that when no 
caches are used simulation time should increase as tRCD of DRAM increases, 
because every memory request has to be served by main memory.
The command line I use is:       ./build/ALPHA/gem5.opt ./configs/example/fs.py 
--cpu-type=timing --mem-size=512MB --mem-type=DDR3_1600_x64 
--disk-image=/disks/linux-parsec-2-1-m5-with-test-inputs.img 
--script=blackscholes_2c_simsmall.rcS.
Can anyone please tell me how I can see latency effects of DRAM on simulation 
time.

Thanks
Shivam

-- IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium. Thank you.

ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered 
in England & Wales, Company No: 2557590
ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, 
Registered in England & Wales, Company No: 2548782

_______________________________________________
gem5-users mailing list
[email protected]<mailto:[email protected]>
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users


-- IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium. Thank you.

ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered 
in England & Wales, Company No: 2557590
ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, 
Registered in England & Wales, Company No: 2548782
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to