David McDaniel wrote:
A binary is less 4M and demonstrates high ITLB miss rates. I decide to 
experiment with making it larger to address the issue.
  The first approach was to assemble the following .s file and link it into the 
target binaries:
.section ".text"
.align 4096*1024
.skip  8
This resulted in an enlarged binary which does get mapped on 4M boundary and which results in ~50% reduction in ITLB_miss rates as reported by cputrack. Thinking this business of linking in bogus .o files to be pretty ugly, I tried to use a mapfile as follows to perhaps more effectively and simply achieve the same result:

text = A0x400000;
text = R0x400000;

  This also results in an enlarged binary but does *not* result in a reduction 
in ITLB_miss rates. Upon further investigation, it appears that the mapfile 
option does not behave as expected:
...

What type of machine are you trying to do this on?

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

Reply via email to