XiangYu Dong:

Thanks for your advice, I use Andreas's patch to integrate the GEM5 with
DRAMSim2 and It works well.

thanks,
Xing

On Mon, Nov 25, 2013 at 5:21 PM, Rio Xiangyu Dong <[email protected]>wrote:

> Hi Xing,
>
>
>
> It seems to be a python script error to me.  But, anyway I don’t recommend
> use DRAMsim2 in FS mode.  DRAMsim2 is cycle-driven not event-driven.  This
> makes the FS simulation take unacceptably long time.  The SimpleDRAM module
> from Andreas should work for your project.
>
>
>
> Best,
>
> Xiangyu
>
>
>
> *From:* [email protected] [mailto:[email protected]] *On
> Behalf Of *Xing Niu
> *Sent:* Sunday, November 24, 2013 10:21 PM
> *To:* [email protected]
> *Subject:* [gem5-users] DRAMSim2+GEM5 Error
>
>
>
> Hi, I want to use DRAMSim2+GEM5, and the patch of Xiangyu Dong is used.
> Dong  only supplies the se_dramsim2.py, but I want to use the FS mode.
>
>
>
> I modified the fs.py, only adding one sentence below
>
>
>
> test_sys.physmem = DRAMMemory(range=AddrRange("512MB"))
>
>
>
> the following error occured.
>
>
>
> xniu@hec-53:~/gem5_parsec1/gem5$ ./build/ALPHA_FS/m5.opt
> configs/example/fs_dramsim2.py -t
>
>
>
> gem5 Simulator System.  http://gem5.org
>
> gem5 is copyrighted software; use the --copyright option for details.
>
> gem5 compiled Nov 24 2013 17:37:01
>
> gem5 started Nov 24 2013 23:20:56
>
> gem5 executing on hec-53
>
> command line: ./build/ALPHA_FS/m5.opt configs/example/fs_dramsim2.py -t
>
> Global frequency set at 1000000000000 ticks per second
>
> warn: This is an integrated DRAMsim v2 module
>
> CPU Clock = 2000MHz
>
> Memory Bus Clock = 666MHz
>
> Memory Capacity = 512MB
>
> info: kernel located at: /mnt/common/xniu/parsec/m5_system/binaries/vmlinux
>
> Listening for system connection on port 3456
>
>       0: system.tsunami.io.rtc: Real-time clock set to Thu Jan  1 00:00:00
> 2009
>
> Error connecting port system.membus.port to <orphan PhysicalMemory>.port
>
> Traceback (most recent call last):
>
>   File "<string>", line 1, in <module>
>
>   File "/mnt/common/xniu/gem5_parsec1/gem5/src/python/m5/main.py", line
> 356, in main
>
>     exec filecode in scope
>
>   File "configs/example/fs_dramsim2.py", line 219, in <module>
>
>     Simulation.run(options, root, test_sys, FutureClass)
>
>   File "/mnt/common/xniu/gem5_parsec1/gem5/configs/common/Simulation.py",
> line 235, in run
>
>     m5.instantiate(checkpoint_dir)
>
>   File "/mnt/common/xniu/gem5_parsec1/gem5/src/python/m5/simulate.py",
> line 79,  in instantiate
>
>     for obj in root.descendants(): obj.connectPorts()
>
>   File "/mnt/common/xniu/gem5_parsec1/gem5/src/python/m5/SimObject.py",
> line 972  , in connectPorts
>
>     portRef.ccConnect()
>
>   File "/mnt/common/xniu/gem5_parsec1/gem5/src/python/m5/params.py", line
> 1473,  in ccConnect
>
>     [el.ccConnect() for el in self.elements]
>
>   File "/mnt/common/xniu/gem5_parsec1/gem5/src/python/m5/params.py", line
> 1395, in ccConnect
>
>     peer.simobj.getCCObject(), peer.name, peer.index)
>
>   File "/mnt/common/xniu/gem5_parsec1/gem5/src/python/m5/SimObject.py",
> line 943  , in getCCObject
>
>     raise RuntimeError, "Attempt to instantiate orphan node"
>
> RuntimeError: Attempt to instantiate orphan node
>
>
>
>
>
> Thanks in advance,
>
> Xing
>
>
>
>
>
> _______________________________________________
> gem5-users mailing list
> [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

Reply via email to