[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] block/iscsi: use 16 byte CDBs only when necessa
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH] block/iscsi: use 16 byte CDBs only when necessary |
Date: |
Wed, 3 Sep 2014 13:31:17 +0100 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Wed, Sep 03, 2014 at 10:09:21AM +0200, Peter Lieven wrote:
>
>
> > Am 02.09.2014 um 21:30 schrieb Peter Lieven <address@hidden>:
> >
> > Looking at the code, is it possible that not the guest is causing trouble
> > here, but
> > multiwrite_merge code?
> >
> > From what I see the only limit it has when merging requests is the number
> > of IOVs.
> >
> >
> > Any thoughts?
> >
> > Mine are:
> > a) Introducing bs->bl.max_request_size and set merge = 0 if the result
> > would be too big. Default
> > max request size to 32768 sectors (see below).
> > b) Hardcoding the limit in multiwrite_merge for now limiting the merged
> > size to 16MB (32768 sectors).
> > Which is the limit we already use in bdrv_co_discard and
> > bdrv_co_write_zeroes if we don't know
> > better.
>
> or c) disabling multiwrite merge for RAW or only iSCSI completely.
I think you're right, multiwrite could merge a larger request than the
storage device can handle.
Do you want to implement a)?
b) is okayish. c) is too hacky and might result in performance
regressions because it changes the I/O pattern for existing guests.
Stefan
pgpjPH_wcH_gs.pgp
Description: PGP signature
- Re: [Qemu-devel] [PATCH] block/iscsi: use 16 byte CDBs only when necessary, Peter Lieven, 2014/09/01
- Re: [Qemu-devel] [PATCH] block/iscsi: use 16 byte CDBs only when necessary, ronnie sahlberg, 2014/09/02
- Re: [Qemu-devel] [PATCH] block/iscsi: use 16 byte CDBs only when necessary, Peter Lieven, 2014/09/02
- Re: [Qemu-devel] [PATCH] block/iscsi: use 16 byte CDBs only when necessary, Peter Lieven, 2014/09/02
- Re: [Qemu-devel] [PATCH] block/iscsi: use 16 byte CDBs only when necessary, ronnie sahlberg, 2014/09/03
- Re: [Qemu-devel] [PATCH] block/iscsi: use 16 byte CDBs only when necessary, Paolo Bonzini, 2014/09/03
- Re: [Qemu-devel] [PATCH] block/iscsi: use 16 byte CDBs only when necessary, ronnie sahlberg, 2014/09/03
- Re: [Qemu-devel] [PATCH] block/iscsi: use 16 byte CDBs only when necessary, Peter Lieven, 2014/09/03