as my known, FreeBSD implements this feature called superpage, it's similar with Solaris, so is it enabled in default? or any default parameter need to be set?
Many thank
Hsien-Wen
On Wed, Oct 20, 2010 at 10:10 PM, Tom Lane
<tgl@sss.pgh.pa.us> wrote:
>>> Heh - provided you specify
>>> SHM_HUGETLB
>>> in the relevant call that is :-)
>> I had a patch for this against 8.3 that I could update if there is any
>> interest. I suspect it is helpful.
> I think it would be a good feature. Of course, we would need
> appropriate documentation, and some benchmarks showing that it really
> works.
I believe that for the equivalent Solaris option, we just automatically
enable it when available. So there'd be no need for user documentation.
However, I definitely *would* like to see some benchmarks proving that
the change actually does something useful. I've always harbored the
suspicion that this is just a knob to satisfy people who need knobs to
frob.
regards, tom lane