Increasing performance by quitting remnant or unnecessary system processes
More frequently than one might assume, application processes under Mac OS X stick around longer than they're welcome. Even though you've ostensibly quit an application (it no longer appears in the Dock or is turned off via a preference pane), its core or periphery processes may still be lingering and consuming system resources unnecessarily. The benefit in speed brought about by ending these processes can be dramatic, especially on systems with less RAM.
There are other side effects of unnecessary processes that are hidden from plain view. Processes that are using data stored on removable media and mounted disk images can prevent those media from ejecting.
There are two ways to quit processes that are hidden from the Finder: Use the Terminal to list all (or a set of) running processes and their associated PID (process ID) numbers, then use the kill command to end them or launch Activity Monitor (located in Applications/Utilities) and use a graphical interface to identify and end them. The former is powerful and highly configurable, but not without using a multitude of commands to filter and sort and detail the process list. The latter affords easy access to information about memory/processor usage and the files in use (these can include fonts, caches, intra-application executable binaries and more) by any running process.
Here's what the primary Activity Monitor window looks like:
Types of processes that should be considered for elimination:
Processes with names similar to closed applications While there are a few independent application-related processes that should be left running even when an application itself is closed (iChatAgent, if you'd like to be notified of incoming chat requests while the application is closed, for instance), most processes with names similar to applications you thought had been completely quit can be safely killed via Activity Monitor [see box 2 in screenshot].
PowerPC processes on Intel-based Macs Running Rosetta applications chews up large amounts of memory. Whenever Rosetta is active unnecessarily, it's a tremendous waste of resources. In Activity Monitor, click on the Kind tab. [see box 1 in the screenshot] This will split the list into PowerPC and Intel processes.
For instance, we found a PowerPC ATI-related process, the side effect of attempting to install and run PowerPC-only graphics card control software; and an unused FontAgent Pro process running on an in-house MacBook Pro.
diskimages processes Sometimes, the only way to unmount a stubborn disk image is to kill its associated diskimages process. Use the Process Name tab [see box 3 in the screenshot] to sort as such, and look for these processes. Next, click on their name and press the Inspect button. Click on the Open Files and Ports tab, then scroll to the bottom of the text window. You should see the location and name of the associated disk image (e.g. /Users/bwilson/Desktop/X11Update2006.dmg).
Note that you may need to force diskimages processes to quit. The option force quit is shown after the Quit Process button is clicked.
High CPU-usage processes Click on the CPU tab [see box 4 in the screenshot] until its arrow is facing downward. Look at the top of the list for processes that are using extremely high processor resources (sometimes above 100%). These may be hung or otherwise erratic processes not associated with a running application. If they are associated with a currently running application that is hung or not responding properly, quit them (by force if necessary) then re-launch application.
Duplicate processes Click on the Process Name tab [see box 3 in the screenshot] to organize items alphabetically, then look for items with the exact same name then kill all but one.
Note that it can be dangerous to arbitrarily kill processes listed in Activity Monitor. Some are critical system functions, which can cause loss of unsaved data and other problems if forced to quit. Keep an eye on MacFixIt for coverage of processes owned by the system that can be safely quit to work around troubleshooting issues.
Feedback? Late-breakers@macfixit.com.
Resources

-- Activity Monitor has some help in this area. Highlight the suspect process and click on "Inspect".
-- That will tell you the name of the Parent Process, who owns it, and by clicking on the three tabs, can tell you a lot about the files it is using, memory used, and statistics on its activity.
-- Also, if the Process Name is all lower case letters, or the Information Panel does not show "Open Files and Ports," it is very likely an Operating System process. Changing those could seriously affect your system stability.
As noted in your illustration, I have observed with concern the relatively large amount of RAM used by Safari when it's simply idling while another application is being used. Is there a way to reduce Safari's demands on RAM without significantly imparing its functions.
Yeah, Safari can be a pain sometimes. I use it constantly, and find that some (many) websites cause Safari to go hog-wild and take over the CPU, even when they're just open "in the background".
Many sloppy third-world sites do this, as well as some big, busy news and entertainment sites, but the worst for me is ... Macworld.com, which I have open all the time -- in Camino, which I also use for other sites Safari can't handle comfortably.
I keep Activiity Monitor open with its graph in the Dock, so whenever my PowerBook's fans come on I can check who's overusing the CPU, and it's nearly always Safari (though sometimes it's the Finder, or Camino, or some poorly-written app with no self-discipline). Be nice if Safari's developers would notice this behavior and correct it.
I have noticed the same thing about Safari. It would chew up 50%+ of the CPU
and wasn't doing anything, neither were any other applications. I had not
thought of checking a particular site - like Macworld. I could not think of a way
to pose the question on a forum. At least now I know I'm not alone.
thanks
You can inspect your running processes there:
http://triviaware.com/macprocess
In the Activity Viewer is highlighted FontAgent. If the user force-quit this app their font management features will stop working.
In reality many idle apps have very little impact on a system as their memory is mapped to disk as virtual memory pages, freeing physical RAM for active processes. Properly written software should barely make any impact on CPU use, and even if it is running constantly the Kernel will force interruptions to allow other processes to have time to run (or use other cores/CPUs in today's Macs).
If an app takes 100% CPU when not in use, contact the developer/vendor. Vote with your wallet. It is not in any company's interest to *not* sell its products to as many people as it can.
That would be fine except many applications are NOT properly written and do stupid things like poll the system many times a second just to see if the user did something.
Take Palm Desktop for example. This package launches a nifty little process called "Palm Desktop Background" which has as it's sole purpose (as far as I can tell) to see if the user wants to sync or not. It does this by repeatedly checking the usb port. It doesn't take up much of my cpu - less than 1%, but that's 1% lost to a process that is useless to me 99.99% of the time. Worse, it's using 3.73 MB of real memory and 141.72 MB of virtual memory. Sure, it won't effect that much day to day, but killing it (and other background processes such as several by HP) CAN make a significant difference when playing high-performance games, audio/visual processing, or cgi rendering.
The processes will come back upon restart. What would be great is a little app that could selectively "tune" your running processes by killing resource hogs when you need to do serious crunching. Just tweaking with nice can help too, but some things just need to be killed if you're not using them.
I agree that unused apps should have their memory paged out. But what annoys me is the number of processes listed under users who have already logged out. E.g. after a week or two, there are over 10 AppleSpell processes, many under user names who have already logged out. EACH AppleSpell process uses 500-900K of real memory and ~37MB of virtual memory. I find it hard to believe that a dozen of these processes do not affect performance, no matter how paged out they are. I find it even harder to believe Apple would let processes from logged out users hang around like that.
Could somebody please respond to this question? It's troubling me too. Should it? Firefox on my White MacBook Tiger OS is quoted to be using 96MB Real and 480MB Virtual.
Many thanks.
I highly recommend that you install something like MenuMeters so you can watch for runaway processes, although whirring fans are a nice audible alarm too.
Finally, another thing to look for is to sort your Activity monitor by VM size. Look for small applications that have large VM footprints. These are applications with memory leaks. If you keep your system up for days at a time, you should periodically quit and restart such applications. And send a note to their developer asking them to clean up their app.
Safari is one such app. Periodically quitting and restarting it will improve your VM performance by reducing paging.
I heartily agree about MenuMeters. It's a far more convenient way to keep an eye on resource usage. Activate the CPU and Memory items, at the least; Network and Disk if you have the menu bar space.
Besides the graphic indicators in your menu bar, each item has a drop-down menu with more detailed information, and if you need to see more (or kill an offending process), the CPU menu includes an Open Activity Monitor command, which often works even when some runaway app is hogging so much CPU that you can't navigate to Activity Monitor in the Finder or the Dock.
If you're even slightly interested about what your Mac hardware is doing while you work, MenuMeters is indispensable!
Does that mean that I am running super efficiently? I have a feeling that is not the case.
Is this goofy? Everything seems to be running fine. Weird.
BH
video izle
izle
komik videolar
- by tonyline August 12, 2008 8:40 PM PDT
- brand new Tiffany & CO Pendants Return to Tiffany oval choker Tiffany Co Necklacesand Tiffany Co bracelet
- Like this Reply to this comment
-
(16 Comments)Tiffany Silver Accessories