Comments (9)
Thanks for reporting this. I will take a look later (need a while).
from femu.
Thanks for reporting this. I will take a look later (need a while).
Thank you
from femu.
The qemu I used is https://github.com/spdk/qemu/tree/spdk-5.0.0
from femu.
Thanks for reporting this. I will take a look later (need a while).
Installing, using and debugging FEMU can cause side effects including headache, nausea, agitation, and depression. If your research condition does not improve after using FEMU for a week, please talk to your advisor or us right away.
Haha,I think I have headache symptoms now.I donβt know where is the bug .
from femu.
SPDK use NVMe read/write (0x01, 0x02) Commands for OCSSD read and write,but FEMU OCSSD2.0 do not support NVMe read/write (0x01, 0x02) Commands.FEMU support Vector Chunk Write/Read( (0x91, 0x92)).You can modify SPDK's read and write interface or add NVMe read/write (0x01, 0x02) function to FEMU.
from femu.
from femu.
With the above patch, the SPDK FTL "hello world" test runs fine on FEMU.
from femu.
With the above patch, the SPDK FTL "hello world" test runs fine on FEMU.
Thank you very much
Now the "hello world" test can run successfully.But I found another problem when I mounted SPDK FTL.FEMU does not support "Asynchronous Event Request command" (NVMe admin command opcode=0x0C) and "Log Page Identifier Chunk Notification"(lid=0xD0).
SPDK needs the support of these two admin commands to successfully mount user-mode FTL.
Example of spdk mounting FTL
1.Run FEMU OCSSD mode:
./run-whitebox.sh
2.Build SPDK
git clone https://github.com/spdk/spdk -b v20.10
cd spdk
git submodule update --init
sudo scripts/pkgdep.sh
./configure
make
3.Mount FTL
sudo HUGEMEM=5120 scripts/setup.sh
sudo ./build/bin/nvmf_tgt
Then open another terminal window
scripts/rpc.py bdev_nvme_attach_controller -b nvme0 -a 00:05.0 -t pcie
scripts/rpc.py bdev_ocssd_create -c nvme0 -b nvme0n1 (Failed to run this)
scripts/rpc.py bdev_ftl_create -b ftl0 -d nvme0n1
from femu.
Thanks for testing it! Will take a look later.
from femu.
Related Issues (20)
- The guest would be broken down when I intentionally made some mistakes with the ZNS SSD simulated by FEMU. HOT 2
- where is the log in FEMU? HOT 2
- Could FEMU process requests in parallel? HOT 1
- function address_space_rw mistakes the parameter HOT 1
- ftl_thread number HOT 2
- a bug in the function declaration "nvme_discontig" in "nvme.h" HOT 1
- Black-ssd HOT 1
- Dose FEMU require certain configuration of Linux kernel when emulating zns? HOT 2
- TLC+SLC HOT 1
- How can i add a OS-SSD NVME command? HOT 3
- The emulated devices disappeared in /dev HOT 1
- what is the simplest way to insert modified zns module in guest os? HOT 1
- Problem when write to the drive under whitebox mode. HOT 2
- Implement namespace in black box mode HOT 1
- how can i configure zone size in femu zns mode? HOT 6
- How to emulate GC impact with FEMU HOT 2
- Many problems with the current ZNS delay emulation code, DO NOT use it !!! HOT 2
- Can I simulate a QLC SSD in BB mode?
- when I use the SHA 76a9d8e333f081a9df30b5f8706e9be81517665c to compile femu,It produces the error outside array bounds. HOT 3
- Can FEMU simulate the difference in sequential and random read/write performance on SSD?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from femu.