Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754588AbbBZVez (ORCPT ); Thu, 26 Feb 2015 16:34:55 -0500 Received: from mail-wg0-f48.google.com ([74.125.82.48]:40216 "EHLO mail-wg0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754211AbbBZVey (ORCPT ); Thu, 26 Feb 2015 16:34:54 -0500 From: Ebru Akagunduz To: linux-mm@kvack.org Cc: riel@redhat.com, mgorman@suse.de, hughd@google.com, kirill.shutemov@linux.intel.com, akpm@linux-foundation.org, dave@stgolabs.net, aulmcquad@gmail.com, sasha.levin@oracle.com, xemul@parallels.com, linux-kernel@vger.kernel.org, Ebru Akagunduz Subject: [PATCH] doc: add information about max_ptes_none Date: Thu, 26 Feb 2015 23:34:36 +0200 Message-Id: <1424986476-6438-1-git-send-email-ebru.akagunduz@gmail.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1641 Lines: 47 max_ptes_none specifies how many extra small pages (that are not already mapped) can be allocated when collapsing a group of small pages into one large page. /sys/kernel/mm/transparent_hugepage/khugepaged/max_ptes_none A higher value leads to use additional memory for programs. A lower value leads to gain less thp performance. Value of max_ptes_none can waste cpu time very little, you can ignore it. Signed-off-by: Ebru Akagunduz Reviewed-by: Rik van Riel --- Documentation/vm/transhuge.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Documentation/vm/transhuge.txt b/Documentation/vm/transhuge.txt index 6b31cfb..8143b9e 100644 --- a/Documentation/vm/transhuge.txt +++ b/Documentation/vm/transhuge.txt @@ -159,6 +159,17 @@ for each pass: /sys/kernel/mm/transparent_hugepage/khugepaged/full_scans +max_ptes_none specifies how many extra small pages (that are +not already mapped) can be allocated when collapsing a group +of small pages into one large page. + +/sys/kernel/mm/transparent_hugepage/khugepaged/max_ptes_none + +A higher value leads to use additional memory for programs. +A lower value leads to gain less thp performance. Value of +max_ptes_none can waste cpu time very little, you can +ignore it. + == Boot parameter == You can change the sysfs boot time defaults of Transparent Hugepage -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/