[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 2/3] Improve xen_disk response latency
From: |
Anthony PERARD |
Subject: |
Re: [Qemu-devel] [PATCH 2/3] Improve xen_disk response latency |
Date: |
Fri, 2 Nov 2018 13:53:26 +0000 |
User-agent: |
Mutt/1.10.1 (2018-07-13) |
On Fri, Nov 02, 2018 at 10:01:04AM +0000, Tim Smith wrote:
> If the I/O ring is full, the guest cannot send any more requests
> until some responses are sent. Only sending all available responses
> just before checking for new work does not leave much time for the
> guest to supply new work, so this will cause stalls if the ring gets
> full. Also, not completing reads as soon as possible adds latency
> to the guest.
>
> To alleviate that, complete IO requests as soon as they come back.
> blk_send_response() already returns a value indicating whether
> a notify should be sent, which is all the batching we need.
>
> Signed-off-by: Tim Smith <address@hidden>
Acked-by: Anthony PERARD <address@hidden>
--
Anthony PERARD
- [Qemu-devel] [PATCH 0/3] Performance improvements for xen_disk v2, Tim Smith, 2018/11/02
- [Qemu-devel] [PATCH 3/3] Avoid repeated memory allocation in xen_disk, Tim Smith, 2018/11/02
- [Qemu-devel] [PATCH 2/3] Improve xen_disk response latency, Tim Smith, 2018/11/02
- [Qemu-devel] [PATCH 1/3] Improve xen_disk batching behaviour, Tim Smith, 2018/11/02
- [Qemu-devel] xen_disk qdevification (was: [PATCH 0/3] Performance improvements for xen_disk v2), Kevin Wolf, 2018/11/02
- Re: [Qemu-devel] xen_disk qdevification (was: [PATCH 0/3] Performance improvements for xen_disk v2), Paul Durrant, 2018/11/02
- Re: [Qemu-devel] xen_disk qdevification (was: [PATCH 0/3] Performance improvements for xen_disk v2), Kevin Wolf, 2018/11/02
- Re: [Qemu-devel] xen_disk qdevification, Markus Armbruster, 2018/11/05
- Re: [Qemu-devel] xen_disk qdevification, Paul Durrant, 2018/11/05
- Re: [Qemu-devel] xen_disk qdevification, Paul Durrant, 2018/11/08
- Re: [Qemu-devel] xen_disk qdevification, Kevin Wolf, 2018/11/08