TFS builds suddenly slowed down?

As your TFS environment grows, as well as your software stack that’s built within it, it can be easy to overlook some pretty simple things to keep performance where it needs to be.

On occasion we had noticed that builds slowed down dramatically, resulting in cranky developers and dev managers.  While space on the build drop location was tight (builds, unless aggressively managed will, like work, fill all the space / time available!), but that was a normal constraint, not something new.  It took a while to figure out, but when I did it was obvious.  In retrospect!.

Make sure to disable both real time and periodic virus scanning on your build drive (or at least folders).  We had real time scanning disabled, but overlooked the periodic scans.  At first glance, the periodic scans would seem to not be an issue since they occurred on a Sunday when there was minimal development (and thus builds) happening; however, the massive amount of space, and the huge number of files involved in our build drops meant that scanning continued from Sunday well into the work week!  Note that I’m talking about the build server itself, not the drop location, but the same rule really applies there too.

The only way to identify this issue was to watch the Performance Monitor and catch that the MSMPENG process had a ton of open file handles to build files.  The CPU and disk overheard was initially lost in the “noise” of many simultaneous builds.

Hope this helps someone!

Todays Tidbit – charging issues with a Lightning connector?

I recently began running into a problem where my iPhone 6 wouldn’t charge reliably.  If I wiggled the cable around it would start charging, then stop again.  I tried diagnosing it by using different cables and different orientations for them, but none of the solutions were reliable.

It turns out this would seem to be a fairly common problem among iPhone users who keep it in their jeans pocket.  The lint from the pocket migrates its way into the port on the phone and causes this issue!

I cleaned mine out by using a soft toothpick.  The amount of lint that came out was very impressive!

My wife’s phone didn’t suffer from this.  She points out that jeans for women don’t have pockets deep enough to hold the phone, thus no lint.

A discussion thread on this can be found on Apple support.