Re: [Qemu-devel] [PATCH 07/10] virtio: combine the read of a descriptor

2016-02-04 Thread Gonglei (Arei)
Regards, -Gonglei > -Original Message- > From: Paolo Bonzini [mailto:pbonz...@redhat.com] > Sent: Thursday, February 04, 2016 6:18 PM > To: Gonglei (Arei); qemu-devel@nongnu.org > Cc: cornelia.h...@de.ibm.com; m...@redhat.com > Subject: Re: [PATCH 07/10] virtio: combine the read of a

Re: [Qemu-devel] [PATCH 07/10] virtio: combine the read of a descriptor

2016-02-04 Thread Paolo Bonzini
On 04/02/2016 08:48, Gonglei (Arei) wrote: > 11.44% qemu-kvm [.] memory_region_find > 6.31% qemu-kvm [.] qemu_get_ram_ptr > 4.61% libpthread-2.19.so [.] __pthread_mutex_unlock_usercnt > 3.54% qemu-kvm [.] qemu_ram_addr_from_host >

Re: [Qemu-devel] [PATCH 07/10] virtio: combine the read of a descriptor

2016-02-03 Thread Gonglei (Arei)
Hi Paolo, > From: Paolo Bonzini [mailto:paolo.bonz...@gmail.com] On Behalf Of Paolo > Bonzini > > On 03/02/2016 13:34, Gonglei (Arei) wrote: > > Hi, > > > >> Subject: [Qemu-devel] [PATCH 07/10] virtio: combine the read of a > >> descriptor > >&g

Re: [Qemu-devel] [PATCH 07/10] virtio: combine the read of a descriptor

2016-02-03 Thread Paolo Bonzini
On 03/02/2016 13:34, Gonglei (Arei) wrote: > Hi, > >> Subject: [Qemu-devel] [PATCH 07/10] virtio: combine the read of a descriptor >> >> Compared to vring, virtio has a performance penalty of 10%. Fix it >> by combining all the reads for a descriptor in a sin

Re: [Qemu-devel] [PATCH 07/10] virtio: combine the read of a descriptor

2016-02-03 Thread Gonglei (Arei)
Hi, > Subject: [Qemu-devel] [PATCH 07/10] virtio: combine the read of a descriptor > > Compared to vring, virtio has a performance penalty of 10%. Fix it > by combining all the reads for a descriptor in a single address_space_read > call. This also simplifies the code nicely. &

[Qemu-devel] [PATCH 07/10] virtio: combine the read of a descriptor

2016-01-31 Thread Paolo Bonzini
Compared to vring, virtio has a performance penalty of 10%. Fix it by combining all the reads for a descriptor in a single address_space_read call. This also simplifies the code nicely. Reviewed-by: Cornelia Huck Signed-off-by: Paolo Bonzini --- hw/virtio/virtio.c | 86 ++-

Re: [Qemu-devel] [PATCH 07/10] virtio: combine the read of a descriptor

2016-01-19 Thread Cornelia Huck
On Fri, 15 Jan 2016 13:41:55 +0100 Paolo Bonzini wrote: > Compared to vring, virtio has a performance penalty of 10%. Fix it > by combining all the reads for a descriptor in a single address_space_read > call. This also simplifies the code nicely. > > Signed-off-by: Paolo Bonzini > --- > hw/

[Qemu-devel] [PATCH 07/10] virtio: combine the read of a descriptor

2016-01-15 Thread Paolo Bonzini
Compared to vring, virtio has a performance penalty of 10%. Fix it by combining all the reads for a descriptor in a single address_space_read call. This also simplifies the code nicely. Signed-off-by: Paolo Bonzini --- hw/virtio/virtio.c | 86 ++-