• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Disabling a Processor
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >Disabling a Processor (From: Scott Rasche <email@hidden>)

  • Prev by Date: Disabling a Processor
  • Next by Date: Re: Static data?
  • Previous by thread: Disabling a Processor
  • Next by thread: Re: Disabling a Processor
  • Index(es):
    • Date
    • Thread