Skip to main content
3 of 5
Created and added "hugepages" tag
goldilocks
  • 90k
  • 33
  • 212
  • 272

Huge page and performance improvemnt

How can using Huge page improves performance,i have read that Huge page improves performance by reducing TLB lookups and reducing size of page table.Can some one tell me how this help in better performance.

is this like if i have an application that use 4 pages of virtual memory (4*4kb=16kb) then will it be like this, that each 4 page is mapped directly to some physical memory location and if we use huge page of 16 kb size then instead of mapping 4 pages to main memory it just need to map only one page to main memory thus reducing page table size and chances of swapping this out to hdd is less and hence longer TLB cache

kevin
  • 105
  • 1
  • 9