Re: Disabling a Processor
Re: Disabling a Processor
- Subject: Re: Disabling a Processor
- From: Ricky Sharp <email@hidden>
- Date: Tue, 6 Jul 2004 18:42:57 -0500
On Jul 6, 2004, at 6:08 PM, Scott Rasche wrote:
I have code that works perfectly on a G4 PowerBook - but will lock up
on my Dual G5 machine.
If I run the code in debug mode on the G5 - I can break the deadlock
by pausing and then continuing execution.
I tested on the Dual G5 by typing the following into the terminal and
then rebooting:
sudo nvram boot-args="cpus=1"
After reboot - there are no hangups on the dual G5 - which makes me
believe the 2 processors are competing for a shared resource but for
the life of me I can't figure out what it is.
My code is a pure Java application - I also have a version that is in
Objective-C Cocoa. They both exhibit the same odd behavior.
Is there a setting in XCode to tell it to use just one processor?
Install the CHUD tools if you haven't already. One of the items you
get is a Hardware preferences panel. You then gain access to a few
settings to include using either a single CPU or both.
___________________________________________________________
Ricky A. Sharp mailto:email@hidden
Instant Interactive(tm) http://www.instantinteractive.com
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.