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

Management of hugepages #2

Open
rokups opened this issue Aug 18, 2020 · 6 comments
Open

Management of hugepages #2

rokups opened this issue Aug 18, 2020 · 6 comments

Comments

@rokups
Copy link

rokups commented Aug 18, 2020

A useful function would be management of hugepages. Some VMs may use them and some may not. vfio-isolate could read a VM xml, determine how much hugepages are needed (if any) and allocate/free appropriate amount before VM starts or after it stops.

@spheenik
Copy link
Owner

I agree!

@spheenik
Copy link
Owner

Hey rokups, it's a coincidence this came up again today, but I have not used "preallocated" hugepages on my system for a while, because it would sometimes not allocate the amount I requested, and subsequently not start the VM. At that time I read about "transparent hugepages", and it works:

some reddit conversation about it

Maybe you are also unaware of this feature? Or is there a reason you want to allocate the amount first?

@spheenik
Copy link
Owner

@rokups
Copy link
Author

rokups commented Aug 22, 2020 via email

@spheenik
Copy link
Owner

There is a virtiofs driver for Windows?

@rokups
Copy link
Author

rokups commented Aug 23, 2020

It landed only recently. So far i was unable to get it working reliably. But yeah its there.

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