Archives

Archives / 2010 / December
  • How a Firefox Issue Turned out to be a SSD Problem

    I’ve used the holidays to finally install Windows 7 (x64) on my desktop computer. Vista x64 did a fine job, but compared to the Windows 7 system on my notebook it felt kind of old. And as a small Christmas present to myself, I decided to install the system on an SSD (a Crucial C300 SSD 256GB).

    A fresh install of Win 7 on a new SSD in a computer which (under Vista) has already proven to be a great development and gaming machine – should be a killer combo, right?

    Well, not quite. The first experiments after setting up the system were kind of sobering. The system, while being really fast, felt kind of sluggish every now and then. And that didn’t change after the computer ran for a while (i.e. building the search index was no longer a possible cause).

    The most annoying issue was that Firefox often (but not always) took up to a second after clicking a link before it would navigate to a new page. Internet Explorer as well as Chrome did not show this behavior – at least it seemed.

    If you search the web for “Firefox” and “sluggish”, you’ll get the impression that it might by a network problem. But after trying out various things and observing the system more closely, the idea dawned in my head that the SSD could be the problem.

    And in fact it was. It turned out that there’s a problem with the current firmware 006 of the Crucial C300 SSD which leads to the dramatic spikes in an HD Tune benchmark (repeating the benchmark showed the spikes at different locations):

    HDTune_Benchmark_C300-CTFDDAC256MAG_before
    (ASUS P5Q Deluxe, Q9450, 8GB RAM, SSD drive attached to on-board SATA2 controller. 
    Update 2011-01-01: Note that the measurements were done while testing in IDE mode)

    The drive came with firmware 002 and after performing a quick “smoke test” I upgraded it to 006. Unfortunately there’s no safe way to go back.

    A thread in the Crucial forum contained various tips for a workaround (some of which involved turning of automatic TRIM which others strongly cautioned against). What did help me was to “turn off Windows write-cache buffer flushing on the device” in the device manager:

    20101230_DriveProperties

    After I did that the system felt much better, and the benchmark showed no more dramatic spikes:

    HDTune_Benchmark_C300-CTFDDAC256MAG_after

    Of course the warning on the dialog box did not go unnoticed and I hope that Crucial will release a firmware update soon.

    But right now the drive (and the overall system) is performing fine.
     

    Update 2011-01-01: The system was originally installed with the drive in AHCI mode, then the drive was switched to IDE during testing. That’s when the benchmarks for the original blog post were run. I’m now back to AHCI mode, here are the benchmark results:

    20110101_HDTuneAHCI_after

    You’ll notice the higher transfer rate; the results would be even better if the drive was attached to a SATA3 controller.

    Note that switching the mode (from IDE to AHCI) in the BIOS cleared the “magic” checkbox mentioned in the blog post so at first the system was stuttering again.

  • How to Reach German Developers: dotnet Cologne 2011

    If you want to promote tools, technologies, libraries, trainings or anything else of interest to software developers, you want to reach the right audience. Not the 9-to-5 people, but those who have the knowledge and passion that make them important multipliers.

    A great way to reach these people are community conferences. They are not the kind of conference that the 9-to-5 folks are “sent to” by their company, but that the right people hear of via Twitter, Facebook, blogs or plain old word-of-mouth and choose to go to, often covering the costs for the day themselves (travel, entrance fee, hotel, taking the day off).

    If you want to reach German developers there is one conference that has emerged as the large .NET community conference in Germany, quickly growing beyond being just a local event: The dotnet Cologne, that will be held for the third time on May 6, 2011 and that I’m co-organizing (this interview gives you a good idea of the history).

    This year’s dotnet Cologne 2010 with its 300 attendees was a huge success. As in the year before, the conference was sold out weeks in advance, and feedback by attendees and sponsors was positive throughout. And the list of speakers and attendees sounded like a “who is who” of the German .NET community.

    Whether you‘d like to present a product, a service or your company: you will meet the right target audience at dotnet Cologne. We’re offering a broad variety of sponsorship opportunities, ranging from being a donor for the large raffle at the end of the day (software licenses, books, training vouchers, etc.) up to having a booth and/or giving a sponsored talk about your product (not necessarily in German, English is not a problem). Among the various sponsorship levels (bronze/silver/gold/platinum) there’s most likely a package that will suit your needs – and if not, we’re open for suggestions.

    We’re happy to announce that already at this point in time (with over five months to go) we have a steadily growing list of partners: Microsoft, Intel, IDesign, SubMain, Comma Soft AG, GFU Köln, and EC Software.

    If you want to become a sponsor for the dotnet Cologne 2011, drop me a line at Roland.Weigelt at dotnet-koelnbonn.de and I’ll send you our sponsor info.