1834828 Members
1794 Online
110070 Solutions
New Discussion

Re: Memory Fragmentation

 
ASOEASTGEOGRAPHY
Occasional Advisor

Memory Fragmentation

Can main memory fragmentation cause significant performance problems?
Kristina(:)
1 REPLY 1
Sam Nicholls
Trusted Contributor

Re: Memory Fragmentation

I don't believe there is any benefit to having concurrent virtual pages mapped to concurrent physical pages. The hardware still has to go through the Translation Lookaside Buffer to convert a virtual address to physical.

Depending on the application's memory access patters, you may get a significant performance boost on HP-UX 11.0 by increasing the page size. If the appliation does sparse memory accesses, then increasing the page size will reduce the number of TLB lookups (and thus the possibility of expensive TLB misses).

To increase the page size of an application, use chatr like...

chatr +pd 64K a.out

See the chatr manpage for more info.

-sam