Skip to contentSkip to conversation

How does domain (smp) scheduling work?

DISCUSSION Chris Bainbridge 1 participant 1 message Oct 1, 2005

lore
Share & tools
lore
#0 lore raw

Hi,

I'm curious about how the SMP support in Xen works. Is it possible to have a SMP aware 2 vcpu domain running on both physical processors at the same time? Can Xen schedule two domains at the same time, one running on each processor? How about on a hyperthreaded kernel?

If one domain has a run away process (eg. fork loop) or bad device driver, will it affect the running of other domains? I suspect it does, as there are no resource guarantees. If I have a SMP or hyperthreaded machine with uniprocessor domains, will other domains be scheduled on the 2nd cpu if the first is being hogged by a runaway domain?

Sorry if this has come up before, I've checked google and couldn't find any answers.

Cheers,
Chris