gem5-users@gem5.org

The gem5 Users mailing list

View all threads

Different simulation results on different computers with the same configuration

2
2497597
Tue, Sep 20, 2022 2:04 AM

Hello!I‘m a college student and I need to do some work with garnet.
But I found a inexplicable problem recently.

Command to Run:
./build/NULL/gem5.opt
configs/example/garnet_synth_traffic.py \
--network=garnet \
--num-cpus=64 \
--num-dirs=64 \
--topology=Mesh_XY \
--mesh-rows=8 \
--sim-cycles=10000 \
--inj-vnet=0 \
--injectionrate=0.02 \
--synthetic=uniform_random

I run the above command with gem5-v21.2.1.0+ubuntu20.04.
But,I get different simulation results on different computers with the same configuration(gem5-v21.2.1.0+ubuntu20.04).
I just changed the computer...

Hello!I‘m a college student and I need to do some work with garnet. But I found a inexplicable problem recently. Command to Run: ./build/NULL/gem5.opt configs/example/garnet_synth_traffic.py \ --network=garnet \ --num-cpus=64 \ --num-dirs=64 \ --topology=Mesh_XY \ --mesh-rows=8 \ --sim-cycles=10000 \ --inj-vnet=0 \ --injectionrate=0.02 \ --synthetic=uniform_random I run the above command with gem5-v21.2.1.0+ubuntu20.04. But,I get different simulation results on different computers with the same configuration(gem5-v21.2.1.0+ubuntu20.04). I just changed the computer...
EM
Eliot Moss
Tue, Sep 20, 2022 2:14 AM

On 9/19/2022 10:04 PM, 2497597 wrote:

Hello!I‘m a college student and I need to do some work with garnet.
But I found a inexplicable problem recently.

Command to Run:
./build/NULL/gem5.opt
configs/example/garnet_synth_traffic.py
--network=garnet
--num-cpus=64
--num-dirs=64
--topology=Mesh_XY
--mesh-rows=8
--sim-cycles=10000
--inj-vnet=0
--injectionrate=0.02
--synthetic=uniform_random

I run the above command with gem5-v21.2.1.0+ubuntu20.04.
But,I get different simulation results on different computers with the same
configuration(gem5-v21.2.1.0+ubuntu20.04).
I just changed the computer...

Different computers' random number libraries may act differently.
Also, random number generator packages are usually set up to give
a different random number sequence on each run, unless you
specifically use them otherwise (by giving the same "seed" each
time).

Regards - EM

On 9/19/2022 10:04 PM, 2497597 wrote: > Hello!I‘m a college student and I need to do some work with garnet. > But I found a inexplicable problem recently. > > Command to Run: > ./build/NULL/gem5.opt > configs/example/garnet_synth_traffic.py \ > --network=garnet \ > --num-cpus=64 \ > --num-dirs=64 \ > --topology=Mesh_XY \ > --mesh-rows=8 \ > --sim-cycles=10000 \ > --inj-vnet=0 \ > --injectionrate=0.02 \ > --synthetic=uniform_random > > I run the above command with gem5-v21.2.1.0+ubuntu20.04. > But,I get different simulation results on different computers with the same > configuration(gem5-v21.2.1.0+ubuntu20.04). > I just changed the computer... Different computers' random number libraries may act differently. Also, random number generator packages are usually set up to give a different random number sequence on each run, unless you specifically use them otherwise (by giving the same "seed" each time). Regards - EM