[prev in list] [next in list] [prev in thread] [next in thread]
List: glibc-help
Subject: Impact of Increasing M_MMAP_THRESHOLD to 1GB in malloc().
From: rdssonawane2317 () gmail ! com (ritesh sonawane)
Date: 2018-09-28 11:07:00
Message-ID: CAB8f8h3AerSNCg62xnUY1K5CrLvvt_AOtpBT4==O5RPNM4NfEw () mail ! gmail ! com
[Download RAW message or body]
Thanks a lot.
On Fri, 28 Sep 2018 at 4:10 PM, Florian Weimer <fw@deneb.enyo.de> wrote:
> * ritesh sonawane:
>
> > Apart from changing threshold value do I need to take care of bin index ?
> > I have tried to understand the binning of malloc(), and found that its
> not
> > necessary.
>
> The binning is for small allocations only. No changes will be needed
> for correctness. There are scalability issues if you have many
> allocations of sizes that are not tracked in bins, but that is a
> preexisting problem in the allocator, unrelated to changing the mmap
> threshold or the heap size.
>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic