On Sat, Jun 27, 2015 at 9:22 AM Leif Hedstrom <[email protected]> wrote:

>
>
>
>
> > On Jun 27, 2015, at 6:43 AM, Adam W. Dace <[email protected]>
> wrote:
> >
> > First, let me say a big thank you to those who have worked on the
> reclaimable freelist and HugePages code.
>
> Cool! Note that reclaimable freelist is now gone and we will soon
> introduce a buddy allocation scheme.
>
> >
> > I'm not really sure why, but simply using HugePages has resulted in a
> 100% speed boost on my ATS instance and it is now happily saturating my
> 50Mbps home connection.  Whoo hoo!  :)
>
>
> Woah that's incredible. Good job Phil Sorber :)
> >
> > My quick question is this:  What happens if ATS goes to allocate a
> HugePage and there are simply none left to be had?  Will it crash?
>
> I believe it will just fall back to normal allocations.
>

That is correct. It will attempt to alloc huge pages every time and fail
back to regular malloc if it cannot.


>
> -- Leif
>
> >
> > I haven't had this happen, yet, but I'm trying to balance how much
> memory I'm willing to give to ATS with other memory left free so I can at
> least compile ATS on the same system.
> >
> > Thanks In Advance,
> >
> > Adam
> >
>

Reply via email to