In MySQL 5.0, InnoDB gained the ability to use Linux Large Page
support for allocating memory for the buffer pool and additional
memory pool.
A few customers have asked about using it and there is virtually
no documentation on what is required on Linux to enable it. I
actually ended up having to read some of the Linux kernel source
code to figure out some of this.
This uses the API as documented at:
http://www.mjmwired.net/kernel/Documentation/vm/hugetlbpage.txt
To set this up and use it, you first need a kernel that supports
it. All of the recent RHEL kernels do by default from what I can
tell. On my Ubuntu systems, I'm not seeing it enabled
normally.
Then on the OS level you will need to do the following
procedures:
[Read more]
# Set the number of pages to be used …