SimpleSSD / SimpleSSD-FullSystem

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

Is embedded CPU currently possible ? #24

Closed qwunmd closed 3 years ago

qwunmd commented 3 years ago

Hi ,

I'm trying to use Amber to simulate in-storage computing , but there is nothing about embedded CPU in the documentation website .

So can I use Amber to simualte a CPU or FPGAs inside SSD ?

Thanks.

kukdh1 commented 3 years ago

Hi,

SimpleSSD 2.0 (Amber) only includes static firmware latency, which is calculated at compilation phase (hard coded in src/dev/storage/simplessd/cpu/cpu.cc). SimpleSSD 2.1 (not yet in public) has dynamic firmware latency, but this one is based on LLVM, not a real CPU model. Currently, I have no plan to add real CPU model (like gem5) in near feature (because of the simulation speed).

If you want to use SimpleSSD for ISP, you need to modify SimpleSSD to have latency model of arbitrary code execution (CPU) or cycles (FPGA). Find appropriate position to add computation model and add calculated latency to tick variable.

P.S. I recommend to use standalone version if your research does not require host intervention.

Thanks.