virtualization.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V7 0/2] Improve virtio-blk performance
@ 2012-08-08  8:07 Asias He
  2012-08-08  8:07 ` [PATCH V7 1/2] virtio-blk: Add bio-based IO path for virtio-blk Asias He
  2012-08-08  8:07 ` [PATCH V7 2/2] virtio-blk: Add REQ_FLUSH and REQ_FUA support to bio path Asias He
  0 siblings, 2 replies; 3+ messages in thread
From: Asias He @ 2012-08-08  8:07 UTC (permalink / raw)
  To: linux-kernel
  Cc: Jens Axboe, kvm, Michael S. Tsirkin, virtualization, Tejun Heo,
	Shaohua Li, Christoph Hellwig

Hi, all

Changes in v7:
- Using vbr->flags to trace request type
- Dropped unnecessary struct virtio_blk *vblk parameter
- Reuse struct virtblk_req in bio done function
- Added performance data on normal SATA device and the reason why make it optional

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%
3) Normal SATA device
     With bio-based IO path, sequential read/write, random read/write
     IOPS boost         : -10%, -10%, 4.4%, 0.5%
     Latency improvement: -12%, -15%, 2.5%, 0.8%

Asias He (2):
  virtio-blk: Add bio-based IO path for virtio-blk
  virtio-blk: Add REQ_FLUSH and REQ_FUA support to bio path

 drivers/block/virtio_blk.c | 301 +++++++++++++++++++++++++++++++++++++++------
 1 file changed, 264 insertions(+), 37 deletions(-)

-- 
1.7.11.2

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

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

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-08  8:07 [PATCH V7 0/2] Improve virtio-blk performance Asias He
2012-08-08  8:07 ` [PATCH V7 1/2] virtio-blk: Add bio-based IO path for virtio-blk Asias He
2012-08-08  8:07 ` [PATCH V7 2/2] virtio-blk: Add REQ_FLUSH and REQ_FUA support to bio path 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).