Dear All,

I am trying to run FFT benchmark on GEM5 with Ruby. I was not able to run it 
with 16 cores although I was using BigTsunami with the patched PAL code. I 
guess the problem with the memory size (was set to 512MB) which I had to 
increase to 2047MB (2048MB was resulting in overflow in simulator memory size). 
Now the simulator could bring up 16 cores to work but while booting the linux 
kernel, the process hangs when reaching "SCSI initialization". I never could 
complete the kernel boot operation. 
Here is what I get on the system.terminal 
-------------------------------------------------------------------------------------
M5 console: m5AlphaAccess @ 0xFFFFFD0200000000
Got Configuration 623
memsize 7FF00000 pages 3FF80 
First free page after ROM 0xFFFFFC0000018000
HWRPB 0xFFFFFC0000018000 l1pt 0xFFFFFC0000040000 l2pt 0xFFFFFC0000042000 
l3pt_rpb 0xFFFFFC0000044000 l3pt_kernel 0xFFFFFC0000048000 l2reserv 
0xFFFFFC0000046000
kstart = 0xFFFFFC0000310000, kend = 0xFFFFFC0000899860, kentry = 
0xFFFFFC0000310000, numCPUs = 0x10
CPU Clock at 2000 MHz IntrClockFrequency=1024 
Booting with 16 processor(s) 
KSP: 0x20043FE8 PTBR 0x20
KSP: 0x20043FE8 PTBR 0x20
KSP: 0x20043FE8 PTBR 0x20
KSP: 0x20043FE8 PTBR 0x20
KSP: 0x20043FE8 PTBR 0x20
KSP: 0x20043FE8 PTBR 0x20
KSP: 0x20043FE8 PTBR 0x20
KSP: 0x20043FE8 PTBR 0x20
KSP: 0x20043FE8 PTBR 0x20
KSP: 0x20043FE8 PTBR 0x20
KSP: 0x20043FE8 PTBR 0x20
KSP: 0x20043FE8 PTBR 0x20
KSP: 0x20043FE8 PTBR 0x20
KSP: 0x20043FE8 PTBR 0x20
KSP: 0x20043FE8 PTBR 0x20
KSP: 0x20043FE8 PTBR 0x20
Console Callback at 0x0, fixup at 0x0, crb offset: 0x2A90
Memory cluster 0 [0 - 392]
Memory cluster 1 [392 - 261624]
Initalizing mdt_bitmap addr 0xFFFFFC0000038000 mem_pages 3FF80 
ConsoleDispatch at virt 10002BD8 phys 1ABD8 val FFFFFC00000100A8
Bootstraping CPU 1 with sp=0xFFFFFC0000076000
Bootstraping CPU 2 with sp=0xFFFFFC0000078000
Bootstraping CPU 3 with sp=0xFFFFFC000007A000
Bootstraping CPU 4 with sp=0xFFFFFC000007C000
Bootstraping CPU 5 with sp=0xFFFFFC000007E000
Bootstraping CPU 6 with sp=0xFFFFFC0000080000
Bootstraping CPU 7 with sp=0xFFFFFC0000082000
Bootstraping CPU 8 with sp=0xFFFFFC0000084000
Bootstraping CPU 9 with sp=0xFFFFFC0000086000
Bootstraping CPU 10 with sp=0xFFFFFC0000088000
Bootstraping CPU 11 with sp=0xFFFFFC000008A000
Bootstraping CPU 12 with sp=0xFFFFFC000008C000
Bootstraping CPU 13 with sp=0xFFFFFC000008E000
Entering slaveloop for cpu 6 my_rpb=FFFFFC0000019080
Entering slaveloop for cpu 8 my_rpb=FFFFFC0000019580
Bootstraping CPU 14 with sp=0xFFFFFC0000090000
Entering slaveloop for cpu 4 my_rpb=FFFFFC0000018B80
Entering slaveloop for cpu 5 my_rpb=FFFFFC0000018E00
Entering slaveloop for cpu 12 my_rpb=FFFFFC0000019F80
Entering slaveloop for cpu 9 my_rpb=FFFFFC0000019800
Entering slaveloop for cpu 10 my_rpb=FFFFFC0000019A80
Bootstraping CPU 15 with sp=0xFFFFFC0000092000
Entering slaveloop for cpu 2 my_rpb=FFFFFC0000018680
Entering slaveloop for cpu 7 my_rpb=FFFFFC0000019300
Entering slaveloop for cpu 15 my_rpb=FFFFFC000001A700
Entering slaveloop for cpu 1 my_rpb=FFFFFC0000018400
Entering slaveloop for cpu 14 my_rpb=FFFFFC000001A480
Entering slaveloop for cpu 13 my_rpb=FFFFFC000001A200
unix_boot_mem ends at FFFFFC0000094000 
Entering slaveloop for cpu 3 my_rpb=FFFFFC0000018900
k_argc = 0 Entering slaveloop for cpu 11 my_rpb=FFFFFC0000019D00

jumping to kernel at 0xFFFFFC0000310000, (PCBB 0xFFFFFC0000018180 pfn 1101)
CallbackFixup 0 18000, t7=FFFFFC0000814000
Linux version 2.6.27.6-dirty (joel@capillary) (gcc version 4.3.4 
(crosstool-NG-1.5.2) ) #1 SMP Sat Mar 6 19:10:44 CST 2010
Booting GENERIC on Tsunami variation DP264 using machine vector DP264 from SRM
Major Options: SMP LEGACY_START VERBOSE_MCHECK 
Command line: root=/dev/hda1 console=ttyS0
memcluster 0, usage 1, start        0, end      392
memcluster 1, usage 0, start      392, end   262016
freeing pages 1103:262016
reserving pages 1103:1107
2048K Bcache detected; load hit latency 47 cycles, load miss latency 177 cycles
SMP: 16 CPUs probed -- cpu_present_map = ffff
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260224
Kernel command line: root=/dev/hda1 console=ttyS0
PID hash table entries: 4096 (order: 12, 32768 bytes)
Using epoch = 1900
Console: colour dummy device 80x25
console [ttyS0] enabled
Dentry cache hash table entries: 262144 (order: 8, 2097152 bytes)
Inode-cache hash table entries: 131072 (order: 7, 1048576 bytes)
Memory: 2067696k/2096128k available (3757k kernel code, 24600k reserved, 261k 
data, 208k init)
Mount-cache hash table entries: 512
SMP starting up secondaries.
Slave CPU 1 console command START
SlaveCmd: restart FFFFFC0000310020 FFFFFC0000310020 vptb FFFFFFFE00000000 
my_rpb FFFFFC0000018400 my_rpb_phys 18400
Slave CPU 2 console command START
SlaveCmd: restart FFFFFC0000310020 FFFFFC0000310020 vptb FFFFFFFE00000000 
my_rpb FFFFFC0000018680 my_rpb_phys 18680
Slave CPU 3 console command START
SlaveCmd: restart FFFFFC0000310020 FFFFFC0000310020 vptb FFFFFFFE00000000 
my_rpb FFFFFC0000018900 my_rpb_phys 18900
Slave CPU 4 console command START
SlaveCmd: restart FFFFFC0000310020 FFFFFC0000310020 vptb FFFFFFFE00000000 
my_rpb FFFFFC0000018B80 my_rpb_phys 18B80
Slave CPU 5 console command START
SlaveCmd: restart FFFFFC0000310020 FFFFFC0000310020 vptb FFFFFFFE00000000 
my_rpb FFFFFC0000018E00 my_rpb_phys 18E00
Slave CPU 6 console command START
SlaveCmd: restart FFFFFC0000310020 FFFFFC0000310020 vptb FFFFFFFE00000000 
my_rpb FFFFFC0000019080 my_rpb_phys 19080
Slave CPU 7 console command START
SlaveCmd: restart FFFFFC0000310020 FFFFFC0000310020 vptb FFFFFFFE00000000 
my_rpb FFFFFC0000019300 my_rpb_phys 19300
Slave CPU 8 console command START
SlaveCmd: restart FFFFFC0000310020 FFFFFC0000310020 vptb FFFFFFFE00000000 
my_rpb FFFFFC0000019580 my_rpb_phys 19580
Slave CPU 9 console command START
SlaveCmd: restart FFFFFC0000310020 FFFFFC0000310020 vptb FFFFFFFE00000000 
my_rpb FFFFFC0000019800 my_rpb_phys 19800
Slave CPU 10 console command START
SlaveCmd: restart FFFFFC0000310020 FFFFFC0000310020 vptb FFFFFFFE00000000 
my_rpb FFFFFC0000019A80 my_rpb_phys 19A80
Slave CPU 11 console command START
SlaveCmd: restart FFFFFC0000310020 FFFFFC0000310020 vptb FFFFFFFE00000000 
my_rpb FFFFFC0000019D00 my_rpb_phys 19D00
Slave CPU 12 console command START
SlaveCmd: restart FFFFFC0000310020 FFFFFC0000310020 vptb FFFFFFFE00000000 
my_rpb FFFFFC0000019F80 my_rpb_phys 19F80
Slave CPU 13 console command START
SlaveCmd: restart FFFFFC0000310020 FFFFFC0000310020 vptb FFFFFFFE00000000 
my_rpb FFFFFC000001A200 my_rpb_phys 1A200
Slave CPU 14 console command START
SlaveCmd: restart FFFFFC0000310020 FFFFFC0000310020 vptb FFFFFFFE00000000 
my_rpb FFFFFC000001A480 my_rpb_phys 1A480
Slave CPU 15 console command START
SlaveCmd: restart FFFFFC0000310020 FFFFFC0000310020 vptb FFFFFFFE00000000 
my_rpb FFFFFC000001A700 my_rpb_phys 1A700
Brought up 16 CPUs
SMP: Total of 16 processors activated (63965.49 BogoMIPS).
net_namespace: 552 bytes
NET: Registered protocol family 16
EISA bus registered
pci: enabling save/restore of SRM state
bus: 00 index 0 io port: [0, 1ffffff]
bus: 00 index 1 mmio: [0, 3fffffff]
SCSI subsystem initialized

I never could go beyond this line.

-------------------------------------------------------------------------------
and here is the host terminal output:
./build/ALPHA_MESI_CMP_directory/gem5.opt ./configs/example/ruby_fs.py -n 16 
--script=configs/boot/fft_only.rcS --cpu-type=timing
gem5 Simulator System.  http://gem5.org
gem5 is copyrighted software; use the --copyright option for details.

gem5 compiled Dec 17 2012 01:23:08
gem5 started Dec 19 2012 05:53:57
gem5 executing on ce-server-3
command line: ./build/ALPHA_MESI_CMP_directory/gem5.opt 
./configs/example/ruby_fs.py -n 16 --script=configs/boot/fft_only.rcS 
--cpu-type=timing
['/dist/m5/system', '/home/mostafa/GEM5/dist_2.6.27_BTsunami']
Global frequency set at 1000000000000 ticks per second
info: kernel located at: 
/home/mostafa/GEM5/dist_2.6.27_BTsunami/binaries/vmlinux
Listening for system connection on port 3457
      0: system.tsunami.io.rtc: Real-time clock set to Thu Jan  1 00:00:00 2009
0: system.remote_gdb.listener: listening for remote gdb #0 on port 7016
0: system.remote_gdb.listener: listening for remote gdb #1 on port 7017
0: system.remote_gdb.listener: listening for remote gdb #2 on port 7018
0: system.remote_gdb.listener: listening for remote gdb #3 on port 7019
0: system.remote_gdb.listener: listening for remote gdb #4 on port 7020
0: system.remote_gdb.listener: listening for remote gdb #5 on port 7021
0: system.remote_gdb.listener: listening for remote gdb #6 on port 7022
0: system.remote_gdb.listener: listening for remote gdb #7 on port 7023
0: system.remote_gdb.listener: listening for remote gdb #8 on port 7024
0: system.remote_gdb.listener: listening for remote gdb #9 on port 7025
0: system.remote_gdb.listener: listening for remote gdb #10 on port 7026
0: system.remote_gdb.listener: listening for remote gdb #11 on port 7027
0: system.remote_gdb.listener: listening for remote gdb #12 on port 7028
0: system.remote_gdb.listener: listening for remote gdb #13 on port 7029
0: system.remote_gdb.listener: listening for remote gdb #14 on port 7030
0: system.remote_gdb.listener: listening for remote gdb #15 on port 7031
**** REAL SIMULATION ****
info: Entering event queue @ 0.  Starting simulation...
info: Launching CPU 1 @ 2823882500
info: Launching CPU 2 @ 2834571500
info: Launching CPU 3 @ 2845183500
info: Launching CPU 4 @ 2855795500
info: Launching CPU 5 @ 2866407500
info: Launching CPU 6 @ 2877021500
info: Launching CPU 7 @ 2887635500
info: Launching CPU 8 @ 2898249500
info: Launching CPU 9 @ 2908863500
info: Launching CPU 10 @ 2919942500
info: Launching CPU 11 @ 2931019500
info: Launching CPU 12 @ 2942096500
info: Launching CPU 13 @ 2953313000
info: Launching CPU 14 @ 3163141500
info: Launching CPU 15 @ 3238160500
warn: Prefetch instructions in Alpha do not do anything
12021384500: system.terminal: attach terminal 0
warn: Prefetch instructions in Alpha do not do anything
------------------------------------------------------------------------------------


 Any suggestions about the cause of this ? My host OS is linux 32-bit with 3GB 
of ram.


Sincerely,
Mostafa 
                                          
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to