converted to 1.6 markup
|No differences found!|
In what situations will huge pages be useful? We can't design the ultimate solution that always works in every case, so which cases do we care about?
General Use Cases
Use cases vary along some important dimensions:
- Is it worth modifying (or possible to modify) the application in order to get huge pages?
- Are huge pages required or optional?
- Do we need all of system memory or can we have a buffer?
Database-type applications usually require huge pages and do not want to fail over to small pages, they want to use absolutely as much system memory as possible, and it is usually feasible to modify the application in order to get best performance.
Another class of applications has the opposite qualities. This can be thought of as the "desktop" workload. Huge pages are nice but not required, the system usually has some memory free, and few people think it's worth the time to tune these applications in order to get a few more percent of performance.
- Firefox or Mozilla (94MB resident on my system!)
GIMP, ImageMagick, image manipulation tools
Something slightly mixed but with a similar solution as above is an HPC workload. These applications want to use as much memory as possible, but won't be rewritten to use large pages explicitly. It's okay to use small pages. One of the interesting things about these workloads is that they are usually the only "important" application on the machine, and they ramp up to full memory usage quickly. So you will see alternation between most of memory used and most of memory free.