I don't believe huge pages work on PV machine running Amazon's AMI OS. I would like to know if this is related to the Amazon OS, or the virtualisation type. I believe huge pages can be enabled (somehow) on a PV machine, but it is more generally supported on a HVM virtualisation type. Is that right?
I believe Amazon 2016.03 is running a modified version of Centos 6.x.
I am using Amazon Linux AMI 2016.03, but I don't think that really matters.
Huge pages are recommended with the database I am using.
References both relating to Oracle (DB, I think):
- https://forums.aws.amazon.com/message.jspa?messageID=406807
- https://www.pythian.com/blog/linux-hugepages-for-oracle-on-amazon-ec2-possible-but-not-convenient-easy-or-fully-supported/
Related question with a different OS (Debian):
How can I use huge pages and libhugetlbfs on a Debian EC2 PVM instance?