[pve-devel] [PATCH] add hugepages option v2

Dietmar Maurer dietmar at proxmox.com
Thu May 19 09:22:55 CEST 2016


> I think it's missing maybe some kind of lock when allocate|deallocate
> hugepages.
> It should work like locks for storage when create|delete disk

I don't think we need a cluster wide lock. Just use a local lock file.

> >>I also wonder if we can split the code into a separate file, because 
> >>the file PVE/QemuServer.pm is already quite large? 
> 
> I agree that qemuserver is quite large ;)
> 
> PVE::QemuServer::Hugepages  ?

OK for me. Or is there more memory related code? If so, we could use
PVE::QemuServer::Memory?




More information about the pve-devel mailing list