Comments (4)
Hi,
If your disk image size matches the size in the configuration file, it should be fine.
For the configuration file, the total simulated SSD size can be calculated as
sim_ssd_sz = # of flash-chips * # of blocks per chip * # of pages per block * # of sectors per page * sector size. (assuming # of planes per chip is 1).
Make sure sim_ssd_sz * (1 - OVP) >= 16GB here.
The blackbox FTL you are using is no longer maintained, we created a new FTL specifically designed for FEMU model, checkout the newest commit in master branch. I suggest you use the new one. We will add some documents later.
from femu.
thank you for your quick response.
I decided to multilply the number of blocks per chip by 16 in order to get the size I wanted and checkedout to the lastest commit like you suggested but I still wasn't able to create the larger ssd.
since I've clearly did something wrong i thought it would be best if I'd eleborate on what I've done.
I've created a vssd1.raw file with a size of 16GB using the qemu-img create command and put it in the images dir. I've also changed the BLOCK_NB var in the vssd1.conf file from 16 to 256.
when running the black box script and using the fdisk -l command (from within the femu vm) I could see the sda1 device and the nvme0n1 device but it's size was still 1 GB.
obivously I've misunderstood something in this process and I'd appriciate it if you'll tell me what am I missing here.
also, I didn't quite understand what you meant here:
Make sure sim_ssd_sz * (1 - OVP) >= 16GB here.
thank you so much for your help.
from femu.
Make sure sim_ssd_sz * (1 - OVP) >= 16GB here.
Oh, sorry, you can ignore this part ..
I'm gonna close this issue, just in case u have more questions, feel free to re-open it, thx!
from femu.
What is the relationship between the device size as given in the QEMU command and and the device size as hard-coded into ftl.c? If the passed-in device size is smaller than the hard-coded device size, then is the difference equivalent to overprovisioned device capacity?
A related issue: I set them to the same thing (devsz_mb=2048, which the FEMU OS reports as 2147483648 bytes, and the appropriate settings in ftl.c) and I see the following: RD-ERRRRRRRRRR,start_lpn=524287,end_lpn=524288,tt_pgs=524288
. (I also checked the read size and it's 8 sectors.) What is going wrong here---shouldn't the ending LPN wrap around?
from femu.
Related Issues (20)
- 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? HOT 1
- 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? HOT 1
- Error when building RAID-5 on FEMU drives HOT 2
- how can i add computational power to FEMU? HOT 1
- How to create 256GB zns ssd ? HOT 2
- Problem solved. Sorry.
- There is currently a memory leak HOT 1
- Fail to compile FEMU with basic syntax errors in ZNS HOT 1
- PCIe config HOT 4
- Redundant else if and condition check in `nvme_process_sq_io` HOT 1
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.