Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

steve-p

macrumors 68000
Oct 14, 2008
1,740
42
Newbury, UK
I have zero page outs too, even after running Aperture and a couple of VMs in Parallels for a while, which is a first. Swap used was always zero but with quite a few page outs. Something changed, and I hope it's not just that they broke page out reporting :)
 

rodknocker

macrumors 6502
Jul 4, 2011
298
10
What about my stats?


Mach Virtual Memory Statistics: (page size of 4096 bytes)
Pages free: 618579.
Pages active: 956450.
Pages inactive: 77048.
Pages speculative: 83342.
Pages wired down: 359306.
"Translation faults": 356838538.
Pages copy-on-write: 18984077.
Pages zero filled: 169357675.
Pages reactivated: 426478.
Pageins: 6605659.
Pageouts: 1750141.
Object cache: 26 hits of 2605335 lookups (0% hit rate)
 

steve-p

macrumors 68000
Oct 14, 2008
1,740
42
Newbury, UK
What about my stats?


Mach Virtual Memory Statistics: (page size of 4096 bytes)
Pages free: 618579.
Pages active: 956450.
Pages inactive: 77048.
Pages speculative: 83342.
Pages wired down: 359306.
"Translation faults": 356838538.
Pages copy-on-write: 18984077.
Pages zero filled: 169357675.
Pages reactivated: 426478.
Pageins: 6605659.
Pageouts: 1750141.
Object cache: 26 hits of 2605335 lookups (0% hit rate)

Well I have

Mach Virtual Memory Statistics: (page size of 4096 bytes)
Pages free: 563475.
Pages active: 557086.
Pages inactive: 497721.
Pages speculative: 75622.
Pages wired down: 400920.
"Translation faults": 11904291.
Pages copy-on-write: 326331.
Pages zero filled: 10498030.
Pages reactivated: 2166.
Pageins: 166227.
Pageouts: 0.
Object cache: 12 hits of 63484 lookups (0% hit rate)

Which shows zero page outs also.
 

rodknocker

macrumors 6502
Jul 4, 2011
298
10
Your uptime?

I do nothing special. Just surfing, emailing and so on...

Therefore this seems to be HUGE pageouts.
 

steve-p

macrumors 68000
Oct 14, 2008
1,740
42
Newbury, UK
Only 12 hours but during that time I've been running multiple VMs, Aperture, iTunes, Safari, Mail, Notes, Preview, Time Machine concurrently. Previously there would have been page outs recorded but no swap used.
 

Ulf1103

macrumors 6502
Jan 5, 2011
282
0
probably a stupid question, bu were do you guys find Object cache

this is what i see:
 

Attachments

  • Screen Shot 2012-07-28 at 15.41.15.png
    Screen Shot 2012-07-28 at 15.41.15.png
    50.5 KB · Views: 98

rodknocker

macrumors 6502
Jul 4, 2011
298
10
vm_stat :)

----------

I don't understand why i so terrible stats :-(

Does someone know? Maybe Google Chrome?
 

rodknocker

macrumors 6502
Jul 4, 2011
298
10
I think it was because of VMware Fusion. I used it in the last 7 days.

Now after reboot page out is zero :) I will keep an eye on it to see when page out will grow :)
 

throAU

macrumors G3
Feb 13, 2012
9,201
7,354
Perth, Western Australia
Some page outs if you've run vmware are nothing to worry about.

It's the number in brackets you want to worry about.

If your machine is running slow, AND the number in brackets (page outs/sec) is not zero, then you need more ram at that point.

Having some paging, when you have applications in the background doing nothing is to be expected unless you are way over spec on RAM. Inactive applications are better paged out to make more room for buffer cache (i.e., if they are paged out, they are still in "inactive memory" and can be reclaimed instantly if more ram is needed).


Seriously, people need to relax, stop looking at inactive memory and total page out numbers and let the VM subsystem do its job.

Worry about the pages/sec while you are working, not the total numbers. Having stuff paged out that is doing nothing while the system is idle is nothing to worry about really.

I mean, for example: i have a 34 gig iphoto library.

After browsing my photos, i have 4.5gig in inactive memory, after quitting iphoto. I also have page outs (i have 8 gig ram)

This inactive memory can be reclaimed as needed. But if i fire up iphoto again, or access the iphoto database from another app, it is already in RAM for future reference...

Dumping all that cache, or having iphoto consume less memory so some idle application (i.e., one that is doing nothing) doesn't need to get paged out would be a net lose.

Fusion will do the exact same thing to try and cache access to your VM's VMDK file, to speed up virtual disk access.

"Free" memory is useless.
 
Last edited:

rodknocker

macrumors 6502
Jul 4, 2011
298
10
Thank you for the detailed description :)

It was only a bit surprised, because my system is very fast ;-)
 

throAU

macrumors G3
Feb 13, 2012
9,201
7,354
Perth, Western Australia
Thank you for the detailed description :)

It was only a bit surprised, because my system is very fast ;-)

A system that swaps intelligently SHOULD be fast, as it can better use the RAM for cache (inactive memory). Memory that is either free or consumed by an inactive app is wasted. The inactive app is better swapped out - "depending" on various circumstances, like how often it activates, etc. The kernel can only guess at these things - based on prior application performance.

Lion was slightly brain damaged as it appeared to try and swap too aggressively and hold onto inactive memory in preference too much (speculation: possibly because apple tested it more on SSD and neglected tuning for hard disk paging performance). i.e., the "guessing" Lion did about when to swap was poorly tuned when taking spinning disk performance into account...

ML seems much better as far as performance goes, but the basic idea is the same. I'd wager they just slightly tweaked some numbers in the kernel that determine how aggressively it will swap things out, vs keeping them in memory so that it doesn't hammer the disk.
 

adnbek

macrumors 68000
Oct 22, 2011
1,584
551
Montreal, Quebec
I'm finding Safari MUCH better now with ML. It's used to hog tons of ram after it's been running for a while and I've done lots of surfing, but with ML no such thing.

It could be Safari 6 more than ML that's made the difference, I don't know. But I've had Safari open since the upgrade (and have browsed a lot since then) and Safari + Safari Web Content only taking about 400-500mb of RAM. At this point with Safari 5 and Lion it would have easily been in the GBs by now.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.