linux-block.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Block: Give option to force io polling
@ 2016-03-31 20:19 Jon Derrick
  2016-04-05 12:38 ` Christoph Hellwig
  2016-05-05 19:44 ` Stephen Bates
  0 siblings, 2 replies; 11+ messages in thread
From: Jon Derrick @ 2016-03-31 20:19 UTC (permalink / raw)
  To: axboe; +Cc: Jon Derrick, linux-nvme, linux-block, keith.busch, hch,
	stephen.bates

In 4.6, enabling io polling in direct-io was switched to a per-io flag.
This had an unintended result of giving a significant difference when
doing benchmarks between 4.5 and 4.6, using fio's sync engine.

I was able to regain the performance by getting the pvsync2 engine
working with the new p{read,write}v2 syscalls, but this patchset allows
polling to be tried in the direct-io path with the other syscalls.

Rather than having to convert applications to prwv2 syscalls, users can
enable this knob that let's them see the same performance as they may
have seen in 4.5 when it always polled.

Jon Derrick (2):
  block: add queue flag to always poll
  block: add forced polling sysfs controls

 block/blk-core.c       |  8 ++++++++
 block/blk-sysfs.c      | 38 ++++++++++++++++++++++++++++++++++++++
 fs/direct-io.c         |  7 ++++++-
 include/linux/blkdev.h |  2 ++
 4 files changed, 54 insertions(+), 1 deletion(-)

-- 
2.5.0


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2016-05-12 17:35 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-31 20:19 [PATCH 0/2] Block: Give option to force io polling Jon Derrick
2016-04-05 12:38 ` Christoph Hellwig
2016-04-05 15:54   ` Keith Busch
2016-04-05 17:27     ` Christoph Hellwig
2016-04-05 18:07       ` Stephen Bates
2016-05-05 19:44 ` Stephen Bates
2016-05-08  9:02   ` hch
2016-05-09 14:53     ` Stephen Bates
2016-05-12  7:08       ` hch
2016-05-12 17:27         ` Stephen Bates
2016-05-12 17:34           ` Derrick, Jonathan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).