My build suddenly started taking a long time(15 mins) one day and the reason was disk related. I started digging into it then thought of creating another smaller partition for just codebase so that I can defrag it at a higher frequency. When I created the partition and tried moving my source code it took more then an hour to copy 5G of data from one drive to other drive and I thought it was some Virus or my AntiVirus software and for some reason I right click on the drive and I accidentally found that windows by default indexing content of files.
Unchecking this and then Disabling the windows search service entirely from my maching made my build time from 15 min to 6 mins. It looked like when my build was copying files around in tomcat stupid windows was indexing my files. This was happening even when my content was on c:. Anyways now I am happy. Even 6 mins of build time is killing. I share a virtual box folder to my ubuntu VM to do the build. Virtual box shared folder performance sucks so hoping that they release a new version which fixes this issue. If I run this same build on some cruise box it takes just 1 min.
Though this has a side effect that I can no longer use the Fast Search in outlook as I disabled the windows search service, but hey outlook search anyways sucks that's why I like Gmail.
Unchecking this and then Disabling the windows search service entirely from my maching made my build time from 15 min to 6 mins. It looked like when my build was copying files around in tomcat stupid windows was indexing my files. This was happening even when my content was on c:. Anyways now I am happy. Even 6 mins of build time is killing. I share a virtual box folder to my ubuntu VM to do the build. Virtual box shared folder performance sucks so hoping that they release a new version which fixes this issue. If I run this same build on some cruise box it takes just 1 min.
Though this has a side effect that I can no longer use the Fast Search in outlook as I disabled the windows search service, but hey outlook search anyways sucks that's why I like Gmail.
Comments
Post a Comment