From: Michal Hocko <mhocko@kernel.org>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: ying.huang@intel.com, aarcange@redhat.com, aaron.lu@intel.com,
ak@linux.intel.com, borntraeger@de.ibm.com, corbet@lwn.net,
dave.hansen@intel.com, hannes@cmpxchg.org,
hillf.zj@alibaba-inc.com, hughd@google.com,
kirill.shutemov@linux.intel.com, minchan@kernel.org,
riel@redhat.com, shli@kernel.org, tim.c.chen@linux.intel.com,
vdavydov.dev@gmail.com, mm-commits@vger.kernel.org,
linux-mm@kvack.org
Subject: Re: + mm-swap-add-cluster-lock-v5.patch added to -mm tree
Date: Wed, 18 Jan 2017 22:18:42 +0100 [thread overview]
Message-ID: <20170118211842.GE17135@dhcp22.suse.cz> (raw)
In-Reply-To: <20170118122354.9b06459e2588e53b537ca78c@linux-foundation.org>
On Wed 18-01-17 12:23:54, Andrew Morton wrote:
> On Wed, 18 Jan 2017 09:37:31 +0100 Michal Hocko <mhocko@kernel.org> wrote:
>
> > On Tue 17-01-17 15:45:39, Andrew Morton wrote:
> > [...]
> > > From: "Huang\, Ying" <ying.huang@intel.com>
> > > Subject: mm-swap-add-cluster-lock-v5
> >
> > I assume you are going to fold this into the original patch. Do you
> > think it would make sense to have it in a separate patch along with
> > the reasoning provided via email?
>
> It should be OK - the v5 changelog (which I shall use for the folded
> patch, as usual) has
>
> : Compared with a previous implementation using bit_spin_lock, the
> : sequential swap out throughput improved about 3.2%. Test was done on a
> : Xeon E5 v3 system. The swap device used is a RAM simulated PMEM
> : (persistent memory) device. To test the sequential swapping out, the test
> : case created 32 processes, which sequentially allocate and write to the
> : anonymous pages until the RAM and part of the swap device is used.
But there are more reasons than the throughput improvements. I would
consider the full lockdep support and fairness more important. The
drawback is the memory footprint which should be mentioned as well.
That being said, I will not insist, I just thought that this would be a
nice incremental change and easier to understand later rather than
searching the archives...
So take all this as my 2c...
--
Michal Hocko
SUSE Labs
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
prev parent reply other threads:[~2017-01-18 21:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <587eaca3.MRSwND8OEi+lF+VH%akpm@linux-foundation.org>
2017-01-18 8:37 ` Michal Hocko
2017-01-18 20:23 ` Andrew Morton
2017-01-18 21:18 ` Michal Hocko [this message]
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=20170118211842.GE17135@dhcp22.suse.cz \
--to=mhocko@kernel.org \
--cc=aarcange@redhat.com \
--cc=aaron.lu@intel.com \
--cc=ak@linux.intel.com \
--cc=akpm@linux-foundation.org \
--cc=borntraeger@de.ibm.com \
--cc=corbet@lwn.net \
--cc=dave.hansen@intel.com \
--cc=hannes@cmpxchg.org \
--cc=hillf.zj@alibaba-inc.com \
--cc=hughd@google.com \
--cc=kirill.shutemov@linux.intel.com \
--cc=linux-mm@kvack.org \
--cc=minchan@kernel.org \
--cc=mm-commits@vger.kernel.org \
--cc=riel@redhat.com \
--cc=shli@kernel.org \
--cc=tim.c.chen@linux.intel.com \
--cc=vdavydov.dev@gmail.com \
--cc=ying.huang@intel.com \
/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