From: Edd Barrett <edd@theunixzoo.co.uk>
To: linux-kernel@vger.kernel.org
Subject: Odd interaction between tasket and isolated cores (3.16.x)
Date: Mon, 9 May 2016 11:33:12 +0100 [thread overview]
Message-ID: <20160509103312.GC15143@wilfred.home.dlink.com> (raw)
Hi,
I'm experiencing an unexpected behaviour regarding thread scheduling on
3.16.x kernels.
What I am trying to do is: run multithreaded benchmarks on a set of
isolated cores and have threads balance over the isolated cores.
My approach is to boot with an isolcpus kernel argument, then use
taskset with an affinity mask so as to force benchmarks onto the
isolated set of cores. However, I have found that all threads get bound
to one core. Since this is not the case if you don't use taskset, or use
a realtime scheduling policy, I tend to think this is a bug, but I am
not sure.
I've raised a bug here:
https://bugzilla.kernel.org/show_bug.cgi?id=116701
Bug description contains a test case and detailed instructions to
reproduce. I've also used systemtap to hone in on the troublesome
section of code. I think it's to do with affine wake, but I'm not sure.
I'd be interested to hear what people think about this. If this is
expected behaviour, is there a way to disable affine wakes?
Thanks
--
Best Regards
Edd Barrett
http://www.theunixzoo.co.uk
reply other threads:[~2016-05-09 10:39 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20160509103312.GC15143@wilfred.home.dlink.com \
--to=edd@theunixzoo.co.uk \
--cc=linux-kernel@vger.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
all inboxes | Powered by JetHome®