Skip to contentSkip to conversation

Disable a CPU?

DISCUSSION Rob Gardner 3 participants 4 messages Oct 13, 2004

lore
Share & tools
lore
#0 lore raw

Is there an easy way in xen to disable a cpu in an smp box? That is, if I have a 2-cpu machine, I want xen to ignore one of them and just ran as if it's a 1-cpu machine. I could physically remove a cpu, but a software method would be much more convenient.

Thanks,
Rob Gardner
HP

-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl

#1 lore raw

Try the "nosmp" parameter on Xen's boot command line.

HTH,
Mark

Quoted 10 lines · Rob Gardner

Is there an easy way in xen to disable a cpu in an smp box? That is, if I have a 2-cpu machine, I want xen to ignore one of them and just ran as if it's a 1-cpu machine. I could physically remove a cpu, but a software method would be much more convenient.

Thanks,
Rob Gardner
HP

------------------------------------------------------- This SF.net
email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Xen-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xen-devel

-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl

#2 lore raw
Quoted 1 line · M.A. Williamson

Try the "nosmp" parameter on Xen's boot command line.

Not the same thing.

If one has 8 cpus, and only wants to disable half of them(or 1, or 5, or whatever).

-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl

#3 lore raw
Quoted 10 lines · Adam Heath
Quoted 1 line · M.A. Williamson

Try the "nosmp" parameter on Xen's boot command line.

Not the same thing.

If one has 8 cpus, and only wants to disable half of them(or 1, or 5, or whatever).

True, but I've just got 2 cpu's, so the nosmp thing should work for me.

Thanks.

Rob

-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl