[PATCH 0/1] use CONFIG_TRANSPARENT_HUGEPAGE_MADVISE=y as default

Colin King colin.king at canonical.com
Wed Jul 12 17:48:05 UTC 2017


From: Colin Ian King <colin.king at canonical.com>

Use CONFIG_TRANSPARENT_HUGEPAGE_MADVISE=y as default rather than
the current CONFIG_TRANSPARENT_HUGEPAGE_ALWAYS=y.

My intention is that this should be applied to Artful and see how this
performs and then SRU this for older releases once we are fully
confident we don't see any regressions.  I've been exercising this now
for two days and there are benefits in performance on small allocations.

With this enabled applications need to be using anonymous private mappings
and madvise MADV_HUGEPAGE to enable transparent huge pages on a memory
mapping.

Raw data of results:
http://kernel.ubuntu.com/~cking/transparent-huge-pages/transparent-huge-pages.ods

Colin Ian King (1):
  UBUNTU: SAUCE: use CONFIG_TRANSPARENT_HUGEPAGE_MADVISE=y as default

 debian.master/config/annotations          | 4 ++--
 debian.master/config/config.common.ubuntu | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

-- 
2.11.0





More information about the kernel-team mailing list