A few months I posted about my investigation of a performance problem on my 64-bit Windows laptop. Some mysterious source was doing transient 4 GB allocations which were evicting most data from the file cache. This was making my laptop rely heavily on retrieving data from its hard drive, and that is not a good thing.
My investigation with ETW showed that the problem was a bug in the driver for my recently purchased Western Digital My Book Live backup drive. The driver was telling Windows that the drive’s sector size was 4,294,967,295 bytes (4 GB minus one byte) and Windows was dutifully allocating that big a buffer.
Oops.
Anyway, the cool thing about blogging is that it can be a great way to report bugs. After writing the original blog post I heard from Microsoft (they might put in a sanity check for the sector size, someday), and I heard from Western Digital. In both cases the contact was through unofficial channels, but I’ll take what I can get. Western Digital acknowledged the bug and promised to fix it.
I just heard back from Western Digital yesterday and apparently a fixed driver is now available. Version 1.1.3.1 was released over the weekend, so if you have this drive be sure to get the update.
It’s always great when the problems that I write about are actually fixed. While three months may not seem particularly agile it is actually really quick for most computer companies.
Uncomfirmable
Unfortunately I can’t test the fix myself as I returned the drive already. If you have this drive and have seen this problem (requires a machine with more than 4 GB of RAM) then let me know if the fix works.
At least I did finally manage to conquer my backup difficulties, with a different external drive.
Additional reading
If you enjoy investigative reporting of performance issues you should take a look at the other articles in the series. If you want to learn how to investigate performance problems using ETW you should check out ETW Central.
Grats Bruce!
Thank you for making the world a little bit better of a place. Maybe both parties will realize people are watching and pay a little more attention to these kinds of things in the future 😛
I don’t believe this story at all.
Thank you for your comment.
I played the video at the bottom of your post, thinking you linked in a video of yourself. However it was some guy making a bet with a pretty girl about texting speeds on a phone. Doh! This is an ad.
This is the first time I have read your blog. Nice work on detecting your system slowdown and using your blog to see if through to a fix. Maybe future owners of that backup drive with benefit.
I just read your About page. What kind of games are you working on? Or is this a hush-hush topic?
I mostly do systems work rather than working on specific games. Currently that systems work is focused on Linux. Perhaps more on that later.
Pingback: Top Eight Entertaining Blog Facts for 2012 | Random ASCII
Pingback: Windows Slowdown, Investigated and Identified | Random ASCII
Pingback: Self Inflicted Denial of Service in Visual Studio Search | Random ASCII
Pingback: ETW Central | Random ASCII