Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1602478
| From | Michal Hocko <mhocko@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: MAP_POPULATE vs. MADV_HUGEPAGES |
| Date | 2017-03-16 16:10 +0100 |
| Message-ID | <tlFco-97-65@gated-at.bofh.it> (permalink) |
| References | <tlkrg-1Wi-19@gated-at.bofh.it> <tlCRb-6NH-3@gated-at.bofh.it> <tlDDz-7mM-9@gated-at.bofh.it> <tlET2-88W-71@gated-at.bofh.it> <tlF2H-8g9-23@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Thu 16-03-17 16:56:34, Avi Kivity wrote:
> On 03/16/2017 04:48 PM, Michal Hocko wrote:
> >On Thu 16-03-17 15:26:54, Avi Kivity wrote:
[...]
> >>>What is the THP defrag mode
> >>>(/sys/kernel/mm/transparent_hugepage/defrag)?
> >>The default (always).
> >the default has changed since then because the THP faul latencies were
> >just too large. Currently we only allow madvised VMAs to go stall and
> >even then we try hard to back off sooner rather than later. See
> >444eb2a449ef ("mm: thp: set THP defrag by default to madvise and add a
> >stall-free defrag option") merged in 4.4
>
> I see, thanks. So the 4.4 behavior is better mostly due to not trying so
> hard.
Please note there were many other patches in the compaction code as
well.
--
Michal Hocko
SUSE Labs
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
MAP_POPULATE vs. MADV_HUGEPAGES Avi Kivity <avi@scylladb.com> - 2017-03-15 18:00 +0100
Re: MAP_POPULATE vs. MADV_HUGEPAGES Michal Hocko <mhocko@kernel.org> - 2017-03-16 13:40 +0100
Re: MAP_POPULATE vs. MADV_HUGEPAGES Avi Kivity <avi@scylladb.com> - 2017-03-16 14:30 +0100
Re: MAP_POPULATE vs. MADV_HUGEPAGES Michal Hocko <mhocko@kernel.org> - 2017-03-16 15:50 +0100
Re: MAP_POPULATE vs. MADV_HUGEPAGES Avi Kivity <avi@scylladb.com> - 2017-03-16 16:00 +0100
Re: MAP_POPULATE vs. MADV_HUGEPAGES Michal Hocko <mhocko@kernel.org> - 2017-03-16 16:10 +0100
csiph-web