Skip to contentSkip to conversation

[Questions]

Questions Zhangjie (HZ) 2 participants 2 messages Aug 20, 2014

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

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!

Signature · 2 lines
Best Wishes!
Zhang Jie
#1 lore raw
Quoted 6 lines · Zhangjie (HZ)

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.

Quoted 1 line

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.

Quoted 4 lines

Thanks!

Signature · 2 lines
Best Wishes!
Zhang Jie