From: ritesh sonawane <rdssonawane2317@gmail.com>
To: Florian Weimer <fw@deneb.enyo.de>
Cc: carlos@redhat.com, libc-help@sourceware.org
Subject: Re: Impact of Increasing M_MMAP_THRESHOLD to 1GB in malloc().
Date: Fri, 28 Sep 2018 11:07:00 -0000 [thread overview]
Message-ID: <CAB8f8h3AerSNCg62xnUY1K5CrLvvt_AOtpBT4==O5RPNM4NfEw@mail.gmail.com> (raw)
In-Reply-To: <87wor5ewhr.fsf@mid.deneb.enyo.de>
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.
>
next prev parent reply other threads:[~2018-09-28 11:07 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-26 9:46 ritesh sonawane
2018-09-26 10:05 ` Florian Weimer
2018-09-27 16:55 ` ritesh sonawane
2018-09-27 17:46 ` Florian Weimer
2018-09-27 18:16 ` Carlos O'Donell
2018-09-28 10:22 ` ritesh sonawane
2018-09-28 10:40 ` Florian Weimer
2018-09-28 11:07 ` ritesh sonawane [this message]
2018-09-28 10:03 ` ritesh sonawane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAB8f8h3AerSNCg62xnUY1K5CrLvvt_AOtpBT4==O5RPNM4NfEw@mail.gmail.com' \
--to=rdssonawane2317@gmail.com \
--cc=carlos@redhat.com \
--cc=fw@deneb.enyo.de \
--cc=libc-help@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).