160 likes | 279 Views
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 ( write req / sec). write intensive : delete directories copy resources
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