#168 closed enhancement (fixed)
Intel 320 SSD series -- updated attribute names/support for new IDs
Reported by: | koitsu2009 | Owned by: | Christian Franke |
---|---|---|---|
Priority: | minor | Milestone: | Release 5.41 |
Component: | drivedb | Version: | 5.40 |
Keywords: | Cc: |
Description
The Intel 320 SSD series introduces a bunch of new SMART attribute IDs, as well as uses some existing one which smartmontools labels incorrectly. Let's try to fix those up by referring to Intel's own documentation as well as using the Intel SSD Toolbox software on a Windows machine.
Example from Win32:
smartctl 5.41 2011-04-19 r3317 [i686-w64-mingw32-xp-sp3] (cf-win32-20110419) Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net === START OF INFORMATION SECTION === Device Model: INTEL SSDSA2CW080G3 Firmware Version: 4PC10302 User Capacity: 80,026,361,856 bytes [80.0 GB] Device is: Not in smartctl database [for details use: -P showall] ATA Version is: 8 ATA Standard is: ATA-8-ACS revision 4 Local Time is: Thu Apr 28 21:44:44 2011 PST SMART support is: Available - device has SMART capability. SMART support is: Enabled ... SMART Attributes Data Structure revision number: 5 Vendor Specific SMART Attributes with Thresholds: ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE 3 Spin_Up_Time 0x0020 100 100 000 Old_age Offline - 0 4 Start_Stop_Count 0x0030 100 100 000 Old_age Offline - 0 5 Reallocated_Sector_Ct 0x0032 100 100 000 Old_age Always - 0 9 Power_On_Hours 0x0032 100 100 000 Old_age Always - 121 12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 2 170 Unknown_Attribute 0x0033 100 100 010 Pre-fail Always - 0 171 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 0 172 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 0 184 End-to-End_Error 0x0033 100 100 090 Pre-fail Always - 0 187 Reported_Uncorrect 0x0032 100 100 000 Old_age Always - 0 192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 0 225 Load_Cycle_Count 0x0032 100 100 000 Old_age Always - 632 226 Load-in_Time 0x0032 100 100 000 Old_age Always - 21 227 Torq-amp_Count 0x0032 100 100 000 Old_age Always - 53 228 Power-off_Retract_Count 0x0032 100 100 000 Old_age Always - 7284 232 Available_Reservd_Space 0x0033 100 100 010 Pre-fail Always - 0 233 Media_Wearout_Indicator 0x0032 100 100 000 Old_age Always - 0 241 Total_LBAs_Written 0x0032 100 100 000 Old_age Always - 632 242 Total_LBAs_Read 0x0032 100 100 000 Old_age Always - 724
Attribute 170 (0xaa) = Available_Reservd_Space
Attribute 171 (0xab) = Program_Fail_Count
Attribute 172 (0xac) = Erase_Fail_Count
Attribute 173 (0xc0) = Unsafe_Shutdown_Count
Attribute 225 (0xe1) = Host_Writes
Attribute 232 (0xe8) = Available_Reservd_Space
Attribute 233 (0xe9) = Media_Wearout_Indicator
Attribute 241 (0xf1) = Host_Writes
Attribute 242 (0xf2) = Host_Reads
Attributes 170 and 232 are the same. I imagine they're used in combination to hold a vendor-encoded piece of data, but since my attribute values are 0, I can't help decode them.
Attributes 225 and 241 are the same. Intel SSD Toolbox shows "19.72GB" for the values of both Attributes 225 and for Attribute 241. So, somehow they're able to calculate the actual gigabytes used from one (or two) numbers of 632. I'm not sure if 19.72GB is calculated by using a unit base of 1024 or 1000, but there must be a way to calculate this. I will be more than happy to reach out to Intel to find out how to decode these values if requested; shouldn't be much of a problem.
Attribute 242 in the Intel SSD Toolbox shows "22.63GB".
Finally, I should note that the following attributes are NOT shown at all in the Intel SSD Toolbox, which may mean their values are used to assist or help calculate other attribute values which are shown.
Attribute 226
Attribute 227
Attribute 228
I will be more than happy to help test, or write code, to make all of this work. Please let me know, as I'm quite familiar with SMART attributes as can be indicated from my FreeBSD atacontrol patches that provide SMART capability natively:
http://jdc.parodius.com/freebsd/atacontrol/
Thanks!
Attachments (1)
Change History (13)
follow-up: 3 comment:1 by , 14 years ago
comment:2 by , 14 years ago
Component: | all → drivedb |
---|---|
Milestone: | → Release 5.41 |
by , 14 years ago
Attachment: | drivedb-add.h added |
---|
Local database file with entry for Intel 320 SSDs
comment:3 by , 14 years ago
Please copy above drivedb-add.h
in directory of smartctl.exe
and repeat test. This is a copy of the X25-M G2 entry with regexp changed for G3 and new attributes added.
It seems the software assumes a sector is 512 bytes, which is interesting given that the "sector" (LBA) size of an SSD is 4096.
Assuming ATA standard LBA size of 512 bytes is OK as drive does not report Long Logical Sector (LLS) feature set. Long Physical Sectors (LPS) of 4096 are also not reported but this doesn't matter here.
These counters likely count in 32MiB units which is consistent to attribute 225 of X25-M G2.
I will need to reach out to Intel to find out what Attributes 226, 227, and 228 actually represent, and why they're hidden in the Intel SSD Toolbox. Remember: this is an Intel 320 series SSD, not an X25-M or X25-V, where those attributes do in fact represent something different.
For now I left the names from X25-M G2 for 226, 227, 228.
Could these attributes be cleared with "smartctl -t vendor,0x40
" ?
Does attribute 228 count minutes ?
comment:4 by , 14 years ago
Owner: | changed from | to
---|---|
Status: | new → accepted |
comment:5 by , 14 years ago
With the above drivedb-add.h in use, the following is seen:
Model Family: Intel 320 Series SSDs Device Model: INTEL SSDSA2CW080G3 Firmware Version: 4PC10302 User Capacity: 80,026,361,856 bytes [80.0 GB] Device is: In smartctl database [for details use: -P show] ATA Version is: 8 ATA Standard is: ATA-8-ACS revision 4 Local Time is: Sat Apr 30 00:57:58 2011 PST SMART support is: Available - device has SMART capability. SMART support is: Enabled ... SMART Attributes Data Structure revision number: 5 Vendor Specific SMART Attributes with Thresholds: ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE 3 Spin_Up_Time 0x0020 100 100 000 Old_age Offline - 0 4 Start_Stop_Count 0x0030 100 100 000 Old_age Offline - 0 5 Reallocated_Sector_Ct 0x0032 100 100 000 Old_age Always - 0 9 Power_On_Hours 0x0032 100 100 000 Old_age Always - 148 12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 2 170 Reserve_Block_Count 0x0033 100 100 010 Pre-fail Always - 0 171 Program_Fail_Count 0x0032 100 100 000 Old_age Always - 0 172 Erase_Fail_Count 0x0032 100 100 000 Old_age Always - 0 184 End-to-End_Error 0x0033 100 100 090 Pre-fail Always - 0 187 Reported_Uncorrect 0x0032 100 100 000 Old_age Always - 0 192 Unsafe_Shutdown_Count 0x0032 100 100 000 Old_age Always - 0 225 Host_Writes_32MiB 0x0032 100 100 000 Old_age Always - 676 226 Workld_Media_Wear_Indic 0x0032 100 100 000 Old_age Always - 21 227 Workld_Host_Reads_Perc 0x0032 100 100 000 Old_age Always - 52 228 Workload_Minutes 0x0032 100 100 000 Old_age Always - 8918 232 Available_Reservd_Space 0x0033 100 100 010 Pre-fail Always - 0 233 Media_Wearout_Indicator 0x0032 100 100 000 Old_age Always - 0 241 Host_Writes_32MiB 0x0032 100 100 000 Old_age Always - 676 242 Host_Reads_32MiB 0x0032 100 100 000 Old_age Always - 733
I can confirm Attribute 228 appears to increment in minutes, roughly.
smartctl -t vendor,0x40
has set the RAW_VALUE of Attributes 226, 227, and 228 to a value of 65535 (0x00000000ffff):
226 Workld_Media_Wear_Indic 0x0032 100 100 000 Old_age Always - 65535 227 Workld_Host_Reads_Perc 0x0032 100 100 000 Old_age Always - 65535 228 Workload_Minutes 0x0032 100 100 000 Old_age Always - 65535
Since doing this, they haven't incremented at all. So it seems SMART test code 0x40 does not behave the same on a 320-series drive as it does on the X18-M and X25-M G2 series, but it does affect them.
follow-up: 7 comment:6 by , 14 years ago
Oh, it looks like they do eventually get reset to 0 (possibly wrap on the 16-bit boundary?), it just takes a little while. So yep, OFFLINE test 0x40 does in fact reset the values. It should probably be noted somewhere in the man page (since it mentions this capability for X18-M and X25-M G2), that at least on the 320-series, it can take some time (minutes) for the attributes to reset.
226 Workld_Media_Wear_Indic 0x0032 100 100 000 Old_age Always - 0 227 Workld_Host_Reads_Perc 0x0032 100 100 000 Old_age Always - 0 228 Workload_Minutes 0x0032 100 100 000 Old_age Always - 161
comment:7 by , 14 years ago
Sorry, forgot to mention: These attributes are held at 0xffff until the workload timer reaches 60 minutes. Yes, this should be mentioned on the man page.
Looks like the 320 firmware only adds some new attributes and keeps the others unchanged. Thanks for testing.
comment:9 by , 14 years ago
Please remove drivedb-add.h
, run update-smart-drivedb.exe
and repeat test.
comment:10 by , 14 years ago
According to Info from Intel the Attributes 226-228 are unchanged since X25 G2.
But these drives reportedly support new ATA Device Statistics (ticket #106).
Please check the output of "smartctl -l directory
":
Is log address 0x04 "Device Statistics" listed ?
Do "smartctl -l gplog,0x04,N
" work for N=0,1,4,6,7
?
follow-up: 12 comment:11 by , 14 years ago
Relevant data/output below. Yes, all of the above are supported.
D:\bin>smartctl -l directory C: | find "0x04" GP/S Log at address 0x04 has 8 sectors [Device Statistics]
D:\bin>smartctl -l gplog,0x04,0 C: smartctl 5.41 2011-04-19 r3317 [i686-w64-mingw32-xp-sp3] (cf-win32-20110419) Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net General Purpose Log 0x04 [Device Statistics], Page 0-0 (of 8) 0000000: 01 00 00 00 00 00 00 c0 05 00 01 04 06 07 00 00 |................| 0000010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000050: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000060: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000070: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000090: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000110: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000120: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000130: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000140: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000150: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000160: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000170: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000190: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00001a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00001b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00001c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00001d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00001e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00001f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
D:\bin>smartctl -l gplog,0x04,1 C: smartctl 5.41 2011-04-19 r3317 [i686-w64-mingw32-xp-sp3] (cf-win32-20110419) Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net General Purpose Log 0x04 [Device Statistics], Page 1-1 (of 8) 0000200: 02 00 01 00 00 00 00 c0 02 00 00 00 00 00 00 c0 |................| 0000210: 81 01 00 00 00 00 00 c0 1c 76 b8 03 00 00 00 c0 |.........v......| 0000220: 04 eb 70 00 00 00 00 c0 3f 2b 32 03 00 00 00 c0 |..p.....?+2.....| 0000230: 87 50 d6 00 00 00 00 c0 00 00 00 00 00 00 00 00 |.P..............| 0000240: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000250: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000260: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000270: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000280: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000290: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00002a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00002b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00002c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00002d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00002e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00002f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000300: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000310: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000320: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000330: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000340: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000350: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000360: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000370: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000380: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000390: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00003a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00003b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00003c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00003d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00003e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00003f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
D:\bin>smartctl -l gplog,0x04,4 C: smartctl 5.41 2011-04-19 r3317 [i686-w64-mingw32-xp-sp3] (cf-win32-20110419) Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net General Purpose Log 0x04 [Device Statistics], Page 4-4 (of 8) 0000800: 01 00 04 00 00 00 00 c0 00 00 00 00 00 00 00 c0 |................| 0000810: 00 00 00 00 00 00 00 c0 00 00 00 00 00 00 00 00 |................| 0000820: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000830: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000840: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000850: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000860: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000870: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000880: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000890: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00008a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00008b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00008c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00008d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00008e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00008f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000900: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000910: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000920: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000930: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000940: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000950: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000960: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000970: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000980: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000990: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00009a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00009b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00009c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00009d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00009e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00009f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
D:\bin>smartctl -l gplog,0x04,6 C: smartctl 5.41 2011-04-19 r3317 [i686-w64-mingw32-xp-sp3] (cf-win32-20110419) Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net General Purpose Log 0x04 [Device Statistics], Page 6-6 (of 8) 0000c00: 01 00 06 00 00 00 00 c0 4d 00 00 00 00 00 00 c0 |........M.......| 0000c10: 17 00 00 00 00 00 00 c0 00 00 00 00 00 00 00 c0 |................| 0000c20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000c30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000c40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000c50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000c60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000c70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000c80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000c90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000ca0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000cb0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000cc0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000cd0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000ce0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000cf0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000d00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000d10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000d20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000d30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000d40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000d50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000d60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000d70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000d90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000da0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000db0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000dc0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000dd0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000de0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000df0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
D:\bin>smartctl -l gplog,0x04,7 C: smartctl 5.41 2011-04-19 r3317 [i686-w64-mingw32-xp-sp3] (cf-win32-20110419) Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net General Purpose Log 0x04 [Device Statistics], Page 7-7 (of 8) 0000e00: 01 00 07 00 00 00 00 c0 00 00 00 00 00 00 00 c0 |................| 0000e10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000e20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000e30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000e40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000e50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000e60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000e70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000e90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000ea0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000eb0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000ec0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000ed0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000ee0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000ef0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000f10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000f20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000f30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000f40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000f50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000f60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000f70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000f90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000fa0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000fb0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000fc0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000fd0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000fe0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0000ff0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
comment:12 by , 13 years ago
Replying to koitsu2009:
Relevant data/output below. Yes, all of the above are supported.
Device Statistics is now supported by smartctl, see ticket #106.
For Attribute 241, the formula is as follows, per Intel's own documentation:
Host Writes
This attribute reports the total number of sectors written by the host system. The raw value is increased by 1 for every 65,536 sectors written by the host. Use the Raw value for this attribute.
I imagine the same applies to the Host Reads attribute.
It seems the software assumes a sector is 512 bytes, which is interesting given that the "sector" (LBA) size of an SSD is 4096. But regardless; in this case:
Easy enough formula. I've performed some reads and writes in bulk and re-calculated the values based on the new SMART data, and sure enough the values always calculate correctly.
I will need to reach out to Intel to find out what Attributes 226, 227, and 228 actually represent, and why they're hidden in the Intel SSD Toolbox. Remember: this is an Intel 320 series SSD, not an X25-M or X25-V, where those attributes do in fact represent something different.