* [Questions]
@ 2014-08-20 9:37 Zhangjie (HZ)
2014-08-20 10:05 ` [Questions] Michael S. Tsirkin
0 siblings, 1 reply; 2+ messages in thread
From: Zhangjie (HZ) @ 2014-08-20 9:37 UTC (permalink / raw)
To: Michael S. Tsirkin, Jason Wang, netdev, davem, kvm
Cc: liuyongan, qinchuanyu, zhangjie14
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?
If from VCPU context, maybe the internal operation of the virtual machine will have a significant delay.
Thanks!
--
Best Wishes!
Zhang Jie
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Questions]
2014-08-20 9:37 [Questions] Zhangjie (HZ)
@ 2014-08-20 10:05 ` Michael S. Tsirkin
0 siblings, 0 replies; 2+ messages in thread
From: Michael S. Tsirkin @ 2014-08-20 10:05 UTC (permalink / raw)
To: Zhangjie (HZ); +Cc: Jason Wang, netdev, davem, kvm, liuyongan, qinchuanyu
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-08-20 10:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-20 9:37 [Questions] Zhangjie (HZ)
2014-08-20 10:05 ` [Questions] Michael S. Tsirkin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).