Subject: Re: [Questions]

From: "Michael S. Tsirkin" <[email-masked]>
Date: Wed, 20 Aug 2014 12:05:20 +0200

On Wed, Aug 20, 2014 at 05:37:01PM +0800, Zhangjie (HZ) wrote:
> Hi MST,
> 
> I see "reduce networking latency"
> from Networking Todo, the idea is to "allow handling short packets from softirq or VCPU context".
> If from softirq context, how could softirq copy skb to guest memory? If the method is to use mmstruct of Qemu,
> would it be expensive?

I have some very rough patches to explain this part of the idea.
Will dig them out for you.

> If from VCPU context, maybe the internal operation of the virtual machine will have a significant delay.

We'd have to find a good heuristic here.
Maybe for a small number of very short packets the delay won't be significant.

> Thanks!
> -- 
> Best Wishes!
> Zhang Jie