> > if (!indirect)
> > total_bufs = num_bufs;
>
> Here (http://article.gmane.org/gmane.comp.emulators.qemu.block/6620) you
> meant
>
> +in_total += desc.len;
>
> and
>
> +out_total += desc.len;
>
Yes, I did... I changed the patch and will
> @@ -415,15 +399,15 @@ void virtqueue_get_avail_bytes(VirtQueue *vq, unsigned
> int *in_bytes,
> exit(1);
> }
>
> -if (vring_desc_flags(vdev, desc_pa, i) & VRING_DESC_F_WRITE) {
> -in_total += vring_desc_len(vdev, desc_pa, i);
> +
2015-12-14 17:06 GMT+01:00 Paolo Bonzini :
>
>
> On 14/12/2015 15:51, Vincenzo Maffione wrote:
>>
>> This patch slightly rewrites the code to reduce the number of accesses, since
>> many of them seems unnecessary to me. After this reduction, the bottleneck
>> jumps from 1 Mpps to 2 Mpps.
>>
>> Patc
On 14/12/2015 15:51, Vincenzo Maffione wrote:
>
> This patch slightly rewrites the code to reduce the number of accesses, since
> many of them seems unnecessary to me. After this reduction, the bottleneck
> jumps from 1 Mpps to 2 Mpps.
>
> Patch is not complete (e.g. it still does not properly
Hi,
I am doing performance experiments to test how QEMU behaves when the
guest is transmitting (short) network packets at very high packet rates, say
over 1Mpps.
I run a netmap application in the guest to generate high packet rates,
but this is not relevant to this discussion. The only important