Announcement

Collapse
No announcement yet.

Worried my SSD may not be performing correctly

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Worried my SSD may not be performing correctly

    I own a 256gb Crucial SSD. Here is some tests I did. What worries me is that I saw results, in regards to *Timing cached reads*. Another person posted these results :
    Code:
    sudo hdparm -Tt /dev/sda
    
    /dev/sda:
    Timing cached reads:   12540 MB in  2.00 seconds = 6277.67 MB/sec
    Timing buffered disk reads: 234 MB in  3.00 seconds =  77.98 MB/sec
    Here are my results :
    Code:
    sudo hdparm -Tt /dev/sda
    
    /dev/sda:
     Timing cached reads:   9508 MB in  2.00 seconds = 4757.08 MB/sec
     Timing buffered disk reads: 1388 MB in  3.00 seconds = 462.04 MB/sec
    Some info about the drive in question:
    Code:
    sudo hdparm -i /dev/sda
    
    /dev/sda:
    
     Model=M4-CT256M4SSD2, FwRev=070H
     Config={ Fixed DTR>10Mbs }
     RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=0
     BuffType=unknown, BuffSize=unknown, MaxMultSect=16, MultSect=16
     CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=500118192
     IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
     PIO modes:  pio0 pio3 pio4 
     DMA modes:  mdma0 mdma1 mdma2 
     UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5 
     AdvancedPM=yes: unknown setting WriteCache=enabled
     Drive conforms to: unknown:  ATA/ATAPI-3,4,5,6,7
    
     * signifies the current active mode
    There are 2 *unknowns in there, any idea as to why? Thank you in advance.

    PS. Some dmesg output: ata1 is the SSD

    Code:
        1.848253] ahci 0000:00:11.0: flags: 64bit ncq sntf ilck pm led clo pmp pio slum part 
    [    1.849437] scsi0 : ahci
    [    1.849950] scsi1 : ahci
    [    1.850090] scsi2 : ahci
    [    1.850554] scsi3 : ahci
    [    1.850859] scsi4 : ahci
    [    1.851174] scsi5 : ahci
    [    1.851240] ata1: SATA max UDMA/133 abar m1024@0xfe80b000 port 0xfe80b100 irq 19
    [    1.851242] ata2: SATA max UDMA/133 abar m1024@0xfe80b000 port 0xfe80b180 irq 19
    [    1.851244] ata3: SATA max UDMA/133 abar m1024@0xfe80b000 port 0xfe80b200 irq 19
    Code:
    [    2.340989] ata1.00: ATA-9: M4-CT256M4SSD2, 070H, max UDMA/100
    [    2.340992] ata1.00: 500118192 sectors, multi 16: LBA48 NCQ (depth 31/32), AA
    [    2.341351] ata1.00: configured for UDMA/100
    Code:
    [    2.333345] ata1.00: configured for UDMA/100
    [    2.333451] scsi 0:0:0:0: Direct-Access     ATA      M4-CT256M4SSD2   070H PQ: 0 ANSI: 5
    [    2.333558] sd 0:0:0:0: [sda] 500118192 512-byte logical blocks: (256 GB/238 GiB)
    [    2.333592] sd 0:0:0:0: Attached scsi generic sg0 type 0
    [    2.333608] sd 0:0:0:0: [sda] Write Protect is off
    [    2.333611] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
    [    2.333625] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
    This is my fstab
    Code:
    # /etc/fstab: static file system information.
    #
    # Use 'blkid' to print the universally unique identifier for a
    # device; this may be used with UUID= as a more robust way to name devices
    # that works even if disks are added and removed. See fstab(5).
    #
    # <file system> <mount point>   <type>  <options>       <dump>  <pass>
    # / was on /dev/sda1 during installation
    UUID=f7492fc7-03e5-47ce-a7a3-031ff4a06b32 /               ext4    noatime,errors=remount-ro 0       1
    # swap was on /dev/sda5 during installation
    UUID=efbc5f08-fc5c-4e72-bfe1-d4fd02a28959 none            swap    sw              0       0
    Yet in dmesg I get this EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
    Last edited by raffytaffy; Sep 07, 2014, 09:35 AM.

    #2
    It looks like your drive is missing udma6 mode which is 133mhz and important for the fastest through-put. You already noticed that you do not have any buffer memory but that is the same for my SDD as well.

    Is this a refurbished drive, how old is it? It does seem like it is very slow but I wonder if the udma6 setting could be the whole problem.

    Here is the info on my older Kingston drive.

    Code:
    ee@lee-kdeU:~$ sudo hdparm -i /dev/sdc
    
    /dev/sdc:
    
     Model=KINGSTON SS050S232G, FwRev=111129, SerialNo=50026B72240D8944
     Config={ Fixed }
     RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=0
     BuffType=unknown, BuffSize=unknown, MaxMultSect=16, MultSect=16
     CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=62533296
     IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
     PIO modes:  pio0 pio3 pio4 
     DMA modes:  mdma0 mdma1 mdma2 
     UDMA modes: udma0 udma1 udma2 udma3 udma4 udma5 *udma6 
     AdvancedPM=yes: disabled (255) WriteCache=enabled
     Drive conforms to: Unspecified:  ATA/ATAPI-4,5,6,7
    
     * signifies the current active mode
    Code:
    ee@lee-kdeU:~$ sudo hdparm -Tt /dev/sdc
    [sudo] password for lee: 
    
    /dev/sdc:
     Timing cached reads:   27324 MB in  2.00 seconds = 13675.13 MB/sec
     Timing buffered disk reads: 462 MB in  3.01 seconds = 153.38 MB/sec
    Code:
    lee-kdeU:~$ dmesg | grep ata3
    [    0.672270] ata3: SATA max UDMA/133 abar m2048@0xf7a16000 port 0xf7a16200 irq 42
    [    0.991198] ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
    [    0.991566] ata3.00: ACPI cmd ef/10:06:00:00:00:00 (SET FEATURES) succeeded
    [    0.991572] ata3.00: ACPI cmd f5/00:00:00:00:00:00 (SECURITY FREEZE LOCK) filtered out
    [    0.991575] ata3.00: ACPI cmd b1/c1:00:00:00:00:00 (DEVICE CONFIGURATION OVERLAY) filtered out
    [    0.991862] ata3.00: ATA-8: KINGSTON SS050S232G, 111129, max UDMA/133
    [    0.991864] ata3.00: 62533296 sectors, multi 16: LBA48 
    [    0.992333] ata3.00: ACPI cmd ef/10:06:00:00:00:00 (SET FEATURES) succeeded
    [    0.992335] ata3.00: ACPI cmd f5/00:00:00:00:00:00 (SECURITY FREEZE LOCK) filtered out
    [    0.992336] ata3.00: ACPI cmd b1/c1:00:00:00:00:00 (DEVICE CONFIGURATION OVERLAY) filtered out
    [    0.992531] ata3.00: configured for UDMA/133
    Check out this link, it seems up to date. https://wiki.debian.org/SSDOptimization
    Last edited by anika200; Sep 08, 2014, 05:52 AM.

    Comment


      #3
      Well I did some tests, what do you think?
      Code:
      sudo smartctl -a /dev/sda
      [sudo] password for ralph: 
      smartctl 6.2 2013-07-26 r3841 [x86_64-linux-3.16.2-031602-generic] (local build)
      Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
      
      === START OF INFORMATION SECTION ===
      Model Family:     Crucial/Micron RealSSD m4/C400/P400
      Device Model:     M4-CT256M4SSD2
      Serial Number:    000000001304092788FD
      LU WWN Device Id: 5 00a075 1092788fd
      Firmware Version: 070H
      User Capacity:    256,060,514,304 bytes [256 GB]
      Sector Size:      512 bytes logical/physical
      Rotation Rate:    Solid State Device
      Device is:        In smartctl database [for details use: -P show]
      ATA Version is:   ACS-2, ATA8-ACS T13/1699-D revision 6
      SATA Version is:  SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
      Local Time is:    Tue Sep  9 17:44:05 2014 CEST
      SMART support is: Available - device has SMART capability.
      SMART support is: Enabled
      
      === START OF READ SMART DATA SECTION ===
      SMART overall-health self-assessment test result: PASSED
      
      General SMART Values:
      Offline data collection status:  (0x80) Offline data collection activity
                                              was never started.
                                              Auto Offline Data Collection: Enabled.
      Self-test execution status:      (   0) The previous self-test routine completed
                                              without error or no self-test has ever 
                                              been run.
      Total time to complete Offline 
      data collection:                ( 1190) seconds.
      Offline data collection
      capabilities:                    (0x7b) SMART execute Offline immediate.
                                              Auto Offline data collection on/off support.
                                              Suspend Offline collection upon new
                                              command.
                                              Offline surface scan supported.
                                              Self-test supported.
                                              Conveyance Self-test supported.
                                              Selective Self-test supported.
      SMART capabilities:            (0x0003) Saves SMART data before entering
                                              power-saving mode.
                                              Supports SMART auto save timer.
      Error logging capability:        (0x01) Error logging supported.
                                              General Purpose Logging supported.
      Short self-test routine 
      recommended polling time:        (   2) minutes.
      Extended self-test routine
      recommended polling time:        (  19) minutes.
      Conveyance self-test routine
      recommended polling time:        (   3) minutes.
      SCT capabilities:              (0x003d) SCT Status supported.
                                              SCT Error Recovery Control supported.
                                              SCT Feature Control supported.
                                              SCT Data Table supported.
      
      SMART Attributes Data Structure revision number: 16
      Vendor Specific SMART Attributes with Thresholds:
      ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
        1 Raw_Read_Error_Rate     0x002f   100   100   050    Pre-fail  Always       -       0
        5 Reallocated_Sector_Ct   0x0033   100   100   010    Pre-fail  Always       -       0
        9 Power_On_Hours          0x0032   100   100   001    Old_age   Always       -       7225
       12 Power_Cycle_Count       0x0032   100   100   001    Old_age   Always       -       1354
      170 Grown_Failing_Block_Ct  0x0033   100   100   010    Pre-fail  Always       -       0
      171 Program_Fail_Count      0x0032   100   100   001    Old_age   Always       -       0
      172 Erase_Fail_Count        0x0032   100   100   001    Old_age   Always       -       0
      173 Wear_Leveling_Count     0x0033   100   100   010    Pre-fail  Always       -       14
      174 Unexpect_Power_Loss_Ct  0x0032   100   100   001    Old_age   Always       -       475
      181 Non4k_Aligned_Access    0x0022   100   100   001    Old_age   Always       -       1284 344 939
      183 SATA_Iface_Downshift    0x0032   100   100   001    Old_age   Always       -       0
      184 End-to-End_Error        0x0033   100   100   050    Pre-fail  Always       -       0
      187 Reported_Uncorrect      0x0032   100   100   001    Old_age   Always       -       0
      188 Command_Timeout         0x0032   100   100   001    Old_age   Always       -       0
      189 Factory_Bad_Block_Ct    0x000e   100   100   001    Old_age   Always       -       82
      194 Temperature_Celsius     0x0022   100   100   000    Old_age   Always       -       0
      195 Hardware_ECC_Recovered  0x003a   100   100   001    Old_age   Always       -       0
      196 Reallocated_Event_Count 0x0032   100   100   001    Old_age   Always       -       0
      197 Current_Pending_Sector  0x0032   100   100   001    Old_age   Always       -       0
      198 Offline_Uncorrectable   0x0030   100   100   001    Old_age   Offline      -       0
      199 UDMA_CRC_Error_Count    0x0032   100   100   001    Old_age   Always       -       0
      202 Perc_Rated_Life_Used    0x0018   100   100   001    Old_age   Offline      -       0
      206 Write_Error_Rate        0x000e   100   100   001    Old_age   Always       -       0
      
      SMART Error Log Version: 1
      No Errors Logged
      
      SMART Self-test log structure revision number 1
      No self-tests have been logged.  [To run self-tests, use: smartctl -t]
      
      
      SMART Selective self-test log data structure revision number 1
       SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
          1        0        0  Not_testing
          2        0        0  Not_testing
          3        0        0  Not_testing
          4        0        0  Not_testing
          5        0        0  Not_testing
      Selective self-test flags (0x0):
        After scanning selected spans, do NOT read-scan remainder of disk.
      If Selective self-test is pending on power-up, resume after 0 minute delay.
      
      ralph@ralph-desktop:~$ sudo hdparm -Tt /dev/sda
      
      /dev/sda:
       Timing cached reads:   9564 MB in  2.00 seconds = 4786.04 MB/sec
       Timing buffered disk reads: 1422 MB in  3.00 seconds = 473.70 MB/sec
      ralph@ralph-desktop:~$ dmesg | grep ata1
      [    1.599563] ata1: SATA max UDMA/133 abar m1024@0xfe80b000 port 0xfe80b100 irq 19
      [    1.602423] ata10: SATA max UDMA/133 abar m512@0xfe600000 port 0xfe600180 irq 97
      [    1.619754] ata11: SATA max UDMA/133 abar m2048@0xfe410000 port 0xfe410100 irq 99
      [    1.619757] ata12: SATA max UDMA/133 abar m2048@0xfe410000 port 0xfe410180 irq 99
      [    1.619759] ata13: SATA max UDMA/133 abar m2048@0xfe410000 port 0xfe410200 irq 99
      [    1.619761] ata14: SATA max UDMA/133 abar m2048@0xfe410000 port 0xfe410280 irq 99
      [    1.941459] ata12: SATA link down (SStatus 0 SControl 300)
      [    2.089432] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
      [    2.089750] ata1.00: ATA-9: M4-CT256M4SSD2, 070H, max UDMA/100
      [    2.089752] ata1.00: 500118192 sectors, multi 16: LBA48 NCQ (depth 31/32), AA
      [    2.090116] ata1.00: configured for UDMA/100
      [    2.109342] ata11: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
      [    2.109920] ata11.00: ATA-9: ST2000DM001-1CH164, CC29, max UDMA/133
      [    2.109923] ata11.00: 3907029168 sectors, multi 0: LBA48 NCQ (depth 31/32), AA
      [    2.110576] ata11.00: configured for UDMA/133
      [    2.113334] ata13: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
      [    2.113348] ata14: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
      [    2.114558] ata13.00: ATA-8: WDC WD20EARX-008FB0, 51.0AB51, max UDMA/133
      [    2.114561] ata13.00: 3906963633 sectors, multi 0: LBA48 NCQ (depth 31/32), AA
      [    2.115315] ata13.00: configured for UDMA/133
      [    2.115788] ata14.00: ATA-8: WDC WD10EARS-00Y5B1, 80.00A80, max UDMA/133
      [    2.115791] ata14.00: 1953525168 sectors, multi 0: LBA48 NCQ (depth 31/32), AA
      [    2.117888] ata14.00: configured for UDMA/133
      [    2.928904] ata10: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
      [    2.931038] ata10.00: ATA-8: WDC WD1002FAEX-00Z3A0, 05.01D05, max UDMA/133
      [    2.931040] ata10.00: 1953525168 sectors, multi 16: LBA48 NCQ (depth 31/32), AA
      [    2.933068] ata10.00: configured for UDMA/133
      The drive is around 1 year old, but I never did any heavy writing to it, just used it as my OS drive under Windows, and used other hard drives to store data.

      Comment


        #4
        Well according to that info your drive should be faster than the one I posted yet you are only moving half the bits.

        I wonder now why your linux only boot with ata 100 for that device? Is the motherboard/computer newish too or maybe the MB only supports sata3 on some of its ports?

        Code:
        ata1.00: ATA-9: M4-CT256M4SSD2, 070H, max UDMA/100
        [    2.089752] ata1.00: 500118192 sectors, multi 16: LBA48 NCQ (depth 31/32), AA
        [    2.090116] ata1.00: configured for UDMA/100
        This should read something like the other drives UDMA/133.
        Last edited by anika200; Sep 09, 2014, 10:02 AM.

        Comment


          #5
          It is a Asus Sabertooth 990fx r2.0 motherboard with all 6Gbps+2 plus I have a 4 port marvel raid card just for storage use.

          Comment


            #6
            Originally posted by johndoe View Post
            It is a Asus Sabertooth 990fx r2.0 motherboard with all 6Gbps+2 plus I have a 4 port marvel raid card just for storage use.
            One might guess that the firmware on that drive is not right or maybe the chip itself. Try updating the firmware, my experience is that only ocz brand have linux tools so you may need to use another OS.

            Comment

            Working...
            X