Skip to contentSkip to conversation

4 Processors initialized but only one in /proc/cpuinfo

DISCUSSION Stefan Berger 2 participants 3 messages May 12, 2006

lore
Share & tools
lore
#0 lore raw

This is about a blade that I am using. It has 2 processors with hyperthreading. I see that the Xen brings up 4 processors (xm dmesg) and I see that domain 0 initializes 4 processors (dmesg). However, I only see one processor in /proc/cpuinfo. Any (obvious) configuration that I might have done wrong on this machine?

Stefan

#1 lore raw
Quoted 5 lines · Stefan Berger

This is about a blade that I am using. It has 2 processors with hyperthreading. I see that the Xen brings up 4 processors (xm dmesg) and I see that domain 0 initializes 4 processors (dmesg). However, I only see one processor in /proc/cpuinfo. Any (obvious) configuration that I might have done wrong on this machine?

Try running xm vcpu-set 0 4, this should restore dom0's vcpus to 4.

The previous enforce_dom0_cpus test case didn't properly restore vcpu availability for dom0 and when starting xend, it may have restored the state from xenstore to dom0.

Signature · 5 lines
Ryan Harper
Software Engineer; Linux Technology Center
IBM Corp., Austin, Tx
(512) 838-9253   T/L: 678-9253
[email protected]
#2 lore raw

[email protected] wrote on 05/12/2006 02:21:33 PM:

Quoted 3 lines · Stefan Berger
Quoted 2 lines

This is about a blade that I am using. It has 2 processors with hyperthreading. I see that the Xen brings up 4 processors (xm dmesg)

and

Quoted 5 lines
Quoted 3 lines

I see that domain 0 initializes 4 processors (dmesg). However, I only see one processor in /proc/cpuinfo. Any (obvious) configuration that I might have done wrong on this machine?

Try running xm vcpu-set 0 4, this should restore dom0's vcpus to 4.

This didn't help but crashed the system and after the reboot I still only had one processor.

Quoted 4 lines

The previous enforce_dom0_cpus test case didn't properly restore vcpu availability for dom0 and when starting xend, it may have restored the state from xenstore to dom0.

This must have been the case. Removing the whole xenstore file (tdb) did the trick and after a reboot I had the four processor back.

Thanks for the hint.
Stefan

Quoted 8 lines
Signature · 6 lines
-- 
Ryan Harper
Software Engineer; Linux Technology Center
IBM Corp., Austin, Tx
(512) 838-9253   T/L: 678-9253
[email protected]

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel