virtualization.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V5 0/4] Improve virtio-blk performance
@ 2012-08-02  6:25 Asias He
  2012-08-02  6:25 ` [PATCH V5 1/4] block: Introduce __blk_segment_map_sg() helper Asias He
                   ` (4 more replies)
  0 siblings, 5 replies; 13+ messages in thread
From: Asias He @ 2012-08-02  6:25 UTC (permalink / raw)
  To: linux-kernel
  Cc: Jens Axboe, kvm, Michael S. Tsirkin, virtualization, Tejun Heo,
	Shaohua Li, Christoph Hellwig


Hi folks,

This version added REQ_FLUSH and REQ_FUA support as suggested by Christoph and
rebased against latest linus's tree. 

Jens, could you please consider picking up the dependencies 1/4 and 2/4 in your
tree. Thanks!

This patchset implements bio-based IO path for virito-blk to improve
performance.

Fio test shows bio-based IO path gives the following performance improvement:

1) Ramdisk device
     With bio-based IO path, sequential read/write, random read/write
     IOPS boost         : 28%, 24%, 21%, 16%
     Latency improvement: 32%, 17%, 21%, 16%
2) Fusion IO device
     With bio-based IO path, sequential read/write, random read/write
     IOPS boost         : 11%, 11%, 13%, 10%
     Latency improvement: 10%, 10%, 12%, 10%

Asias He (4):
  block: Introduce __blk_segment_map_sg() helper
  block: Add blk_bio_map_sg() helper
  virtio-blk: Add bio-based IO path for virtio-blk
  virtio-blk: Add REQ_FLUSH and REQ_FUA support to bio path

 block/blk-merge.c          | 117 +++++++++++++------
 drivers/block/virtio_blk.c | 279 ++++++++++++++++++++++++++++++++++++++-------
 include/linux/blkdev.h     |   2 +
 3 files changed, 324 insertions(+), 74 deletions(-)

-- 
1.7.11.2

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

end of thread, other threads:[~2012-08-07  8:50 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-02  6:25 [PATCH V5 0/4] Improve virtio-blk performance Asias He
2012-08-02  6:25 ` [PATCH V5 1/4] block: Introduce __blk_segment_map_sg() helper Asias He
2012-08-02  6:25 ` [PATCH V5 2/4] block: Add blk_bio_map_sg() helper Asias He
2012-08-02  6:25 ` [PATCH V5 3/4] virtio-blk: Add bio-based IO path for virtio-blk Asias He
2012-08-02 22:28   ` Michael S. Tsirkin
2012-08-03  7:11     ` Asias He
2012-08-02  6:25 ` [PATCH V5 4/4] virtio-blk: Add REQ_FLUSH and REQ_FUA support to bio path Asias He
2012-08-02  6:27   ` Christoph Hellwig
2012-08-02  6:43     ` Asias He
2012-08-06 15:17       ` Christoph Hellwig
2012-08-07  8:50         ` Asias He
2012-08-02 21:40 ` [PATCH V5 0/4] Improve virtio-blk performance Jens Axboe
2012-08-03  7:08   ` Asias He

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).