Skip to contentSkip to conversation

VM scheduling and network I/O

DISCUSSION Diwaker Gupta 1 participant 1 message Mar 9, 2005

lore
Share & tools
lore
#0 lore raw

Hi everyone,

I'm trying to understand the flow of control and how the VMs are scheduled while doing network I/O. Say a guest OS is trying to send a packet. So it gets scheduled, and the front-end driver places the packet in the IO descriptor ring.

Thereafter, the back end domain (in this case dom0) gets scheduled, picks up the packet and sends it out on the NIC. Is this correct? So if I were to take a tcpdump on dom0 and plot a timeline of events as the VM gets scheduled, I should see the VM get scheduled, then dom0 and while dom0 is running tcpdump should see a packet getting sent out on the NIC?

TIA

Signature · 9 lines
Diwaker Gupta
http://resolute.ucsd.edu/diwaker


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click