trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Phil Sorber <sor...@apache.org>
Subject Re: Quick Question About Linux HugePages
Date Sat, 27 Jun 2015 19:00:07 GMT
On Sat, Jun 27, 2015 at 11:41 AM Phil Sorber <sorber@apache.org> wrote:

> On Sat, Jun 27, 2015 at 9:22 AM Leif Hedstrom <zwoop@apache.org> wrote:
>
>>
>>
>>
>>
>> > On Jun 27, 2015, at 6:43 AM, Adam W. Dace <colonelforbin74@gmail.com>
>> 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!  :)
>>
>>
I forgot to add in my last email, what is your setup here? Great to hear
such gains, but I would have only expected ~20% in the best case scenario.


>
>> 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
>> >
>>
>

Mime
View raw message