All of lore.kernel.org
 help / color / mirror / Atom feed
* planned csched improvements?
@ 2009-10-09 14:53 Jan Beulich
  2009-10-09 15:59 ` George Dunlap
  2009-10-10  8:03 ` Tian, Kevin
  0 siblings, 2 replies; 13+ messages in thread
From: Jan Beulich @ 2009-10-09 14:53 UTC (permalink / raw)
  To: xen-devel

After the original announcement of plans to do some work on csched there
wasn't much activity, so I'd like to ask about some observations that I made
with the current implementation and whether it would be expected that
those planned changes would take care of them.

On a lightly loaded many-core non-hyperthreaded system (e.g. a single
CPU bound process in one VM, and only some background load elsewhere),
I see this CPU bound vCPU permanently switch between sockets, which is
a result of csched_cpu_pick() eagerly moving vCPU-s to "more idle"
sockets. It would seem that some minimal latency consideration might be
useful to get added here, so that a very brief interruption by another
vCPU doesn't result in unnecessary migration.

As a consequence of that eager moving, in the vast majority of cases
the vCPU in question then (within a very short period of time) either
triggers a cascade of other vCPU migrations, or begins a series of
ping-pongs between (usually two) pCPU-s - until things settle again for
a while. Again, some minimal latency added here might help avoiding
that.

Finally, in the complete inverse scenario of severely overcommitted
systems (more than two fully loaded vCPU-s per pCPU) I frequently
see Linux' softlockup watchdog kick in, now and then even resulting
in the VM hanging. I had always thought that starvation of a vCPU
for several seconds shouldn't be an issue that early - am I wrong
here?

Jan

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

end of thread, other threads:[~2009-10-21  2:26 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-09 14:53 planned csched improvements? Jan Beulich
2009-10-09 15:59 ` George Dunlap
2009-10-12  7:31   ` Jan Beulich
2009-10-17  0:16   ` Mukesh Rathor
2009-10-19  9:34     ` George Dunlap
2009-10-20  0:01       ` Mukesh Rathor
2009-10-20  9:37         ` George Dunlap
2009-10-20  9:54           ` Juergen Gross
2009-10-21  2:26           ` Mukesh Rathor
2009-10-10  8:03 ` Tian, Kevin
2009-10-12  7:27   ` Jan Beulich
2009-10-12  7:32     ` Tian, Kevin
2009-10-12  7:34     ` Keir Fraser

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.