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

Increase MAX_RING_PAGE_ORDER value #298

Open
Wescoeur opened this issue Nov 13, 2019 · 1 comment
Open

Increase MAX_RING_PAGE_ORDER value #298

Wescoeur opened this issue Nov 13, 2019 · 1 comment

Comments

@Wescoeur
Copy link
Contributor

Hi, I have a issue concerning the ring size, I would like to modify the default value of MAX_RING_PAGE_ORDER to 4, in theory it's ok it's the max authorized value by the blkfront module.

#define MAX_RING_PAGE_ORDER 3

But I don't understand why I can't boot correctly:

xenbus_probe_frontend: Waiting for devices to initialise: 25s...20s...15s...10s...5s...0s...

Should I change something else? Or is there a bug in blktap when MAX_RING_PAGE_ORDER is equal to 4? Thank you!

@andyhhp
Copy link
Contributor

andyhhp commented Feb 18, 2021

There isn't any inherent limit. Order 3 is 8 pages, and order 4 is 16. However, you do have to draw a boundary somewhere, because resources aren't unlimited for the domains.

To diagnose the problems further, you need to see what is going wrong in the guest. Get dmesg from the VM, and/or xl dmesg from Xen which might identify if the VM has run out of grants.

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