Site Sponsors
Results 1 to 3 of 3

Thread: System and Speed-Up Tips. (Add yours here)

  1. #1
    Senior Member Tesselator's Avatar
    Join Date
    Aug 2010
    Location
    Japan
    Posts
    695
    Post Thanks / Like

    System and Speed-Up Tips. (Add yours here)

    Tip #: 001
    Requirements:
    Mac computer running OS X, 16GB or RAM or more.

    Here's one I discovered. I was researching some ways to optimize my system for photo editing and web browsing (which is about all I do with my system these days - being retired and all) when I came across an article by Perry Metzger written on Apr 3, 2012. The article outlined how to turn off OS X Lion's dynamic paging MMU system. I thought whack at first but I have 32GB of ram and haven't ran out or even neared the top for months so I decided to give it a try. The commands to do this are:

    sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.dynamic_pager.plist

    followed by a reboot. And you can turn it on again with:

    sudo launchctl load -wF /System/Library/LaunchDaemons/com.apple.dynamic_pager.plist
    I notice SIGNIFICANTLY less drive chatter and many many operations are noticeably faster. Especially OS operations like browsing around in folders with hundreds or thousands of images in each. Icons once displayed are actually instant... I don't mean fast either. On my system they were fast before. This is instant. Poof! A maximized window populated with any sized icons of RAW (or any kind of) images just appears and scrolling to the bottom of multiple folders each containing 4,000+ images works the same way. Browsing images in LR was sped up by about 10 or 20% too. Good news for those who like LR. Bridge was already very fast (about 6 to 8 times faster than LR) for poking around in image folders but it too became slightly faster. It's too fast in the first place to measure proper differences but doing the best I could with my stop-watch it's about double the speed with 1st time page displays (from about 2s to about 1s) and instant every time after that - for hours and hours and hours... and hours...

    I don't recommend doing this with only 8GB or less however. But if you have 24GB or more then I feel comfortable recommending running your machine full-time with the dynamic pager turned off. 16GB would probably be OK too. It works on my older 12GB mac pro system just fine. This is why "with lots of RAM" is in the title. Furthermore you should probably run some kind of memory monitor in the BG. I've been using MenuMeters since, like, forever... so I didn't need to add anything to the installation.

    I guess this will help with all versions of OS X from about 10.5 on up - which is when the paging system in OS X became slightly ridiculous. Give it a try and let us know after a few days of use, what you think.

    Someone mentioned on another site that this is potentially dangerous in low memory conditions so I gave that a test and here are my results:


    I loaded PS and upsized a two layer image file to 2,800 megapixels. It was noticeably faster than usual. Maybe 3 or 4 times faster. Odd that - I dunno why. I guess it has something to do with the continuity of RAM with that dynamic pager turned off but that's only a guess.


    And loaded a bunch of heavy-ish apps:


    PS: 2 layer 2,800 megapixel image opened,
    Safari: about 20 tabs opened with several on image threads and one (displayed) with about 120 images in it,
    iTunes: 2739 albums displayed and all icons cached,
    Mail: with over 1 million messages in the displayed DB,
    6 Finder windows each displaying cached icons for over 400 images (plus sidecars) each - all cached,
    Adobe Bridge: displaying 1,068 images,
    iPhoto: Displaying the mouse-over icon anims for about 180 albums.
    LR 4 (newest update): In develop mode pointed to a library of about 600 images,
    And Dashboard switched to with all those little applets loaded (about 16).

    I then loaded "Hardware Monitor", set up a panel just monitoring Free Memory and started quitting applications. I waited a little bit to let things settle down although there were no signs that anything needed settling which is HIGHLY unusual for OS X (!!!) and looked at the VM profile that Menumeters shows:


    Then I came here to write this and of this moment there is a tad over 4GB of RAM being used (Safari is being used (reopened) with those same 20 tabs open - and iTunes is still going because I dig this song too much to quit it). When OS X first starts up with everything I have added on it occupies about 3GB of RAM. And now any one of the apps or windows I just had opened will open instantly. I tried PS it took 4 seconds to load. I tried the finder window showing 1,068 images and all the icons were already rendered - the window expanded into view with the icons in place and the entire set of 1,068 images were all still cached.

    And I should add that browsing and clicking around in the finder windows is suuuuper smooth right now. Normally had I done something like the above I would be making coffee waiting for the system to stabilize and hoping it didn't crash.

    You can try this tip with less than 16GB if you like. It won't hurt anything. Just don't get too involved in a work project until after you have tested out the system with this modification in place to make sure it will be stable for you.
    Last edited by Tesselator; 8th February 2013 at 02:38.

  2. #2
    Senior Member Tesselator's Avatar
    Join Date
    Aug 2010
    Location
    Japan
    Posts
    695
    Post Thanks / Like

    Re: System and Speed-Up Tips. (Add yours here)

    Tip #: 002
    Requirements:
    Two or more Barracuda 3TB (ST3000DM001)
    Chipset which supports software RAID0 (I think they just about all do)

    I have three 2-drive software raids in my Mac Pro. Each drive is 3TB and the raid is RAID0. So that's 18TB inside the box and lightening fast too. The newish Barracuda 3TB (ST3000DM001) drives are just amazing! Easily as fast as the fastest single consumer grade SSD solution - when 2 are in a RAID0 configuration (and only $100 a pop) and of course 6 terabytes each. I'm booting externally but if you were to partition one of those RAIDS the OS would scream - extremely similar to an SSD (only bigger and cheaper)! I posted some screenshots of their benchmark results and people didn't even want to believe it - funny but true.






    BlackMagic Disk Speed Test
    2-Drive RAID 0 Results in FPS.




  3. #3
    Senior Member Tesselator's Avatar
    Join Date
    Aug 2010
    Location
    Japan
    Posts
    695
    Post Thanks / Like

    Re: System and Speed-Up Tips. (Add yours here)

    Tip #: 003
    Requirements:
    Two newish mSATA SSD drives and a RAIDable dual mSATA to SATA adapter.


    The way I view things I think the square full sized SATA SSD drives are already dead and antiquated. With about the same speed you get 4 times the capacity at half the price with SSHD drives - and that's a factor of 8 to 1. If it's speed you want there are duel mSATA adapters for between $25 and $75 like so: VM-R2021D (Dual mSATA to SATAII 2.5 Inches SSD Adapter) - M-FACTORS Storage and these little mSATA guys are the same speed as a full-sized SSD. With the adaptor they're two of them in a processored RAID0 so it's about twice the speed of the fastest SSD you can buy on a consumer budget! Here's a single mSATA SSD in a laptop:
    Two of those in such an adaptor as linked above would be roughly two times these speeds. And AFAIK mSATA drives are fairly cheap. So 800 MB/s writes and 1 GB/s reads for about $300 a pop or something in the same form-factor (after assembly) in 256GB sizes. Larger sizes are available of course by using larger mSATA drives in the RAID0 set

    If you're only considering a single (full sized) SSD just forget the idea and get an SSHD instead! Virtually the same speed, larger capacity, and lots cheaper!

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •