‹ BackHN Continuity

Thread

Page Table Memory Consumption

60 points · 10 comments · shellpipe

  1. sweetjuly · · focus · HN ↗
    relatedly, it is also worth considering that your VA allocation behavior can have significant impacts on your page table costs.

    Some programs like to, for example, map allocations at random VAs for security reasons. If you're only using a single page, this makes your worst case cost 1 page for actual data + 2-3 pages of tables (depending on your CPU architecture and address space size). If you do this very often, this can get very expensive in a hurry.

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.