vfio-isolate icon indicating copy to clipboard operation
vfio-isolate copied to clipboard

Management of hugepages

Open rokups opened this issue 5 years ago • 6 comments

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.

rokups avatar Aug 18 '20 10:08 rokups

I agree!

spheenik avatar Aug 19 '20 14:08 spheenik

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 avatar Aug 22 '20 06:08 spheenik

I am aware. For a while I was using thp. My interest in hugepages was reignited after virtiofs driver for windows was released. Hugepages are one of requirements.

On August 22, 2020 10:08:41 Martin Schrodt [email protected] wrote:

some more relevant conversation — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

rokups avatar Aug 22 '20 12:08 rokups

There is a virtiofs driver for Windows?

spheenik avatar Aug 23 '20 07:08 spheenik

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

rokups avatar Aug 23 '20 07:08 rokups