All of lore.kernel.org
 help / color / mirror / Atom feed
* VCPU hotplug problem
@ 2008-02-12  3:26 Gabriel Southern
  2008-02-12  3:42 ` Chris Lalancette
  0 siblings, 1 reply; 5+ messages in thread
From: Gabriel Southern @ 2008-02-12  3:26 UTC (permalink / raw)
  To: xen-devel

Hello,

I am working on a project using the VCPU hotplug feature in Xen, and I
think that there is a problem with how Linux is processing CPU hotplug
events.  The problem I have seen is that the /proc/stat file does not
change the number of CPU entries in response to the: xm vcpu-set
<domain> <num> command.  However, the /proc/cpuinfo file is updated
correctly.

The reason this is important is that some applications use the
sysconf(_SC_NPROCESSORS_ONLN) to determine how many threads to run.
In Linux this function parses the /proc/stat file to determine how
many processors are available.  However, the /proc/stat file is not
being updated correctly in response to the xm vcpu-set command.

It would be a big help for me if anyone else could test to see if they
experience the same problem.  I'm not sure if this would qualify as a
problem with Linux or with Xen; however, any ideas for fixing it are
appreciated as well.

Thanks,

-Gabriel

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

end of thread, other threads:[~2008-02-13  2:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-12  3:26 VCPU hotplug problem Gabriel Southern
2008-02-12  3:42 ` Chris Lalancette
2008-02-12  4:13   ` Gabriel Southern
2008-02-12  7:59   ` Keir Fraser
2008-02-13  2:20     ` 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.