Page in/Page out ratio high, while lots of free Ram unused

Joined
Aug 28, 2011
Messages
7
Reaction score
0
Points
1
Hi!

Firstly, I would like to praise the community of this forum for all the advice and information I have received whilst researching solutions for my many issues over the years. I have always been able to resolve the problems through such research, yet in this case, I find myself in a stalemate.

Anyway, my problem is as follows:
I own a MacBook Pro 13" mid 2010 (2.4Ghz, 4Gb Ram), and whenever I use apps that are CPU and RAM-heavy, the system feels really sluggish and turns the mouse pointer into the beach ball more often than I care to endure. I started to investigate inside Activity Monitor and found the Page Ins/Page outs ratio to be alarming, up to 50% at times. Reading up on this issue over the internet I found people advocating Memory upgrade, if one ever experiences the ratio exceeding 10%.
Though, what I find most peculiar is the fact that during my extensive use of the CPU or Memory, the amount of Free Ram almost never drops below 2Gb, the all-time low being 1,65Gb. My first question is: why doesn't the OS use up all of the available memory when in need?
Since I'm seriously considering upgrading memory, I find myself on the fence about such action, because I don't know if it will serve the desired effect I'm looking for (reduce the ratio and improve multitasking)?
Would replacing the current HDD with a faster one also improve performance?
 
Joined
Jul 2, 2007
Messages
3,494
Reaction score
204
Points
63
Location
Going Galt...
Your Mac's Specs
MacBookAir5,2:10.13.6-iMac18,3:10.13.6-iPhone9,3:11.4.1
What version of OS X are you currently running, how long have you run it, and did this occur in previous versions of OS X on the same hardware?
 
OP
D
Joined
Aug 28, 2011
Messages
7
Reaction score
0
Points
1
I'm running Lion (clean install) for a day now. I was experiencing about the same symptoms for the whole week before that, when I installed Lion over Snow Leopard as an upgrade. Fearing that might have been the cause, I decided to format my drive and do a clean install yesterday.

To be honest, I haven't payed attention to Activity Monitor stats in Snow Leopard, but can tell you that the performance was the same as now in Lion.
 

pigoo3

Well-known member
Staff member
Admin
Joined
May 20, 2008
Messages
44,212
Reaction score
1,424
Points
113
Location
U.S.
Your Mac's Specs
2017 15" MBP, 16gig ram, 1TB SSD, OS 10.15
Anyway, my problem is as follows:
I own a MacBook Pro 13" mid 2010 (2.4Ghz, 4Gb Ram), and whenever I use apps that are CPU and RAM-heavy, the system feels really sluggish and turns the mouse pointer into the beach ball more often than I care to endure. I started to investigate inside Activity Monitor and found the Page Ins/Page outs ratio to be alarming, up to 50% at times. Reading up on this issue over the internet I found people advocating Memory upgrade, if one ever experiences the ratio exceeding 10%.
Though, what I find most peculiar is the fact that during my extensive use of the CPU or Memory, the amount of Free Ram almost never drops below 2Gb, the all-time low being 1,65Gb. My first question is: why doesn't the OS use up all of the available memory when in need?
Since I'm seriously considering upgrading memory, I find myself on the fence about such action, because I don't know if it will serve the desired effect I'm looking for (reduce the ratio and improve multitasking)?

One quick/easy solution for this is reboot your computer more often. If you go a long time between reboots...this sort of problem (sluggishness/beach balling) can occur.

Another possible solution is not to open too many apps. at the same time.

Finally...you can go into "Activity Monitor"...take a look at the various "process's" that are going on...and manually quit those that may be ongoing for apps or webpages that you are no longer using or visiting.

I get the problem you describe quite often after I've been doing some internet gaming. I either have to reboot, quit Safari altogether (then relaunch)...or close the specific webpage window that may be open that's causing the problems.

HTH,

- Nick
 
OP
D
Joined
Aug 28, 2011
Messages
7
Reaction score
0
Points
1
Rebooting can't be the solution, can it? And I still can't find an answer why Lion won't use the available Free Ram...
 
OP
D
Joined
Aug 28, 2011
Messages
7
Reaction score
0
Points
1
I upgraded my system with a Kingston 4gb DDR3 module, replacing one of the stock 2gb, thus totaling my memory to 6gb. The upgrade worked wonders! During even the most extensive use I never experienced Page Outs or Swap reaching above 10mb, whereas before it would be in the region of 300mb.
Anyways, anyone experiencing a high ratio between Page Outs and Page Ins should invest in Ram upgrade.

Cheers!
 

chscag

Well-known member
Staff member
Admin
Joined
Jan 23, 2008
Messages
65,248
Reaction score
1,833
Points
113
Location
Keller, Texas
Your Mac's Specs
2017 27" iMac, 10.5" iPad Pro, iPhone 8, iPhone 11, iPhone 12 Mini, Numerous iPods, Monterey
For whatever reason, Lion just seems to work better with more memory especially on the faster machines. A system with 4 GB of memory is probably the minimum at which Lion needs although there are some folks using less.
 

pigoo3

Well-known member
Staff member
Admin
Joined
May 20, 2008
Messages
44,212
Reaction score
1,424
Points
113
Location
U.S.
Your Mac's Specs
2017 15" MBP, 16gig ram, 1TB SSD, OS 10.15
Here are a few articles that discuss "page ins" and "page outs" (in addition to other stuff):

Does your Mac need more memory? How to know if you need a RAM upgrade

MPG - Mac Performance 101: Cores, Processes, Memory - Monitoring How Much Memory Is Used

Troubleshooting with Activity Monitor

Basically "page ins and page outs" are when the OS is reading & writing information to/from the hard drive...because there isn't enough ram to hold all the info. Obviously reading & writing info to/from the HD is MUCH slower than this same info being transferred from ram. So if page outs (writing to the HD) are high...then more ram can help.

FYI...I just upgraded my Mac Pro to 12 gig of ram...and looking at Activity Monitor (with only Safari & Mail open)...I have ZERO page outs!:)

- Nick
 
Joined
Jun 27, 2011
Messages
258
Reaction score
2
Points
18
Location
Seattle
Your Mac's Specs
Late 2013 MBP 15" I7 2.3 Ghz 16 GB Ram 500 GB SSD Retina
Sure sounds like a runaway process or something stranger going on. I have Safari, Mail, Quicken, Excel, Finder all open, and activity monitor.

I have 8 GB of ram and activity monitor says,
VM Size 187.03 GB
Page ins 291.4 MB
Page outs 0 bytes
Swap used 0 bytes

Free 5.49 GB
Wired 1.33 GB (What does this mean?)
Active 1.02 GB
Inactive 150.2 mb
Used 2.25 GB

I guess all is well. I rarely get the beach ball. Once in awhile if Time Machine is backing up and/or I'm opening a large excel file or doing some photo work.

Another comparison to maybe help figure this out. My philosophy is that Ram is so cheap you might as well put in as much as you can.

Can anyone tell me what the maximum Usable Ram is for an Early 2011 MBP? Is 8 the max this notebook will take.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top