160 likes | 288 Vues
Explore the benefits of integrating Solid State Drives (SSDs) into your build system to enhance development productivity. This thesis presents a comparative analysis of traditional HDDs and SSDs, demonstrating how SSDs can reduce build times by up to 50%. With average case Disk I/O performance of 1000 requests/sec and a seek time under 0.1ms, SSDs significantly outperform HDDs in both read and write operations. Learn about the implications for developers, including faster version control and improved responsiveness in IDEs. Discover how to optimize your workflow today!
E N D
Speeding up the development cycle: Stash your files on a Solid State Drive Harald Søvik Fagleder Java @ Computas
Agenda Thesis: Put your build system on a solid state drive Reduce build time by 50%
Disk I/O(writereq / sec) write intensive: delete directories copy resources compile source install
Disk I/O(readreq / sec) read intensive: copyresources compile copyartifacts expandartifacts average case: 1000 req/sec 4.2 ms / req 4.2 s/s
Solid State Drive available to consumers at budget prices better overall search time <0.1ms vs ~4.2ms
Build experiment 2 storagetechnologies HDD Barracuda 7200.10 SATA2 3.0Gb/s 500GB 16MB cache, seek ~4.2ms SDD OCZ Vertex 1275 SDD SATA2 60GB 64MB cache, seek <0.1ms 2 file systems Windows (NTFS) Linux (ext3) 100 buildseach no tests nopmd offline
Results 10 builds / day worst case: 3380 sec = 56m 20s best case: 1440 sec = 24m no tests/pmd Δ32 min / day return time ~1 week
Roll out: with tests/pmd Avg net gain: 4,0 min / dev / build
Roll out: no tests/pmd Avg net gain: 4,2 min / dev / build
Conclusion • Stuck on windows ? • ssd is good for you • Avg gain • ~4 min / build • mileage may vary • Side effects • faster svn • faster, more responsive ide
The End http://twitter.com/harals hso@computas.com