MBA, XCode and ramdisk ?

Discussion in 'MacBook Air' started by ChristianJapan, Nov 14, 2010.

  1. ChristianJapan macrumors 601

    ChristianJapan

    Joined:
    May 10, 2010
    Location:
    日本
    #1
    I assume some developer will use a new MBA at this time. Let say with XCode for some iOS development.

    Do you create a ram disk to write the temporary files during compiling to a ram disk or do you write them to SSD ?

    I wonder if with 4GB of ram it would make sense to make a 256MB ram disk for .o files etc. Since those are not needed on long run they could be stores in ram only avoiding too much write-stress on the SSD.

    What do you do ?
     
  2. aberrero macrumors 6502a

    Joined:
    Jan 12, 2010
    #2
    The anandtech review for these SSDs says that they probably won't last as long as regular SSDs because they are basically running a TRIM-like command all the time.

    Personally, I wouldn't worry about wearing out the SSD, just do time machine backups on a regular basis, and, as anand says, leave some free space on the drive to allow it to do wear leveling. SSDs are nice because they (probably) will not lose your data when they fail, they will just become smaller in capacity as sectors begin to wear out and fail. I imagine that by the time these drives are getting ready to start to begin to start having sectors fail, we will be able to purchase significantly larger and faster drives and will be wanting to replace them anyway. It isn't worth the hassle of trying to prolong its life.
     
  3. KnightWRX macrumors Pentium

    KnightWRX

    Joined:
    Jan 28, 2009
    Location:
    Quebec, Canada
    #3
    I hit cmd-B to build after opening my project. You're just being paranoid.
     
  4. PBG4 Dude macrumors 68000

    PBG4 Dude

    Joined:
    Jul 6, 2007
    #4
    I'm not using a ramdisk with my coding but your idea sounds interesting. :)
     
  5. ChristianJapan thread starter macrumors 601

    ChristianJapan

    Joined:
    May 10, 2010
    Location:
    日本
    #5
    I know, I know ...
    I eat one :apple: a day as therapy
     

Share This Page