Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Will a hybrid hard drive improve Visual Studio compilation times?

I've seen various suggestions that hard disk speed is a big factor in Visual Studio compilation performance.

There is now a relatively cheap hybrid hard drive available called the Seagate Momentus XT.

This has a 7200 RPM hard disk of 250, 320 or 500GB and a 4GB SLC NAND SSD.

Has anyone tried this in their development machine? Did it improve performance? What kind of factor improvement was there?

Or is it the case that the hybrid hard drive cannot optimise typical compilation hard drive usage, i.e. performance is no better than a standard hard drive?

like image 266
RickL Avatar asked Aug 11 '10 09:08

RickL


1 Answers

Hard disk speed is a large factor when initially loading the project, but for every compilation run after that, a machine with sufficient RAM doesn't need to touch the hard disk at all - all your source files will be cached by the OS.

Copying libraries and temporary files (.obj) around may still be problematic, but SSDs don't help with small file writes that much. Moving the obj/ directory to a RAM disk can be more efficient (without having to buy new hardware) if I/O really is a problem - but it usually isn't.

Check your CPU usage during compilation. If it's close to 100%, an SSD or hybrid disk won't help you at all, you simply need a faster CPU.

like image 177
Daniel Avatar answered Sep 21 '22 18:09

Daniel