• 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: CPU Usage?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CPU Usage?


  • Subject: Re: CPU Usage?
  • From: Kyle Wheeler <email@hidden>
  • Date: Fri, 29 Mar 2002 13:54:44 -0500

On Friday, March 29, 2002, at 10:15 AM, email@hidden wrote:

Ran "top" to see what was going on and found that top itself uses about 10% of available CPU cycles even when nothing else is been done. Also "Terminal" is using another ~4%. On top of that I see OmniWeb and iTunes using cycles, although both are not doing anything other than being open apps in the dock. OmniWeb's usage really jumps around, sometimes going as high as 40%. Can someone explain what's going on here? Thank for any enlightenment.

Any process that is doing *anything* will use CPU cycles.

top: depending on what mode you use, top may have to sort things, it certainly needs to format it's output, and it continually polls the kernel to find out the information that it's displaying - so top uses CPU cycles because it is doing exactly that.

Terminal: The terminal is busy refreshing itself. Since top keeps telling the terminal to clear certain sections and redraw them, the Terminal keeps having to do stuff (not as much stuff, since it doesn't have to organize or sort or format anything, so it uses less cpu).

iTunes: is the iTunes window open? Then it is doing something - it's scrolling the name of the current song. As for how much rendering and whatnot is involved, I don't know, but that's what it's doing. Close the iTunes window (the application will still be running) and watch it's cpu usage drop to zero.

OmniWeb: Depends on what it's doing. It may be displaying a web page that has animation. It may be checking up on bookmarks that you told it to check for changes every so often. It may be telling Aqua to throb the default button on a form on a web page. If it's doing *anything* at all, it will take up CPU time. Some web pages have an auto-refresh command in their meta tags (like versiontracker) that tell the web browser to refresh the page every so often. It could be doing all sorts of things, even though it appears to be "doing nothing" like you say.

~Kyle Wheeler
--
Nonsense. Space is blue and birds fly through it.
-- Heisenberg
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: CPU Usage?
      • From: Shawn Erickson <email@hidden>
References: 
 >CPU Usage? (From: email@hidden)

  • Prev by Date: Re: Issue with dataWithPDFInsideRect:
  • Next by Date: Re: EOF (was [objC retain];
  • Previous by thread: Re: Frameworks in Bundles
  • Next by thread: Re: CPU Usage?
  • Index(es):
    • Date
    • Thread