Source code editing and SSD wear?
Hi there!
I'm using a brand new late 2010 13'' Macbook Air for coding. I'm really amazed by this tiny (yet very capable) machine, and enjoying it a lot.
However, I see that TRIM is not yet enabled for this machine on the current 10.6.7 OSX. I'm a bit worried of SSD wear (yes, it's my first SSD machine đ ), mainly because when you edit code, you overwrite the files you're editing a lot of times per session. While the limit of 10000 writes may seem high for casual users, I feel it's a low number when editing code. I feel that TRIM could lower these worries, as I guess it would write data into blocks with the fewest writes, in order to have uniform write numbers across the SSD... (well, I'm just guessing, I never used SSDs before).
I was considering using a ramdisk for programming, in order to save the SSD lifetime, but maybe I'm exaggerating... I just don't know.
Is there some way I can force OSX to use a huge disk cache and only write it to disk at shutdown? (my Macbook Air has 4GB RAM, and I can afford using 1GB for disk cache, if it was possible to manually configure the cache behaviour).
Thank you in advance,
cesarpixel