Linux-NVME Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: keith.busch@intel.com (Keith Busch)
Subject: NVMe and IRQ Affinity
Date: Tue, 2 Feb 2016 23:45:40 +0000	[thread overview]
Message-ID: <20160202234540.GA21046@localhost.localdomain> (raw)
In-Reply-To: <CACo6K_bSDJwt61mnKDpYvcXjCVA9UKGO17pythzcJ8Rnjh19sA@mail.gmail.com>

On Wed, Feb 03, 2016@12:31:22AM +0100, Mark Jacobson wrote:
> and noticed that the drives I'm working with (Samsung PM953) will by
> default only route interrupts to CPU0 despite having affinity for all
> cores and I figured I'd ask here since that seemed like a driver
> issue.

Sounds like the affinity hints are either messed up in this distro, or
just not being used by irqbalance. Could you run the following script
and send the output?

---
cat /sys/block/nvme0n1/mq/*/cpu_list

for i in $(grep nvme0q /proc/interrupts  | cut -d":" -f1 | sed "s/ //g"); do
  echo "IRQ:  $i";
  echo -n "HINT: " && cat /proc/irq/$i/affinity_hint
  echo -n "SMP:  " && cat /proc/irq/$i/smp_affinity
done

  reply	other threads:[~2016-02-02 23:45 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-02 23:31 NVMe and IRQ Affinity Mark Jacobson
2016-02-02 23:45 ` Keith Busch [this message]
2016-02-02 23:50   ` Mark Jacobson
2016-02-02 23:58     ` Keith Busch
2016-02-03  0:13       ` Mark Jacobson
2016-02-03 14:30         ` Keith Busch
2016-02-03 18:31           ` Azher Mughal
2016-02-03 18:58             ` Keith Busch
2016-02-03 16:14         ` Kim Kyungsan

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=20160202234540.GA21046@localhost.localdomain \
    --to=keith.busch@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