gem5-users@gem5.org

The gem5 Users mailing list

View all threads

Running Default Benchmarks in fs.py

VA
Vincent Abraham
Wed, Jun 28, 2023 12:11 AM

Hi everyone,
Could I get some guidance on how to run the default benchmarks in fs.py? I
get the following error everytime I try to use any benchmark and run it:

gem5 Simulator System.  https://www.gem5.org
gem5 is copyrighted software; use the --copyright option for details.

gem5 version 22.1.0.0
gem5 compiled Jun 16 2023 19:12:10
gem5 started Jun 27 2023 20:01:59
gem5 executing on vincents-laptop, pid 15301
command line: ./build/X86/gem5.opt ./configs/saca_configs/fs.py -n 8
--mem-size=16GB --mem-type=NVM_1200_8x64 --kernel=../saca_tests/vmlinux
--disk-image=../saca_tests/x86-ubuntu-18.04 --benchmark=ValMemLat

warn: The get_runtime_isa function is deprecated. Please migrate away
from using this function.
warn: The get_runtime_isa function is deprecated. Please migrate away
from using this function.
OSError: Can't find file 'boot/micro_memlat8.rcS' on M5_PATH.

At:
/home/vincent/work/saca_nvmfs/gem5/configs/common/SysPaths.py(75):
call
/home/vincent/work/saca_nvmfs/gem5/configs/common/Benchmarks.py(44):
script

/home/vincent/work/saca_nvmfs/gem5/./configs/saca_configs/FSConfig.py(521):
makeX86System

/home/vincent/work/saca_nvmfs/gem5/./configs/saca_configs/FSConfig.py(663):
makeLinuxX86System
./configs/saca_configs/fs.py(95): build_test_system
./configs/saca_configs/fs.py(376): <module>
build/X86/python/m5/main.py(597): main

Could anyone help me with how to load the benchmarks onto the disk image
and then writing a .rcS file to run it?

Hi everyone, Could I get some guidance on how to run the default benchmarks in fs.py? I get the following error everytime I try to use any benchmark and run it: gem5 Simulator System. https://www.gem5.org gem5 is copyrighted software; use the --copyright option for details. gem5 version 22.1.0.0 gem5 compiled Jun 16 2023 19:12:10 gem5 started Jun 27 2023 20:01:59 gem5 executing on vincents-laptop, pid 15301 command line: ./build/X86/gem5.opt ./configs/saca_configs/fs.py -n 8 --mem-size=16GB --mem-type=NVM_1200_8x64 --kernel=../saca_tests/vmlinux --disk-image=../saca_tests/x86-ubuntu-18.04 --benchmark=ValMemLat warn: The `get_runtime_isa` function is deprecated. Please migrate away from using this function. warn: The `get_runtime_isa` function is deprecated. Please migrate away from using this function. OSError: Can't find file 'boot/micro_memlat8.rcS' on M5_PATH. At: /home/vincent/work/saca_nvmfs/gem5/configs/common/SysPaths.py(75): __call__ /home/vincent/work/saca_nvmfs/gem5/configs/common/Benchmarks.py(44): script /home/vincent/work/saca_nvmfs/gem5/./configs/saca_configs/FSConfig.py(521): makeX86System /home/vincent/work/saca_nvmfs/gem5/./configs/saca_configs/FSConfig.py(663): makeLinuxX86System ./configs/saca_configs/fs.py(95): build_test_system ./configs/saca_configs/fs.py(376): <module> build/X86/python/m5/main.py(597): main Could anyone help me with how to load the benchmarks onto the disk image and then writing a .rcS file to run it?
VA
Vincent Abraham
Wed, Jun 28, 2023 9:34 PM

Where can I get the binaries of these benchmarks from?

On Tue, Jun 27, 2023 at 8:11 PM Vincent Abraham vincent.ahm@gmail.com
wrote:

Hi everyone,
Could I get some guidance on how to run the default benchmarks in fs.py? I
get the following error everytime I try to use any benchmark and run it:

gem5 Simulator System.  https://www.gem5.org
gem5 is copyrighted software; use the --copyright option for details.

gem5 version 22.1.0.0
gem5 compiled Jun 16 2023 19:12:10
gem5 started Jun 27 2023 20:01:59
gem5 executing on vincents-laptop, pid 15301
command line: ./build/X86/gem5.opt ./configs/saca_configs/fs.py -n 8
--mem-size=16GB --mem-type=NVM_1200_8x64 --kernel=../saca_tests/vmlinux
--disk-image=../saca_tests/x86-ubuntu-18.04 --benchmark=ValMemLat

warn: The get_runtime_isa function is deprecated. Please migrate away
from using this function.
warn: The get_runtime_isa function is deprecated. Please migrate away
from using this function.
OSError: Can't find file 'boot/micro_memlat8.rcS' on M5_PATH.

At:
/home/vincent/work/saca_nvmfs/gem5/configs/common/SysPaths.py(75):
call
/home/vincent/work/saca_nvmfs/gem5/configs/common/Benchmarks.py(44):
script

/home/vincent/work/saca_nvmfs/gem5/./configs/saca_configs/FSConfig.py(521):
makeX86System

/home/vincent/work/saca_nvmfs/gem5/./configs/saca_configs/FSConfig.py(663):
makeLinuxX86System
./configs/saca_configs/fs.py(95): build_test_system
./configs/saca_configs/fs.py(376): <module>
build/X86/python/m5/main.py(597): main

Could anyone help me with how to load the benchmarks onto the disk image
and then writing a .rcS file to run it?

Where can I get the binaries of these benchmarks from? On Tue, Jun 27, 2023 at 8:11 PM Vincent Abraham <vincent.ahm@gmail.com> wrote: > Hi everyone, > Could I get some guidance on how to run the default benchmarks in fs.py? I > get the following error everytime I try to use any benchmark and run it: > > gem5 Simulator System. https://www.gem5.org > gem5 is copyrighted software; use the --copyright option for details. > > gem5 version 22.1.0.0 > gem5 compiled Jun 16 2023 19:12:10 > gem5 started Jun 27 2023 20:01:59 > gem5 executing on vincents-laptop, pid 15301 > command line: ./build/X86/gem5.opt ./configs/saca_configs/fs.py -n 8 > --mem-size=16GB --mem-type=NVM_1200_8x64 --kernel=../saca_tests/vmlinux > --disk-image=../saca_tests/x86-ubuntu-18.04 --benchmark=ValMemLat > > warn: The `get_runtime_isa` function is deprecated. Please migrate away > from using this function. > warn: The `get_runtime_isa` function is deprecated. Please migrate away > from using this function. > OSError: Can't find file 'boot/micro_memlat8.rcS' on M5_PATH. > > At: > /home/vincent/work/saca_nvmfs/gem5/configs/common/SysPaths.py(75): > __call__ > /home/vincent/work/saca_nvmfs/gem5/configs/common/Benchmarks.py(44): > script > > /home/vincent/work/saca_nvmfs/gem5/./configs/saca_configs/FSConfig.py(521): > makeX86System > > /home/vincent/work/saca_nvmfs/gem5/./configs/saca_configs/FSConfig.py(663): > makeLinuxX86System > ./configs/saca_configs/fs.py(95): build_test_system > ./configs/saca_configs/fs.py(376): <module> > build/X86/python/m5/main.py(597): main > > Could anyone help me with how to load the benchmarks onto the disk image > and then writing a .rcS file to run it? > >