Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Pageout Behavior Question

Pageout Behavior Question
Thread Tools
Mac Enthusiast
Join Date: Feb 2003
Location: Portland, Oregon
Status: Offline
Reply With Quote
Mar 15, 2003, 12:50 PM
 
I'm on an iBook 600 (snow) r.2 and I have 640 mb of physical ram installed. After I reboot and all the apps that I have set to start have started, I have about 250 mb used up. I noticed that at this time I also have 5 pageouts. Is this normal behavior? My understanding of a pageout was that they were used when the physical ram is all used up so the OS will write some of that ram to disk, thus a pageout. Is this correct, more than less?



jesse ;-)
(Last edited by jessejlt; Mar 15, 2003 at 01:06 PM. )
     
Senior User
Join Date: Jan 2001
Location: california
Status: Offline
Reply With Quote
Mar 15, 2003, 08:49 PM
 
your understanding is mostly correct.. the problem is that OSX (and maybe BSD?) handles it a little differently. i'm not sure about the technical details, but you'll almost always get pageouts before you're out of physical RAM.
so i guess all i can say is not to be worried - that's normal. i just wish i could explain why ;c) i seem to get different behavior out of linux (2.4.20) - more what i'd expect.
     
Dedicated MacNNer
Join Date: Dec 2001
Location: Promised Land
Status: Offline
Reply With Quote
Mar 16, 2003, 11:53 PM
 
Originally posted by superlarry:
your understanding is mostly correct.. the problem is that OSX (and maybe BSD?) handles it a little differently. i'm not sure about the technical details, but you'll almost always get pageouts before you're out of physical RAM.
so i guess all i can say is not to be worried - that's normal. i just wish i could explain why ;c) i seem to get different behavior out of linux (2.4.20) - more what i'd expect.
This is because the kernel will "age" pages that are explicitly marked as "probably won't be used again". Since these pages may be used in the future, but aren't likely to be, they are paged out to disk so more real RAM is availble. The pages aren't actually released, because the page MAY be needed in the future.

The Linux kernel is different, it generally won't page out until it absolutly has to.

The OS X behavior is similar to *BSD which is considered to have a better VM system than Linux.

IOW, what the OP is seeing is normal (and generally preffered) behavior.

HTH.
G5 2.5 DP/2GB RAM/NVidia 6800 Ultra
PowerBook Al 1Ghz/768MB RAM
6gb Blue iPod Mini
     
Senior User
Join Date: Jan 2001
Location: california
Status: Offline
Reply With Quote
Mar 17, 2003, 08:52 AM
 
cool - thanks!
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 07:49 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2