Closed ray5273 closed 4 years ago
Execution command line of gem5: [e.g. ./build/ARM/gem5.opt ./configs/common/fs.py --kernel=...] ./build/X86/gem5.opt --debug-flag=M5Print --debug-file=debug.txt ./configs/example/fs.py --kernel=x86_64-vmlinux-4.9.92 --num-cpu=1 --cpu-clock=3.6GHz --caches --l2cache --cpu-type=AtomicSimpleCPU --mem-size=3GB --mem-type=DDR4_2400_8x8 --ssd-interface=nvme --ssd-config=./src/dev/storage/simplessd/config/sample.cfg
Execution command line in guest OS (inside of simulation): [e.g. ./fio --direct=1 --ioengine=libaio ...] No Command line
Hello, I'm trying to generate SSD Read/Write execution in simulation without using fio benchmark program.
My questions are below:
Is it possible to generate SSD Read/Write inside of simulation with adding SimObject or modifying code in SimpleSSD?
If answer of first question is possible, where is the proper position of additional codes? (ex) src/dev/storage/simplessd , or need to add directory)
If answer of first question is impossible, is there any way to add custom I/O using C or C++ language code in kernel file ?
Hi,
It looks like you don't need full-system environment. You can use standalone version to generate synthesized I/O or replaying trace file.
Thanks.
Running Environment (please complete the following information):
Execution information
Execution command line of gem5: [e.g. ./build/ARM/gem5.opt ./configs/common/fs.py --kernel=...] ./build/X86/gem5.opt --debug-flag=M5Print --debug-file=debug.txt ./configs/example/fs.py --kernel=x86_64-vmlinux-4.9.92 --num-cpu=1 --cpu-clock=3.6GHz --caches --l2cache --cpu-type=AtomicSimpleCPU --mem-size=3GB --mem-type=DDR4_2400_8x8 --ssd-interface=nvme --ssd-config=./src/dev/storage/simplessd/config/sample.cfg
Execution command line in guest OS (inside of simulation): [e.g. ./fio --direct=1 --ioengine=libaio ...] No Command line
Explain what you want to ask here:
Hello, I'm trying to generate SSD Read/Write execution in simulation without using fio benchmark program.
My questions are below:
Is it possible to generate SSD Read/Write inside of simulation with adding SimObject or modifying code in SimpleSSD?
If answer of first question is possible, where is the proper position of additional codes? (ex) src/dev/storage/simplessd , or need to add directory)
If answer of first question is impossible, is there any way to add custom I/O using C or C++ language code in kernel file ?