Macworld Forums: Bugs & Fixes: Dealing with CPU overloads, part two - Macworld Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Bugs & Fixes: Dealing with CPU overloads, part two

#1 User is offline   Macworld Icon

  • Story Poster
  • Icon
  • Group: MW Bot
  • Posts: 12,854
  • Joined: 30-November 07

Posted 19 September 2008 - 10:49 AM

Post your comments for Bugs & Fixes: Dealing with CPU overloads, part two here
0

#2 User is offline   bousozoku Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 302
  • Joined: 28-May 08

Posted 19 September 2008 - 11:57 AM

It's interesting to see that, since the move to a "superior" processor, that Apple users are dealing with performance quirks.
It seems odd since having a dual G4 system, that the largest processor maker would have created such poor implementations (well, Intel couldn't divide correctly until the Pentium III) or that Apple wasn't able to handle the quirks of the processor.
I guess it's easier to deal with the performance characteristics of a low performance "supercomputer".
0

#3 User is offline   bigh Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 384
  • Joined: 20-October 04

Posted 19 September 2008 - 12:36 PM

If you would be so kind, please explain what this article has to do with processors, and not operating systems or other software???
0

#4 User is offline   DisabledTrucker Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 320
  • Joined: 01-August 07

Posted 19 September 2008 - 12:54 PM

I tracked mine down to two culprits, Skype and Safari, both use enormous amounts of memory as well as CPU...
0

#5 User is online   gajones Icon

  • Newbie
  • Pip
  • Group: Members
  • Posts: 5
  • Joined: 16-June 08

Posted 19 September 2008 - 01:05 PM

i find this command useful for monitoring cpu actvity in the terminal:
/usr/bin/top -ocpu -R -F -s 2 -n30
0

#6 User is offline   ted_landau Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 49
  • Joined: 14-April 06

Posted 19 September 2008 - 01:22 PM

I did get kind of sidetracked in the end. If you check the prior linked columns, you'll see they both deal with issues where the CPU % in Activity Monitor was headed skyward. That's the "CPU overload" in question.

However, in searching for a solution to the Spotlight matter in today's column, I wound up detouring into the whole Privacy list etc. mess. In the end, I probably would have given this column a different name, but I was already sort of committed to "Part 2" -- as last week's column was "Part 1."

Not the best justification, I admit. But there you have it. :)

- Ted
0

#7 User is offline   buadhai Icon

  • Newbie
  • Pip
  • Group: Members
  • Posts: 6
  • Joined: 19-September 08

Posted 19 September 2008 - 02:02 PM

Another "sure and hassle-free solution" to the unwanted Spotlight indexing of a cloned drive is to write a tiny shell script that turns indexing off. If you use CCC to clone the drive you can run the script as a "post flight" script. Or, you can get it to run periodically using launchd.

=====
#!/bin/sh

mdutil -i off /Volumes/YourClone/
=====
0

#8 User is offline   msadesign Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 21
  • Joined: 28-April 04

Posted 21 September 2008 - 03:56 AM

Good one, Ted. I write a weekly column for the local paper here in Naples Florida and I can tell you that anyone who thinks cranking out 750 words every week is simple has never tried it!

I've done the same thing in a Part 2 piece- sort of wandered- although I certainly don't have your readership?
0

#9 User is online   bigcloits Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 51
  • Joined: 31-December 07

Posted 21 September 2008 - 08:10 AM

Also handy, Instead of using -ocpu ...
/usr/bin/top -orsize -R -F -s 2 -n30
... to show resident memory size of processes. I have two AppleScripts handy for this, one to “show cpu” usage and one to “show ram” usage in the Terminal. It’s faster than launching Activity Monitor, which can be really slow when your machine is bogged down. If things are bogged and I want to know what’s going on, this is the fastest way I know of to find out if there’s a process hogging cpu and/or ram.
For those who don’t know how to get a command running in a terminal window via AppleScript ...
tell application "Terminal"
activate
do script "/usr/bin/top -orsize -R -F -s 2 -n30"
end tell
0

#10 User is offline   AdamS Icon

  • Newbie
  • Pip
  • Group: Members
  • Posts: 9
  • Joined: 25-January 07

Posted 22 September 2008 - 05:54 AM

If you're using a backup drive for Time Machine backups, then you should NOT disable Spotlight for the drive. When Leopard first came out, I disabled Spotlight for my backup drive, since the indexing activity was bogging my Mac down awfully. But when I brought up Time Machine, I couldn't find a single file. In the end, I just had to be patient as my drive got indexed (I simply let it run overnight).
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users