Hi all,

I am using gem5/garnet to do some simulation about on-chip network.

Firstly I used the example scripts to run the simulation, it worked well.
=========
./build/ALPHA/gem5.debug --debug-flags=NetworkTest --outdir=m5out/test_bc
configs/example/ruby_network_test.py --num-cpus=16 --num-dir=16
--topology=Mesh --mesh-rows=4 --sim-cycles=1000  --injectionrate=0.1
--synthetic=0 --maxpackets=1  --garnet-network=fixed
=========
then I tried to go further with more simulations, I found the following
problems:
1. the "num-cpus" can only be power of 2: 2 ,4 ,8 ,16, 32, 64
2. the "num-cpus" can't be bigger than 64, otherwise will get error" number
of cores xxx limited to xxx because of false sharing", with the error
message, if figured out that in the python file "ruby_network_test.py"
there are the following code:
=========
block_size = 64
if options.num_cpus > block_size:
     print "Error: Number of cores %d limited to %d because of false
sharing" \
           % (options.num_cpus, block_size)
     sys.exit(1)
=========
to make the simulation run, I changed the block_size to 256 then run with
num-cpus=256, I got error messages: "segmentation fault, core dumped".

Any idea or suggestion will be appreciated.

Thank you

-- 
Warmly Regards,
Shawn Zhang
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to