Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1291083 > unrolled thread
| Started by | Paolo Bonzini <pbonzini@redhat.com> |
|---|---|
| First post | 2015-12-14 11:40 +0100 |
| Last post | 2015-12-15 02:30 +0100 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [RFC PATCH 2/2] block: virtio-blk: support multi virt queues per virtio-blk device Paolo Bonzini <pbonzini@redhat.com> - 2015-12-14 11:40 +0100
Re: [RFC PATCH 2/2] block: virtio-blk: support multi virt queues per virtio-blk device Ming Lei <ming.lei@canonical.com> - 2015-12-15 02:30 +0100
| From | Paolo Bonzini <pbonzini@redhat.com> |
|---|---|
| Date | 2015-12-14 11:40 +0100 |
| Subject | Re: [RFC PATCH 2/2] block: virtio-blk: support multi virt queues per virtio-blk device |
| Message-ID | <qFyHV-4U5-53@gated-at.bofh.it> |
On 18/06/2014 06:04, Ming Lei wrote: > For virtio-blk, I don't think it is always better to take more queues, and > we need to leverage below things in host side: > > - host storage top performance, generally it reaches that with more > than 1 jobs with libaio(suppose it is N, so basically we can use N > iothread per device in qemu to try to get top performance) > > - iothreads' loading(if iothreads are at full loading, increasing > queues doesn't help at all) > > In my test, I only use the current per-dev iothread(x-dataplane) > in qemu to handle 2 vqs' notification and precess all I/O from > the 2 vqs, and looks it can improve IOPS by ~30%. > > For virtio-scsi, the current usage doesn't make full use of blk-mq's > advantage too because only one vq is active at the same time, so I > guess the multi vqs' benefit won't be very much and I'd like to post > patches to support that first, then provide test data with > more queues(8, 16). Hi Ming Lei, would you like to repost these patches now that MQ support is in the kernel? Also, I changed my mind about moving linux-aio to AioContext. I now think it's a good idea, because it limits the number of io_getevents syscalls. O:-) So I would be happy to review your patches for that as well. Paolo -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [next] | [standalone]
| From | Ming Lei <ming.lei@canonical.com> |
|---|---|
| Date | 2015-12-15 02:30 +0100 |
| Message-ID | <qFMBc-5DF-11@gated-at.bofh.it> |
| In reply to | #1291083 |
Hi Paolo, On Mon, Dec 14, 2015 at 6:31 PM, Paolo Bonzini <pbonzini@redhat.com> wrote: > > > On 18/06/2014 06:04, Ming Lei wrote: >> For virtio-blk, I don't think it is always better to take more queues, and >> we need to leverage below things in host side: >> >> - host storage top performance, generally it reaches that with more >> than 1 jobs with libaio(suppose it is N, so basically we can use N >> iothread per device in qemu to try to get top performance) >> >> - iothreads' loading(if iothreads are at full loading, increasing >> queues doesn't help at all) >> >> In my test, I only use the current per-dev iothread(x-dataplane) >> in qemu to handle 2 vqs' notification and precess all I/O from >> the 2 vqs, and looks it can improve IOPS by ~30%. >> >> For virtio-scsi, the current usage doesn't make full use of blk-mq's >> advantage too because only one vq is active at the same time, so I >> guess the multi vqs' benefit won't be very much and I'd like to post >> patches to support that first, then provide test data with >> more queues(8, 16). > > Hi Ming Lei, > > would you like to repost these patches now that MQ support is in the kernel? > > Also, I changed my mind about moving linux-aio to AioContext. I now > think it's a good idea, because it limits the number of io_getevents > syscalls. O:-) So I would be happy to review your patches for that as well. OK, I try to figure out a new version, and it might take a while since it is close to festival season, :-) Thanks, -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web