Hi Alex,
I am not sure I agree on the SimpleMemory recommendation. It is a bit like
saying "do not use the O3 CPU as it is slower than atomic". By opting for
SimpleMemory the memory system is also a very crude abstraction of a realistic
DRAM controller.
I think we should ensure that when we switch the memory system from timing to
atomic we should ensure that a the DRAMCtrl simply stops the refresh state
machine and power-down state machine. There may be other objects that want to
do similar things on such mode transitions (instead of checking for every
transaction if the memory system is in atomic or timing mode). Then on the
switch atomic->timing we would essentially start up the events again. I am not
entirely sure what this API looks like today, but I suggest that we work it out
and do it properly instead of opting for crude and inaccurate models. Makes
sense?
Thoughts and ideas are appreciated.
Andreas
--------------------------
Hi Mike,
The latest gem5 will now be able to run the KVM cpu model in SE mode. For the
moment, I would recommend using SimpleMemory (i.e. --mem-type=SimpleMemory).
With a more refined model of the memory the KvmCPU model will be interrupted by
the refresh event of the memory controller causing it to exit without being
able to actually execute any instructions [1]. These exits seem to slow it down.
Best regards,
Alex
[1] http://www.mail-archive.com/gem5-dev%40gem5.org/msg11421.html
________________________________
From: Dutu, Alexandru
Sent: Tuesday, November 18, 2014 11:02 AM
To: gem5-users at gem5.org<http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users>
Subject: RE: [gem5-users] x86 SE mode kvm support?
Hi Mike,
There are some patches ready to be committed for this to work.
I expect them to be committed by the end of this week.
Best regards,
Alex
-- 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