Results 1 to 6 of 6

Thread: SSD read benchmark performance degrading / worsening

  1. #1
    Join Date
    Apr 2005
    Location
    Portland, OR
    Beans
    90

    SSD read benchmark performance degrading / worsening

    Hello,

    I have an SSD that's only a few months old, and after getting an intuitive sense that the disk was acting slow (e.g, Firefox was taking a lot longer to start), I ran the Disks benchmarking utility.

    Sure enough, I'm seeing very inconsistent read speeds from this device:

    ssd_benchmark1.png

    I'm very certain that when I first installed Ubuntu onto this drive this same benchmark ran at a very consistent 530-540 MB/sec. I have other SSDs which I've been using for years which have very consistent read benchmark graphs - there's barely a ripple in them.

    What could be the cause for this? The SSD is a Samsung 840 EVO 750 GB running the latest firmware. I am running / on one big partition as ext4 with discard,noatime,nodiratime in my /etc/fstab. The disk is only 30% full and I don't believe has ever been more than 50% full. SMART data looks fine, and it passed a short self-test without issues.

    Suggestions on further tests to try or possible causes for this behavior are appreciated.

    Thanks,

    Scott
    Free Software - It's About Freedom

  2. #2
    Join Date
    Feb 2007
    Location
    West Hills CA
    Beans
    10,044
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: SSD read benchmark performance degrading / worsening

    Because of the large size, it probably has a caching controller that has a fast SSD and slower flash storage. Under most workloads, you will get fast speeds. Some workloads will cause it to hit the slower flash. It's possible that your disk has developed a problem and might be due for a warranty replacement. Does Samsung have a diagnostic utility that you can burn to CD? If it passes that, then you might not be able to get a warranty return.

    Slow firefox could simply be a profile problem. Delete your cache or delete your entire firefox profile and start fresh.
    Last edited by tgalati4; March 13th, 2014 at 04:19 PM.
    -------------------------------------
    Oooh Shiny: PopularPages

    Unumquodque potest reparantur. Patientia sit virtus.

  3. #3
    Join Date
    Apr 2005
    Location
    Portland, OR
    Beans
    90

    Re: SSD read benchmark performance degrading / worsening

    tgalati4, thanks for the quick reply. Samsung does have a "Magician" app that is used for diagnostics and tweaking performance, but it only runs under Windows (and I'm not dual-booting). I suppose around the time that 14.04 comes out I could reinstall Windows and run this tool to see what it says.

    The disk is definitely feeling slower all around - I use several profiles for firefox and they're all acting more sluggish than usual. The system overall feels like it's not nearly as snappy as before.

    To compare, here is the same read benchmark run on a (slower) Intel SSD on another system I use:

    ssd_benchmark_good.png

    The performance is very consistent, and has been like this for more than a year.

    Scott
    Last edited by sgarman; March 13th, 2014 at 06:09 AM.
    Free Software - It's About Freedom

  4. #4
    Join Date
    Feb 2007
    Location
    West Hills CA
    Beans
    10,044
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: SSD read benchmark performance degrading / worsening

    Do a web search on your specific Samsung model. Perhaps others are having similar issues. I think it is a controller/wear-leveler issue, it works until it hits a "degraded" area and that slows it down. I'm not sure what technology is used in the larger capacity SSD's, but I would guess that a large disk has a greater chance of bad sectors and that would cause the controller to work extra hard.

    Without the ability to run Samsung's diagnostics, you will not know if it passes Samsung's basic tests. If it fails, then you can get an RMA pretty easily. Because, you know when you call them, that is the first hoop they will make you jump through.
    -------------------------------------
    Oooh Shiny: PopularPages

    Unumquodque potest reparantur. Patientia sit virtus.

  5. #5
    Join Date
    Apr 2005
    Location
    Portland, OR
    Beans
    90

    Re: SSD read benchmark performance degrading / worsening

    On the advice of a sysadmin friend of mine, I backed up all my files, issued an ATA secure erase command to the drive, and restored my data and bootloader. Now things are back to normal:

    fixed_read_speed.png

    I have the feeling that what caused the degradation in performance were a handful of very long builds of embedded Linux images I had been doing with the Yocto Project. I'm going to keep a close eye on performance from now on and note when it starts to degrade to be certain.

    FWIW, here is a guide on issuing the ATA secure erase command using an Ubuntu install image:

    https://mackonsti.wordpress.com/2011...e-ata-command/

    I'll mark this thread as solved.

    Scott
    Free Software - It's About Freedom

  6. #6
    Join Date
    Apr 2005
    Location
    Portland, OR
    Beans
    90

    Re: SSD read benchmark performance degrading / worsening

    I just wanted to follow-up here and note that the cause of the problem was actually a highly publicized bug in Samsung's firmware for the 840 EVO series drives. Samsung has since released a fix for it that permanently resolves the problem.

    http://techreport.com/review/27212/s...-with-old-data

    Scott
    Free Software - It's About Freedom

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •