You can use gem5.fast instead of using gem5.debug. gem5.debug includes all the debugging info, hence is slow. gem5.fast is compiled with -O3, so it is highly optimized and will execute much faster compared to the debug version.

--
Nilay


On Wed, 16 Nov 2011, yanke wrote:

yanke <ykyanke <at> 126.com> writes:



Hello,        I try to use gem5 in alpha full system + ruby,  the stable
version have been successfully compiled. But when I run it using the command
:./build/ALPHA_FS/gem5.debug configs/example/ruby_fs.py -n 16
--l1i_size=8kB --l1d_size=8kB --l2_size=128kB --num-l2caches=16 --topology=Mesh --timing --num-dirs=16 --mesh-rows=4       I get the following
output:Error: could not create sytem for ruby protocol MI_exampleTraceback
(most recent call last):  File "<string>", line 1, in ?  File "/home/yanke/sde/parsec/gem5-stable-b9ba22cb23f2/src/python/m5/main.py", line 356, in main    exec filecode in scope  File "configs/example/ruby_fs.py", line 123, in ?    system._dma_devices)  File "/home/yanke/sde/parsec/gem5-stable-b9ba22cb23f2/configs/ruby/Ruby.py", line 68, in create_system    (cpu_sequencers, dir_cntrls, all_cntrls) = \  File "<string>", line 0, in ?  File "/home/yanke/sde/parsec/gem5-stable-b9ba22cb23f2/configs/ruby/MI_example.py",
 line 151, in create_system    system.dma_cntrl.dma_sequencer.port =
dma_device.dma  File "/home/yanke/sde/parsec/gem5-stable-b9ba22cb23f2/src/python/m5/SimObject.py", line 603, in __getattr__    raise AttributeError, "object '%s' has no attribute '%s'" \AttributeError: object 'LinuxAlphaSystem' has no
 attribute 'dma_cntrl'while the development version can run successfully but
only boots 4 cores, and stop there for ever:==== m5 slave terminal: Terminal 0
====M5 console: m5AlphaAccess  <at>  0xFFFFFD0200000000Got Configuration
623memsize 8000000 pages 4000 First free page after ROM 0xFFFFFC0000018000HWRPB
0xFFFFFC0000018000 l1pt 0xFFFFFC0000040000 l2pt 0xFFFFFC0000042000 l3pt_rpb
0xFFFFFC0000044000 l3pt_kernel 0xFFFFFC0000048000 l2reserv
0xFFFFFC0000046000kstart = 0xFFFFFC0000310000, kend = 0xFFFFFC0000855898, kentry
= 0xFFFFFC0000310000, numCPUs = 0x10CPU Clock at 2000 MHz
IntrClockFrequency=1024 Booting with 16 processor(s) KSP: 0x20043FE8 PTBR
0x20KSP: 0x20043FE8 PTBR 0x20KSP: 0x20043FE8 PTB
 R 0x20KSP: 0x20043FE8 PTBR 0x20KSP: 0x20043FE8 PTBR 0x20KSP: 0x20043FE8 PTBR
0x20KSP: 0x20043FE8 PTBR 0x20KSP: 0x20043FE8 PTBR 0x20KSP: 0x20043FE8 PTBR
0x20KSP: 0
 x20043FE8 PTBR 0x20KSP: 0x20043FE8 PTBR 0x20KSP: 0x20043FE8 PTBR 0x20KSP:
0x20043FE8 PTBR 0x20KSP: 0x20043FE8 PTBR 0x20KSP: 0x20043FE8 PTBR 0x20KSP:
0x20043FE8 PTBR 0x20Console Callback at 0x0, fixup at 0x0, crb offset:
0x2A90Memory cluster 0 [0 - 392]Memory cluster 1 [392 - 15992]Initalizing
mdt_bitmap addr 0xFFFFFC0000038000 mem_pages 4000 ConsoleDispatch at virt
10002BD8 phys 1ABD8 val FFFFFC00000100A8Bootstraping CPU 1 with
sp=0xFFFFFC0000076000Bootstraping CPU 2 with sp=0xFFFFFC0000078000Bootstraping
CPU 3 with sp=0xFFFFFC000007A000Bootstraping CPU 4 with sp=0xFFFFFC000007C000Is
there anyone know the problem? 



_______________________________________________
gem5-users mailing list
gem5-users <at> gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users


While when I set the core to 4, it can boot up successfully, but very very
slowly.Dose anyone else have the same problem?




_______________________________________________
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