Matthew Allen wrote:
I have an application that is suffering from high iTLB misses and I'd really 
like to enable VMPSS.  I can create a binary with the text segment aligned on a 
4M boundary, but the text is still mapped to 8K pages (as reported by pmap -xs).

Is there anything I need to do to enable large page support in Solaris Express? 
 My understanding is that it is enabled by default, but I can't seem to get my 
application to take advantage of it.

Aligning text on a 4M boundary isn't sufficient. We need a new mapfile option to specify you want to round up the size of the segment to 4M for VMPSS to work.

I recommend filing an RFE for this against the linker
(cat compiler / subcat linker). You can do that here:

https://www.opensolaris.org/bug/report.jspa

With underlying mapfile support in the linker to do this, -xpagesize=XXXX in the C compiler could also be extended to support this.

We're also looking into other options to make this transparent on 64-bit target binaries but in all cases the linker has to be involved since we're dealing with ELF.

- Eric

_______________________________________________
perf-discuss mailing list
perf-discuss@opensolaris.org

Reply via email to