All of lore.kernel.org
 help / color / mirror / Atom feed
* Priority for SMP VMs
@ 2008-07-03  2:36 Gabriel Southern
  2008-07-21 21:00 ` Mark Williamson
  0 siblings, 1 reply; 8+ messages in thread
From: Gabriel Southern @ 2008-07-03  2:36 UTC (permalink / raw)
  To: xen-devel

Hi,

I'm working a project with SMP VMs and I noticed something about the
behavior of the credit scheduler that does not match my understanding
of the documentation about the credit scheduler.  It seems like
assigning more VCPUs to a VM increases the proportion of total system
CPU resources the VM will receive, whereas the documentation indicates
that this should be controlled by the weight value.

For example when running a CPU intensvie benchmark with some VMs
configured with 1-VCPU and other VMs configured with 8-VCPUs, the
benchmark took 37% longer to complete on the VMs with 1-VCPU than the
ones with 8-VCPUs.  Unfortunately I did not record the exact values
for CPU time that each VM received; however, I think that the 8-VCPU
VMs did receive around 30% more CPU time than the 1-VCPU VMs.  These
tests were performed with the default weight of 256 for all VMs and no
cap configured.

I don't think that this is the behavior that the scheduler should
exhibit based on the documentation I read.  I admit the tests I was
doing were not really practical use cases for real applications.  But
I'd be curious if anyone knows if this is a limitation of the design
of the credit scheduler, or possibly due to a configuration problem
with my system.  I running Xen 3.2.0 compiled from the official source
distribution tarball, and the guest VMs are also using the 3.2.0
distribution with the 2.6.18 kernel.  Any ideas anyone has about why
my system is behaving this way are appreciated.

Thanks,

Gabriel

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-07-31  2:40 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-03  2:36 Priority for SMP VMs Gabriel Southern
2008-07-21 21:00 ` Mark Williamson
2008-07-22  3:43   ` Gabriel Southern
2008-07-22 11:07     ` George Dunlap
2008-07-22 15:59       ` Jeremy Fitzhardinge
2008-07-23  2:49       ` Gabriel Southern
2008-07-24 15:20         ` George Dunlap
2008-07-31  2:40           ` Gabriel Southern

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.