MoatLab / FEMU

FEMU: Accurate, Scalable and Extensible NVMe SSD Emulator (FAST'18)
Other
441 stars 206 forks source link

How to create 256GB zns ssd ? #144

Open OGSD opened 4 months ago

OGSD commented 4 months ago

I create 512G disk image qemu-img create -f qcow2 femu.qcow2 512G

I modify run-zns.sh
devsz_mb=262144

when i run run-zns.sh i got the error this error qemu-system-x86_64: -device femu,devsz_mb=262144,femu_mode=3: GLib: ../../../glib/gmem.c:167: failed to allocate 274877906944 bytes

how can i solve it

DingcuiYu commented 4 months ago

FEMU is a DRAM-based emulator. So your host should have 256GB DRAM to create a 256GB zns ssd.

OGSD commented 4 months ago

FEMU is a DRAM-based emulator. So your host should have 256GB DRAM to create a 256GB zns ssd.

Thanks~ I got it