[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1608890390-64305-1-git-send-email-alex.shi@linux.alibaba.com>
Date: Fri, 25 Dec 2020 17:59:46 +0800
From: Alex Shi <alex.shi@...ux.alibaba.com>
To: willy@...radead.org
Cc: tim.c.chen@...ux.intel.com,
Konstantin Khlebnikov <koct9i@...il.com>,
Hugh Dickins <hughd@...gle.com>, Yu Zhao <yuzhao@...gle.com>,
Michal Hocko <mhocko@...e.com>,
Andrew Morton <akpm@...ux-foundation.org>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Subject: [RFC PATCH 0/4] pre sort pages on lruvec in pagevec
This idea was tried on per memcg lru lock patchset v18, and had a good
result, about 5%~20+% performance gain on lru lock busy benchmarks,
like case-lru-file-readtwice.
But on the latest kernel, I can not reproduce the result on my box.
Also I can not reproduce Tim's performance gain too on my box.
So I don't know if it's workable in some scenario, just sent out if
someone has interesting...
Alex Shi (4):
mm/swap.c: pre-sort pages in pagevec for pagevec_lru_move_fn
mm/swap.c: bail out early for no memcg and no numa
mm/swap.c: extend the usage to pagevec_lru_add
mm/swap.c: no sort if all page's lruvec are same
Cc: Konstantin Khlebnikov <koct9i@...il.com>
Cc: Hugh Dickins <hughd@...gle.com>
Cc: Yu Zhao <yuzhao@...gle.com>
Cc: Michal Hocko <mhocko@...e.com>
Cc: Matthew Wilcox (Oracle) <willy@...radead.org>
Cc: Andrew Morton <akpm@...ux-foundation.org>
Cc: linux-mm@...ck.org
Cc: linux-kernel@...r.kernel.org
mm/swap.c | 118 +++++++++++++++++++++++++++++++++++++++++-------------
1 file changed, 91 insertions(+), 27 deletions(-)
--
2.29.GIT
Powered by blists - more mailing lists