News for hackers. Stuff that matters.
Re:An SSD Endurance Experiment: They're All Dead (2015) by JoeAltmaier on Wednesday November 09, 2016 @06:44PM (#12916100)
Maybe there's room for a 'file write filter' that avoids writing identical data back to the same file. To save SSD lifetime. Sounds like it would have application.
Re:An SSD Endurance Experiment: They're All Dead (2015) by Shendare on Wednesday November 09, 2016 @06:53PM (#12916181)
Or if the exact same intermediate files are being overwritten over and over again, wouldn't a RAMDrive be a good place for them?
Re:An SSD Endurance Experiment: They're All Dead (2015) by benley on Wednesday November 09, 2016 @07:13PM (#12916306)
There's also something to be said for having a build system that can correctly do incremental rebuilds and caching of outputs, which could massively ease the SSD write load.
Re:An SSD Endurance Experiment: They're All Dead (2015) by cjensen on Wednesday November 09, 2016 @07:32PM (#12916466)
You guys are all adorable software devs :-). You're trying to solve a problem with software that just isn't that big a deal: high endurance drives exist, or just buy a new one every year.
Re:An SSD Endurance Experiment: They're All Dead (2015) by ComputerGuru on Wednesday November 09, 2016 @08:08PM (#12916711)
That's cute. Require maintenance where none is actually needed. Everyone hosting a CI now needs a hardware guy, too.

Bandaid solutions (replace every x months, buy something bigger/faster, etc) are not the way to go. The hardware solution to this is not buy a high-endurance drive but to buy more RAM and set up a tmpfs build directory - or buy a ram drive and use that for build instead of you want to eliminate even that software configuration step.

Re:An SSD Endurance Experiment: They're All Dead (2015) by Reason077 on Wednesday November 09, 2016 @08:58PM (#12917019)
Replacing the SSDs every year might be a valid solution, too.

It may be far cheaper to do so than to spend developer time coming up with a ramdisk solution. And RAM is far more expensive, per GB, than SSDs.

Next year's drives will be cheaper and better, anyway.

Re:An SSD Endurance Experiment: They're All Dead (2015) by konstmonst on Thursday November 10, 2016 @09:36AM (#12920658)
There is no "solution" to speak of, tmpfs can be mounted on any directory on linux, so there is no difference to normal build process at least on linux. Also for example I can serialise build jobs in jenkins, so the total amount of space required will be spread over time.
Re:An SSD Endurance Experiment: They're All Dead (2015) by imtringued on Thursday November 10, 2016 @02:42AM (#12918492)
RAM is more expensive than SSDs but it's still very cheap at roughly $5 per GB. Higher density 32GB DIMMs cost only a bit more at $7 per GB. You can buy terabytes of RAM for a few thousand dollars.
Re:An SSD Endurance Experiment: They're All Dead (2015) by colanderman on Thursday November 10, 2016 @09:57AM (#12920841)
Incremental builds are antithetical to continuous integration, for the reason that even a minor dependency issue results in a non-reproducible build.
Re:An SSD Endurance Experiment: They're All Dead (2015) by dasmoth on Thursday November 10, 2016 @02:23AM (#12918416)
The CI absolutists tend to yell "reproducible builds" at this point and argue that things should be built from scratch every time.
Re:An SSD Endurance Experiment: They're All Dead (2015) by majewsky on Thursday November 10, 2016 @07:16AM (#12919754)
Well, yeah. Reproducible builds are valuable. If you don't think so, then have fun trying to rollback to a commit that can only be built by building a specific set of commits leading up to it in the right order.
Re:An SSD Endurance Experiment: They're All Dead (2015) by benley on Thursday November 17, 2016 @09:48PM (#12983918)
Yeah - this stuff is why I advocate so hard for Bazel. It actually gets this shit right, unlike nearly everything else.