Re: Hugepages - benefits / drawbacks

From: Roman Podshivalov <roman.podshivalov_at_gmail.com>
Date: Tue, 7 Oct 2008 19:30:46 -0400
Message-ID: <55f303590810071630s41e33c96u8dbe7800e45fb1a4@mail.gmail.com>


David,

In my mind ISM is related to shared memory, could it be used for private memory allocation ?

thanks
--romas

On Tue, Oct 7, 2008 at 6:38 PM, David Miller <David.J.Miller_at_sun.com> wrote:

> Hi Roman,
>
> I believe this was obsoleted in Oracle 10.2, which is why you don't see it
> do
> anything.
>
> The idea behind the parameter (_use_ism_for_pga) was that Solaris only
> allowed large pages for ISM segments prior to Solaris 9 and in Solaris 9,
> using large pages for non-ISM segments required manual intervention.
>
> In Solaris 10, large pages became usable for many different kinds of memory
> depending on the allocations for each. Thus it became possible to use
> large pages for the PGA without having to put it in ISM.
>
> But it still will depend on how the PGA is allocated. With 10.2.0.3, you
> can specify the "_realfree_heap_pagesize_hint = 4194304" and it will
> use 4 MB pages for the heap. These won't be ISM, but using "pmap -xs"
> will show the segments with a pagesize of 4M (assuming you're on SPARC).
>
> The benefits of this will depend entirely on how your application uses
> the PGA. With large hash or sort areas needed, large pages can help
> performance significantly. For other applications, the benefit may
> be minimal.
>
> Regards,
>
> Dave Miller
>

--
http://www.freelists.org/webpage/oracle-l
Received on Tue Oct 07 2008 - 18:30:46 CDT

Original text of this message