Re: [Qemu-devel] [PATCH] hw/virtio: enable common virtio feature for mmio device

2014-07-02 Thread Ming Lei
On Wed, Jul 2, 2014 at 8:34 PM, Michael S. Tsirkin wrote: > On Wed, Jun 04, 2014 at 10:05:55AM +0800, Ming Lei wrote: >> Both 'indirect_desc' and 'event_idx' are bus independent features, >> and they should be enabled for mmio devices too. >> >> On arm64 quad core VM(qemu-kvm), the patch can incre

Re: [Qemu-devel] [PATCH] hw/virtio: enable common virtio feature for mmio device

2014-07-02 Thread Michael S. Tsirkin
On Wed, Jun 04, 2014 at 10:05:55AM +0800, Ming Lei wrote: > Both 'indirect_desc' and 'event_idx' are bus independent features, > and they should be enabled for mmio devices too. > > On arm64 quad core VM(qemu-kvm), the patch can increase block I/O > performance a lot with latest linux tree: >

Re: [Qemu-devel] [PATCH] hw/virtio: enable common virtio feature for mmio device

2014-06-30 Thread Ming Lei
On Mon, Jun 30, 2014 at 6:09 PM, Michael S. Tsirkin wrote: > On Mon, Jun 16, 2014 at 05:26:33PM +0800, Ming Lei wrote: >> On Mon, Jun 16, 2014 at 3:54 PM, Paolo Bonzini wrote: >> > Il 09/06/2014 10:00, Ming Lei ha scritto: >> > >> >> On Wed, Jun 4, 2014 at 10:05 AM, Ming Lei wrote: >> >>> >> >>>

Re: [Qemu-devel] [PATCH] hw/virtio: enable common virtio feature for mmio device

2014-06-30 Thread Michael S. Tsirkin
On Mon, Jun 16, 2014 at 05:26:33PM +0800, Ming Lei wrote: > On Mon, Jun 16, 2014 at 3:54 PM, Paolo Bonzini wrote: > > Il 09/06/2014 10:00, Ming Lei ha scritto: > > > >> On Wed, Jun 4, 2014 at 10:05 AM, Ming Lei wrote: > >>> > >>> Both 'indirect_desc' and 'event_idx' are bus independent features,

Re: [Qemu-devel] [PATCH] hw/virtio: enable common virtio feature for mmio device

2014-06-30 Thread Michael S. Tsirkin
On Wed, Jun 04, 2014 at 10:05:55AM +0800, Ming Lei wrote: > Both 'indirect_desc' and 'event_idx' are bus independent features, > and they should be enabled for mmio devices too. > > On arm64 quad core VM(qemu-kvm), the patch can increase block I/O > performance a lot with latest linux tree: >

Re: [Qemu-devel] [PATCH] hw/virtio: enable common virtio feature for mmio device

2014-06-30 Thread Ming Lei
Hi Guys, On Wed, Jun 4, 2014 at 10:05 AM, Ming Lei wrote: > Both 'indirect_desc' and 'event_idx' are bus independent features, > and they should be enabled for mmio devices too. > > On arm64 quad core VM(qemu-kvm), the patch can increase block I/O > performance a lot with latest linux tree: >

Re: [Qemu-devel] [PATCH] hw/virtio: enable common virtio feature for mmio device

2014-06-16 Thread Paolo Bonzini
Il 16/06/2014 11:26, Ming Lei ha scritto: On Mon, Jun 16, 2014 at 3:54 PM, Paolo Bonzini wrote: Il 09/06/2014 10:00, Ming Lei ha scritto: On Wed, Jun 4, 2014 at 10:05 AM, Ming Lei wrote: Both 'indirect_desc' and 'event_idx' are bus independent features, and they should be enabled for mmio

Re: [Qemu-devel] [PATCH] hw/virtio: enable common virtio feature for mmio device

2014-06-16 Thread Ming Lei
On Mon, Jun 16, 2014 at 3:54 PM, Paolo Bonzini wrote: > Il 09/06/2014 10:00, Ming Lei ha scritto: > >> On Wed, Jun 4, 2014 at 10:05 AM, Ming Lei wrote: >>> >>> Both 'indirect_desc' and 'event_idx' are bus independent features, >>> and they should be enabled for mmio devices too. >>> >>> On arm64

Re: [Qemu-devel] [PATCH] hw/virtio: enable common virtio feature for mmio device

2014-06-16 Thread Paolo Bonzini
Il 09/06/2014 10:00, Ming Lei ha scritto: On Wed, Jun 4, 2014 at 10:05 AM, Ming Lei wrote: Both 'indirect_desc' and 'event_idx' are bus independent features, and they should be enabled for mmio devices too. On arm64 quad core VM(qemu-kvm), the patch can increase block I/O performance a lot wit

Re: [Qemu-devel] [PATCH] hw/virtio: enable common virtio feature for mmio device

2014-06-09 Thread Ming Lei
On Wed, Jun 4, 2014 at 10:05 AM, Ming Lei wrote: > Both 'indirect_desc' and 'event_idx' are bus independent features, > and they should be enabled for mmio devices too. > > On arm64 quad core VM(qemu-kvm), the patch can increase block I/O > performance a lot with latest linux tree: > - wit

[Qemu-devel] [PATCH] hw/virtio: enable common virtio feature for mmio device

2014-06-03 Thread Ming Lei
Both 'indirect_desc' and 'event_idx' are bus independent features, and they should be enabled for mmio devices too. On arm64 quad core VM(qemu-kvm), the patch can increase block I/O performance a lot with latest linux tree: - without the patch: 14K IOPS - with the patch: 34K IOPS