Closed fengggli closed 6 years ago
Hi Feng,
As for now, qemu is for sanity check, not for performance evaluation. Latencies will always be unreliable in the current implementation.
I'm sure the qemu backend can be improved to work more as a simulator (using memory as a backend is a good start), but it is not I am planning to implement in the near future. Maybe others will. If so, please comment.
Javier
Hi Feng,
If you want, you can use the null_blk driver, that implements a memory backend. (See for-4.19/null_blk branches). Although you will need to couple it with the zoned interface usage.
Hi, I am using the scripts like the below to launch my guest, where nvme.img is a raw disk img.
In the guest, i use fio and it give me 55us second latency and around 70MB/s for 4kwrite:
Is there any approach to make the device behave more like the real device(in the sense of lower latency and higher bandwidth)?
I tried to create nvme.img in tmpfs(ramdisk), but still get the same performance.
Any suggestion is appreciated