Skip to main content
edited tags
Link
Gilles 'SO- stop being evil'
  • 865.4k
  • 205
  • 1.8k
  • 2.3k
deleted 56 characters in body
Source Link
Mat
  • 54.9k
  • 11
  • 164
  • 143

How can using Hugehuge page improvesimprove performance,i?

I have read that Huge page improveshuge pages improve performance by reducing TLB lookups and reducing the size of the page table.Can some one Can someone tell me how this help in betterhelps with performance.?

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

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

How can using huge page improve performance?

I have read that huge pages improve performance by reducing TLB lookups and reducing the size of the page table. Can someone tell me how this helps with performance?

Is this like if I have an application that uses 4 pages of virtual memory (4*4kb=16kb) then each page is mapped directly to some physical memory location, but if we use huge pages of 16kb size then instead of mapping 4 pages it just needs to map one, thus reducing page table size, and chances of swapping this out to disk is less and hence longer TLB cache?

Tweeted twitter.com/#!/StackUnix/status/306349576196075520
Created and added "hugepages" tag
Link
goldilocks
  • 90k
  • 33
  • 212
  • 272
deleted 1 characters in body
Source Link
kevin
  • 105
  • 1
  • 9
Loading
Source Link
kevin
  • 105
  • 1
  • 9
Loading