From: "Gabriel Southern" Subject: VCPU hotplug problem Date: Mon, 11 Feb 2008 22:26:21 -0500 Message-ID: <7a88c6510802111926n346882cn4f6cfbe3afc06e90@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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 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