guest threads
hello everyone,
I was just wondering how KVM schedules multiple Virtual machines (guest
operating systems) running on top of it? If a thread/process blocks on a guest os does KVM block the whole virtual machine or are other threads/processes running on that particular guest given a chance to run?
Thanks
Tarski
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 7 lines
hello everyone,
I was just wondering how KVM schedules multiple Virtual machines
(guest
operating systems) running on top of it? If a thread/process blocks on
a
Quoted 2 lines
guest
os does KVM block the whole virtual machine or are other
threads/processes
Quoted 1 line
running on that particular guest given a chance to run?
The KVM does not schedule processes at all. Actually this is its power over Xen. There is no need to build a complex schedule, we're using such
- the Linux kernel.
Currently, except for aio, there are no threads in qemu so our user space does not use threads. Had it used threads and for the aio case, the execution of the guest relays on the call to ioctl kvm_run. So without aio, the guest is not running while waiting for disk. With aio the guest is running in the main thread context while another thread serves the aio.
Quoted 7 lines
Thanks
Tarski
-----------------------------------------------------------------------
--
Quoted 5 lines
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVD
EV
Quoted 4 lines
_______________________________________________
kvm-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
Quoted 8 lines · tarski
hello everyone,
I was just wondering how KVM schedules multiple Virtual machines (guest
operating systems) running on top of it? If a thread/process blocks on a guest os does KVM block the whole virtual machine or are other threads/processes running on that particular guest given a chance to run?
kvm is not aware of threads and processes within guests.
kvm (actually, the Linux scheduler) will deschedule a guest if one of these two conditions occur:
- if the guest executes the 'hlt' instruction (typically when it has no processes to run)
- using normal Linux process preemption rules (timeslice expires, higher priority thread becomes runnable, etc.)
so it's quite possible for multiple guest threads or processes to run within a single host timeslice.
Signature · 8 lines
error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV