SimpleSSD / SimpleSSD-FullSystem

Open-Source Licensed Educational SSD Simulator for High-Performance Storage and Full-System Evaluations
BSD 3-Clause "New" or "Revised" License
88 stars 46 forks source link

run a simple program on full-system simplessd #16

Closed alinezhad2018 closed 3 years ago

alinezhad2018 commented 3 years ago

Hi when I run this command, it took a lot of time and the "stats.txt" and "debug.txt" were empty!

./build/X86/gem5.opt --debug-flag=DMA --debug-file=debug_DMA.txt ./configs/example/fs.py --kernel=x86_64-vmlinux-4.9.92 --num-cpu=3 --cpu-clock=4GHz --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 --disk-image=x86root.img

how can I run a simple program on a full-system SimpleSSD, using fs.py , with NVMe config which command should I run?

kukdh1 commented 3 years ago

Hi,

You need to attach terminal (m5term) to gem5. See here .

For the expected boot time, see here.

Thanks.

alinezhad2018 commented 3 years ago

Thank you for your reply. I use terminal, but I am not sure which commands will send some requests (read or write) to the storage system. because the number of read/write on NVMe always the same at the stats.txt file. 1- which command do you suggest? 2- how can I check which requests (detail information about the request: type of request, starting address of request, size of request, ...) have been send to the NVMe interface? 3- which parameters in stats.txt file use for evaluating the performance of storage systems?

kukdh1 commented 3 years ago

Hi,

Please check #17.

Thanks.