Kishore Kumar Pusukuri
2010-08-21 04:43:27 UTC
Hi,
My AMD Opteron supports 4KB, 2MB and 1GB page sizes. I observed that there is performance improvement (reduced elapsed time) for some multi-threaded applications when I used 2MB page-size for heap. These applications need around 650MB heap (it reads a huge file of around 650MB size). However, when I used 1GB pages for heap, there is performance degradation for these programs. If we use 1 GB, then one page is enough to satisfy the heap space, right? Then, why we see performance degradation in this case. Please let me know.
$ pagesize -a
4096
2097152
1073741824
My AMD Opteron supports 4KB, 2MB and 1GB page sizes. I observed that there is performance improvement (reduced elapsed time) for some multi-threaded applications when I used 2MB page-size for heap. These applications need around 650MB heap (it reads a huge file of around 650MB size). However, when I used 1GB pages for heap, there is performance degradation for these programs. If we use 1 GB, then one page is enough to satisfy the heap space, right? Then, why we see performance degradation in this case. Please let me know.
$ pagesize -a
4096
2097152
1073741824
--
This message posted from opensolaris.org
This message posted from opensolaris.org