I'd like to know the following:
The default memory PAGE_SIZE in linux is 4096 bytes, how to change this size on a running system?
How the hugepages work in linux and how to set the hugepage size?
It is mentioned here that
The Linux kernel is able to set aside a portion of physical memory to be able be addressed using a larger page size
How to configure a portion of physical memory with larger page size and leave the rest to use the default page size (4096 bytes)
What is the maximum size a hugepage can have?