Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

a question about how to use the module #4

Open
785336111 opened this issue Mar 22, 2023 · 5 comments
Open

a question about how to use the module #4

785336111 opened this issue Mar 22, 2023 · 5 comments

Comments

@785336111
Copy link

I want to know how to create a raizn device using dmsetup. Can you show a simple example of creating a mapping table?

@Thomas-Kim
Copy link
Member

Hi, just want to preface this by saying this release of RAIZN is not intended for real use, and I don't recommend running it outside of a virtual machine.

The raizn table args are:
chunk size (KiB), num IO workers, unused (1), unused (0), device, device, ...

Example
echo "0 83886080 raizn 64 1 1 0 /dev/nvme0n1 /dev/nvme1n1 /dev/nvme2n1 /dev/nvme3n1" | sudo dmsetup create
raizn0

@785336111
Copy link
Author

Thank you for your reply. I just use raizn to complete my graduation project.
And can you show me your fio configuration files for writing? I don't know why the system crash when I use fio to write into raizn device.For example,the command in the picture below can cause crash.
image

@Thomas-Kim
Copy link
Member

Could I get some more details about your system environment etc.?

RAIZN is not particularly stable, so there are a number of things that could be going wrong.

@785336111
Copy link
Author

785336111 commented Apr 23, 2023

My experiments were run on a server with a 4*36core CPU,1TB of DRAM. And I use femu(modified to support proper latency emulation) to simulate 5 SSDs,whose configuration is as followed:
image
What's more,my os is as followed:
image

@Thomas-Kim
Copy link
Member

Sorry for the delay.

It's difficult for me to say, but here are a couple things that come to mind:

  1. You shouldn't need to specify -zonesize when -zonemode=zbd on sufficiently recent versions of fio
  2. I have never tested RAIZN with femu devices, that could be the issue
  3. Does this predictably crash if you reboot -> setup -> run benchmark?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants