2014-06-23 0:32 GMT-04:00 Venkateswara Rao Nandigam
<venkateswararao.nandi...@citrix.com>:
> It depends on Guest driver. If you look at virtio, the present guest drivers 
> are implemented this way, I presume there cannot be a better way 
> functionally. But if someone wants to reduce these notifications, they can do 
> it in their Guest driver. There were some generic attempts like "TX Interrupt 
> Moderation" and "polling mode" in virtio driver.

It is interesting. Are there similar ways in RX path?

>
> I have reduced notifications in my own implementation, but that’s specific to 
> my Guest.

I am interested in the reduced notification mechanism. Would you mind
sharing your implementation? Thanks.

Regards,
Cong
>
> Thanks,
> Venkatesh
>
> -----Original Message-----
> From: David Xu [mailto:davidx...@gmail.com]
> Sent: Monday, June 23, 2014 8:43 AM
> To: Venkateswara Rao Nandigam
> Cc: kvm
> Subject: Re: vhost notification model
>
> 2014-06-22 22:57 GMT-04:00 Venkateswara Rao Nandigam
> <venkateswararao.nandi...@citrix.com>:
>> There are individual notifications for each packet/buffer on the both Rx and 
>> Tx.
>
> So, it means there is no coalescing mechanism for Rx/Tx notification 
> currently. Each request/response (Rx/Tx) will trigger a VM exit/entry.
> Right?
>
> Regards,
> Cong
>
>>
>> -----Original Message-----
>> From: kvm-ow...@vger.kernel.org [mailto:kvm-ow...@vger.kernel.org] On
>> Behalf Of David Xu
>> Sent: Sunday, June 22, 2014 11:55 PM
>> To: kvm
>> Subject: vhost notification model
>>
>> Hi All,
>>
>> When vhost receive packets, does it notify target VM for each request or a 
>> bunch of requests? How about the tx path? When one VM send packets, does the 
>> VM trap to privilege mode via VM exit and kick vhost for each packet or  
>> buffer several packets then trap and kick once?
>> Thanks.
>>
>> Regards,
>> Cong
>> --
>> To unsubscribe from this list: send the line "unsubscribe kvm" in the
>> body of a message to majord...@vger.kernel.org More majordomo info at
>> http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to