3 ms·
Even 1MB pages might be desirable for modern hardware. It would be really interesting if there were some charts ran against different types of workloads. E.G.
by mjevans 4y ago
Even 1MB pages might be desirable for modern hardware. It would be really interesting if there were some charts ran against different types of workloads. E.G. games, databases, compiles, etc. More interesting still if TLP (Transparent Large Pages) could be set to a given size per... cgroup maybe?
- vardump 4y agoDifferent applications would certainly benefit from different page sizes. Use 1G pages, and boom, TLB misses and faults are just gone. But definitely not a good default choice! Any choice is a tradeoff. The larger the page size, the more physical memory is going to be wasted. On the other hand, I guess with the current NVMe hardware the effect on swap might not be too bad. 64 kB pages would mean the number of TLB misses and faults are just one sixteenth of the current status quo. Diminishing returns and all.