From: Rik van Riel <riel@redhat.com>
To: David Timothy Strauss <david@davidstrauss.net>
Cc: Mel Gorman <mgorman@suse.de>, Ingo Molnar <mingo@kernel.org>,
linux-kernel@vger.kernel.org
Subject: Re: NUMA, migrate/N, and tuned-adm
Date: Tue, 17 Dec 2013 15:41:35 -0500 [thread overview]
Message-ID: <52B0B6FF.7000507@redhat.com> (raw)
In-Reply-To: <CAKz8sYWmmmdwKTKUGdoyaMD_v9_7yQydG+UNAb2r-KoO4L+6Ng@mail.gmail.com>
On 12/17/2013 01:10 PM, David Timothy Strauss wrote:
> System specs:
> * Fedora 19 with the 3.11.10-200.fc19.x86_64 kernel (just the stock RPM)
> * Bare-metal servers with 128GB RAM split between two NUMA regions,
> each region with one hex-core processor
> * More than 700 processes, a couple hundred of which are active
> fairly frequently. The systems were at 7000 processes, but we've
> dropped it while we dive into this issue.
> * Many of the processes are short-lived. The long-lived ones
> experience spikes in CPU and memory usage while processing requests.
>
> Here's what we've tried, to no avail:
> * tuned-adm on latency-performance and virtual-host profiles; this
> places the system on the deadline scheduler, but this problem occurred
> on the default one too
> * kernel.sched_migration_cost_ns=5000000 (which tuned will do for
> those profiles in v3.3/Fedora 20)
> * numad to balance between regions
> * Global use of sched_relax_domain_level=1 and sched_relax_domain_level=2
> * Splitting the system with cpuset into management tasks (6 virtual
> cores) and workload tasks (18 virtual cores) with
> sched_relax_domain_level=2. This is based on recommendations for NUMA
> systems in the cpuset man page.
Just for a quick sanity check, can you try disabling the
automatic numa balancing code?
# echo NO_NUMA > /sys/kernel/debug/sched_features
> Here's what we've used for analysis:
> * powertop
> * top/htop
> * perf record -a -g
Does "perf report -g" show where the calls to the
migration code are coming from? Something must be
migrating tasks around, and it will be good to know
what it is...
--
All rights reversed
prev parent reply other threads:[~2013-12-17 20:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-17 18:10 NUMA, migrate/N, and tuned-adm David Timothy Strauss
2013-12-17 18:46 ` David Timothy Strauss
2013-12-17 20:41 ` Rik van Riel [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=52B0B6FF.7000507@redhat.com \
--to=riel@redhat.com \
--cc=david@davidstrauss.net \
--cc=linux-kernel@vger.kernel.org \
--cc=mgorman@suse.de \
--cc=mingo@kernel.org \
/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