GitHub user akrasnov-drv edited a comment on the discussion: Support for 
hugepages in KVM VMs

First of all I did not manage to add it via extraconfig, because CS blocks it. 
CS wrote for that extraconfig that hugepages are supported only for DPDK.

But that's not the main issue. I can add hugepages block via hook. The issue is 
that CS checks free memory in host without considering hugepages. If I have 
256Gb of RAM and set 240Gb to be in huge pages, CS rejects to start 32Gb VM on 
that host, even if all hugepages are free and VM should use hugepages.
And opposite, if it fills all hugepages, but still there are some regular 
memory, CS thinks there is space for more VMs but actually there is no. I could 
possibly solve this issue by adding some reserved memory to CS config, but 
there is just single percent value that should match all hosts.
In any case, making CS to recognize and. use hugepages (as I wrote in the 
description) would be a proper solution.

GitHub link: 
https://github.com/apache/cloudstack/discussions/11187#discussioncomment-13860876

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscr...@cloudstack.apache.org

Reply via email to