atari800 Posted July 29, 2010 Share Posted July 29, 2010 My performance is good but VM_STAT shows otherwise Mach Virtual Memory Statistics: (page size of 4096 bytes) Pages free: 576968. Pages active: 246854. Pages inactive: 181428. Pages speculative: 267041. Pages wired down: 300422. "Translation faults": 11076345. Pages copy-on-write: 106618. Pages zero filled: 8347060. Pages reactivated: 7. Pageins: 330996. Pageouts: 0. Object cache: 15 hits of 1058716 lookups (0% hit rate) Object cache at 0%????????? 15 hits out of a million? Dell Inspiron 530 6 gig ram ---yes 6 gig 2x2 gig sticks and 2x1 gig sticks OSX 10.6.4 I usually have parallels running (2 gig max in use for OS's) but even when it is not running, the OBJECT CACHE is low Unless I am understanding this wrong, if my object cache were say 75% I would feel more performance? Maybe?? I googled for OSX system tuning but nothing out there except turn off animated desk top remove folders from desktop ..and common sense things Anyone know if these results are correct or any tuning tips? /|\800 Thanks Link to comment Share on other sites More sharing options...
atari800 Posted July 29, 2010 Author Share Posted July 29, 2010 Ok - I rebooted and started nothing but safari and terminal I quit and restarted Safari 4 times My result: Object cache: 14 hits of 400626 lookups (0% hit rate) Anyone else seeing this? Or know is this is bad or what to adjust or how to completely turn it off? *figuring since I am not finding anything, why even look? This is not a production machine so please dont respond with "you dont want to mess with Apple settings or you'll be sorry". I'd just like to know and see if enabling the cache actually does have an effect thanks in advance I found this: What exactly does the object cache hit rate percent signify? When an application requests data held in memory, the cache(s) are first asked if they have the requested memory already. If they do, then that's great, and known as a "hit". If they don't, then the data needs to be fetched from RAM, and is known as a "miss". Generally, if your application fetches mass amounts of sequential data, then the cache "hit" rate will probably be pretty high. If memory access is completely unpredictable, then the "hit" rate will be pretty low. Getting a positive hit in cache is very desirable since the cost of accessing data from memory is quite high in today's world of ever increasing disparity between processor speeds and memory speeds. This is why larger cache memories are desirable today. However, a larger cache also induces a penalty in terms of the time it takes to determine whether the requested piece of data is in the cache or not. But, today, that cost is a relatively acceptable sacrifice since main memory is so much slower. So it seems that it is looking for data in the onboard CPU cache? That seems pointless as some caches are 256k I have a Q6600 quad core with 8 meg of cache - I'd expect more than 14-15 hits. Some people are getting 95% hits Link to comment Share on other sites More sharing options...
atari800 Posted August 2, 2010 Author Share Posted August 2, 2010 Can someone open up TERMINAL and run VM_STAT and post your results? Link to comment Share on other sites More sharing options...
atari800 Posted August 6, 2010 Author Share Posted August 6, 2010 anyone please!!!~ Link to comment Share on other sites More sharing options...
rm2488 Posted August 6, 2010 Share Posted August 6, 2010 Mach Virtual Memory Statistics: (page size of 4096 bytes) Pages free: 618632. Pages active: 47480. Pages inactive: 35967. Pages speculative: 44698. Pages wired down: 39599. "Translation faults": 369694. Pages copy-on-write: 48254. Pages zero filled: 140021. Pages reactivated: 0. Pageins: 17040. Pageouts: 0. Object cache: 7 hits of 3253 lookups (0% hit rate) So mine is similar... I run 10.6.3 on a Toshiba Satellite P100 custom with 4 gigs of ram... 2x2 Link to comment Share on other sites More sharing options...
atari800 Posted August 6, 2010 Author Share Posted August 6, 2010 thanks for the reply!!!! I am wondering if its the kernel we are using? Are you running 32 bit mode or 64 bit? I am 64 bit *If you click on APPLICATIONS -> UTILITIES -> ACTIVITY MONITOR... Do you see anything running as "Intel (64 bit)" ? BTW: I am running 10.6.4 Link to comment Share on other sites More sharing options...
rm2488 Posted August 7, 2010 Share Posted August 7, 2010 I'm running 32 bit mode. So its definitely not the kernel. I AM getting awesome performance though. It blows my WIN7 right out of the water Link to comment Share on other sites More sharing options...
atari800 Posted August 10, 2010 Author Share Posted August 10, 2010 I dont feel any lag either. I was hoping someone would say "oh your {insert name} kext causes this. Use this modified version and your caching will be enabled" Thanks RM2488 FWIW: I have a dual boot (dual drive - press F12 during boot to select drive to boot from) setup OSX on one drive, Win 7 64 bit on other On occasion I "burp" OSX using MainMenu (application) to run all the BATCH TASKS then I run this in a terminal Window sudo update_dyld_shared_cache -force -universal_boot -debug upon completion I reboot. On the Windows side of things I run "Advanced System Optimizer" which does the Windows equivilent optimizing defrags registry looks for disk issues looks for "bad internet cookies" and spyware repairs registry and other stuff ..then I run defraggler to defrag hard drive Each (OSX and Windows) optimizer ritual I do takes about 5 minutes on each platform and I run them about 1 every 2 weeks Both Windows and OSX seem about as peppy as when I first installed them Thansk again I dont feel any lag either. I was hoping someone would say "oh your {insert name} kext causes this. Use this modified version and your caching will be enabled" Thanks RM2488 FWIW: I have a dual boot (dual drive - press F12 during boot to select drive to boot from) setup OSX on one drive, Win 7 64 bit on other On occasion I "burp" OSX using MainMenu (application) to run all the BATCH TASKS then I run this in a terminal Window sudo update_dyld_shared_cache -force -universal_boot -debug upon completion I reboot. On the Windows side of things I run "Advanced System Optimizer" which does the Windows equivilent optimizing defrags registry looks for disk issues looks for "bad internet cookies" and spyware repairs registry and other stuff ..then I run defraggler to defrag hard drive Each (OSX and Windows) optimizer ritual I do takes about 5 minutes on each platform and I run them about 1 every 2 weeks Both Windows and OSX seem about as peppy as when I first installed them Thansk again Link to comment Share on other sites More sharing options...
ileikcaek Posted August 11, 2010 Share Posted August 11, 2010 Mach Virtual Memory Statistics: (page size of 4096 bytes) Pages free: 14452. Pages active: 211135. Pages inactive: 129461. Pages speculative: 554097. Pages wired down: 138470. "Translation faults": 8155856. Pages copy-on-write: 258808. Pages zero filled: 1175532. Pages reactivated: 235. Pageins: 71627. Pageouts: 89. Object cache: 9 hits of 15881 lookups (0% hit rate) same here... 4GB DDR3 RAM - 2x2GB. Things are fast though. :/ Link to comment Share on other sites More sharing options...
Gringo Vermelho Posted August 11, 2010 Share Posted August 11, 2010 Mach Virtual Memory Statistics: (page size of 4096 bytes) Pages free: 520043. Pages active: 125917. Pages inactive: 79142. Pages speculative: 155326. Pages wired down: 168497. "Translation faults": 2920821. Pages copy-on-write: 59130. Pages zero filled: 1741771. Pages reactivated: 2. Pageins: 59183. Pageouts: 0. Object cache: 14 hits of 274639 lookups (0% hit rate) woo, 14 hits. Link to comment Share on other sites More sharing options...
Recommended Posts