From: Mark Lord <kernel@start.ca>
To: Tejun Heo <tj@kernel.org>, Dan Williams <dan.j.williams@intel.com>
Cc: IDE/ATA development list <linux-ide@vger.kernel.org>
Subject: Re: [PATCH 4/4] ahci: switch from 'threaded' to 'hardirq' interrupt handling
Date: Mon, 16 Nov 2015 08:52:35 -0500 [thread overview]
Message-ID: <5649DFA3.9080002@start.ca> (raw)
In-Reply-To: <20151031020115.GI3582@mtj.duckdns.org>
On 15-10-30 10:01 PM, Tejun Heo wrote:
> On Fri, Oct 30, 2015 at 06:59:14PM -0700, Dan Williams wrote:
>> On Fri, Oct 30, 2015 at 5:56 PM, Tejun Heo <tj@kernel.org> wrote:
>>> On Fri, Oct 30, 2015 at 05:09:46PM -0400, Dan Williams wrote:
>>>> For high frequency I/O the overhead of threaded interrupts impacts
>>>> performance. Add an option to make it configurable, with the default
>>>> being hardirq.
>>>>
>>>> A quick out-of-the-box test (i.e. no affinity tuning) shows ~10% random
>>>> read performance at ~20% less cpu. The cpu wins appear to be from
>>>> reduced lock contention.
>>>
>>> Do we need threaded irq at all? Why not just switch to hardirq?
>>>
>>
>> I can't imagine anyone doing high iops storage to also rely on the
>> ability to preempt the irq handler. I'm assuming if someone notices
>> it missing they can scream, but otherwise hardirq seems all around
>> better.
>>
>> NVMe also has this optional via module parameter, but talking to Keith
>> he does not know of anyone using it.
>
> Let's remove it for now and do the conditional thing if anybody misses
> it. No need to keep around dead code proactively.
Aren't threaded IRQs there to improve overall system real-time response?
If so, it would seem a step backwards to remove them completely,
especially considering the low cost of maintaining them here.
Cheers
next prev parent reply other threads:[~2015-11-16 13:52 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-30 21:09 [PATCH 0/4] ahci per-port msix support Dan Williams
2015-10-30 21:09 ` [PATCH 1/4] ahci: ahci_host_activate: kill IRQF_SHARED Dan Williams
2015-10-30 21:09 ` [PATCH 2/4] ahci: cleanup ahci_host_activate_multi_irqs Dan Williams
2015-10-31 0:59 ` Tejun Heo
2015-10-30 21:09 ` [PATCH 3/4] ahci: per-port msix support Dan Williams
2015-10-31 1:03 ` Tejun Heo
2015-10-31 1:54 ` Dan Williams
2015-10-30 21:09 ` [PATCH 4/4] ahci: switch from 'threaded' to 'hardirq' interrupt handling Dan Williams
2015-10-31 0:56 ` Tejun Heo
2015-10-31 1:59 ` Dan Williams
2015-10-31 2:01 ` Tejun Heo
2015-11-16 13:52 ` Mark Lord [this message]
2015-11-16 15:33 ` Tejun Heo
2015-11-16 16:29 ` Dan Williams
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=5649DFA3.9080002@start.ca \
--to=kernel@start.ca \
--cc=dan.j.williams@intel.com \
--cc=linux-ide@vger.kernel.org \
--cc=tj@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.