{"id":776,"date":"2014-01-24T20:44:14","date_gmt":"2014-01-24T23:44:14","guid":{"rendered":"http:\/\/www.maurom.com\/blog\/?p=776"},"modified":"2017-07-05T19:34:03","modified_gmt":"2017-07-05T22:34:03","slug":"benchmark-wd10efrx-68jcsn0","status":"publish","type":"post","link":"https:\/\/maurom.com\/blog\/2014\/01\/24\/benchmark-wd10efrx-68jcsn0\/","title":{"rendered":"Benchmark day 2: WD Caviar Red 1TB (WDC WD10EFRX-68JCSN0)"},"content":{"rendered":"<p>Esta es la segunda de la <a href=\"\/blog\/2014\/01\/23\/benchmark-st500dm002-1bd142\/\">serie de pruebas<\/a> a discos r\u00edgidos, esta vez contra el disco del equipo personal. Siguen las especificaciones y m\u00e1s abajo los resultados por si a alguno le interesa. He remarcado los datos m\u00e1s relevantes.<\/p>\n<p style=\"margin-left: 50px\"><strong>Western Digital Caviar Red 1TB<\/strong><br \/>\nModelo: WDC WD10EFRX-68JCSN0<br \/>\nCapacidad: 1 TB<br \/>\nInterfaz: SATA III<br \/>\nCach\u00e9: 64 MB<br \/>\nVelocidad: variable seg\u00fan la serie<br \/>\nTama\u00f1o de sector: 4K f\u00edsico, 512 l\u00f3gico<\/p>\n<p>&nbsp;<br \/><strong># hdparm -I \/dev\/sda<\/strong><\/p>\n<pre style=\"font-size: 9pt\">ATA device, with non-removable media\r\n\tModel Number:       WDC WD10EFRX-68JCSN0                    \r\n\tSerial Number:      [REDACTED]\r\n\tFirmware Revision:  01.01A01\r\n\tTransport:          Serial, SATA 1.0a, SATA II Extensions, SATA Rev 2.5, SATA Rev 2.6, SATA Rev 3.0\r\nStandards:\r\n\tSupported: 8 7 6 5 \r\n\tLikely used: 8\r\nConfiguration:\r\n\tLogical\t\tmax\tcurrent\r\n\tcylinders\t16383\t16383\r\n\theads\t\t16\t16\r\n\tsectors\/track\t63\t63\r\n\t--\r\n\tCHS current addressable sectors:   16514064\r\n\tLBA    user addressable sectors:  268435455\r\n\tLBA48  user addressable sectors: 1953525168\r\n\tLogical  Sector size:                   512 bytes\r\n\tPhysical Sector size:                  4096 bytes\r\n\tLogical Sector-0 offset:                  0 bytes\r\n\tdevice size with M = 1024*1024:      953869 MBytes\r\n\tdevice size with M = 1000*1000:     1000204 MBytes (1000 GB)\r\n\tcache\/buffer size  = unknown\r\nCapabilities:\r\n\tLBA, IORDY(can be disabled)\r\n\tQueue depth: 32\r\n\tStandby timer values: spec'd by Standard, with device specific minimum\r\n\tR\/W multiple sector transfer: Max = 16\tCurrent = 16\r\n\tDMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6 \r\n\t     Cycle time: min=120ns recommended=120ns\r\n\tPIO: pio0 pio1 pio2 pio3 pio4 \r\n\t     Cycle time: no flow control=120ns  IORDY flow control=120ns\r\nCommands\/features:\r\n\tEnabled\tSupported:\r\n\t   *\tSMART feature set\r\n\t    \tSecurity Mode feature set\r\n\t   *\tPower Management feature set\r\n\t   *\tWrite cache\r\n\t   *\tLook-ahead\r\n\t   *\tHost Protected Area feature set\r\n\t   *\tWRITE_BUFFER command\r\n\t   *\tREAD_BUFFER command\r\n\t   *\tNOP cmd\r\n\t   *\tDOWNLOAD_MICROCODE\r\n\t    \tPower-Up In Standby feature set\r\n\t   *\tSET_FEATURES required to spinup after power up\r\n\t    \tSET_MAX security extension\r\n\t   *\t48-bit Address feature set\r\n\t   *\tDevice Configuration Overlay feature set\r\n\t   *\tMandatory FLUSH_CACHE\r\n\t   *\tFLUSH_CACHE_EXT\r\n\t   *\tSMART error logging\r\n\t   *\tSMART self-test\r\n\t    \tMedia Card Pass-Through\r\n\t   *\tGeneral Purpose Logging feature set\r\n\t   *\t64-bit World wide name\r\n\t   *\tURG for READ_STREAM[_DMA]_EXT\r\n\t   *\tURG for WRITE_STREAM[_DMA]_EXT\r\n\t   *\tIDLE_IMMEDIATE with UNLOAD\r\n\t   *\tWRITE_UNCORRECTABLE_EXT command\r\n\t   *\t{READ,WRITE}_DMA_EXT_GPL commands\r\n\t   *\tSegmented DOWNLOAD_MICROCODE\r\n\t   *\tGen1 signaling speed (1.5Gb\/s)\r\n\t   *\tGen2 signaling speed (3.0Gb\/s)\r\n\t   *\tGen3 signaling speed (6.0Gb\/s)\r\n\t   *\tNative Command Queueing (NCQ)\r\n\t   *\tHost-initiated interface power management\r\n\t   *\tPhy event counters\r\n\t   *\tIdle-Unload when NCQ is active\r\n\t   *\tNCQ priority information\r\n\t   *\tunknown 76[15]\r\n\t   *\tDMA Setup Auto-Activate optimization\r\n\t    \tDevice-initiated interface power management\r\n\t   *\tSoftware settings preservation\r\n\t   *\tSMART Command Transport (SCT) feature set\r\n\t   *\tSCT LBA Segment Access (AC2)\r\n\t   *\tSCT Error Recovery Control (AC3)\r\n\t   *\tSCT Features Control (AC4)\r\n\t   *\tSCT Data Tables (AC5)\r\n\t    \tunknown 206[7]\r\n\t    \tunknown 206[12] (vendor specific)\r\n\t    \tunknown 206[13] (vendor specific)\r\nSecurity: \r\n\tMaster password revision code = 65534\r\n\t\tsupported\r\n\tnot\tenabled\r\n\tnot\tlocked\r\n\t\tfrozen\r\n\tnot\texpired: security count\r\n\t\tsupported: enhanced erase\r\n\t140min for SECURITY ERASE UNIT. 140min for ENHANCED SECURITY ERASE UNIT. \r\nLogical Unit WWN Device Identifier: 50014ee209106fb8\r\n\tNAA\t\t: 5\r\n\tIEEE OUI\t: 0014ee\r\n\tUnique ID\t: 209106fb8\r\nChecksum: correct<\/pre>\n<p>&nbsp;<br \/><strong># smartctl -x \/dev\/sda<\/strong><\/p>\n<pre style=\"font-size: 9pt\">smartctl 5.41 2011-06-09 r3365 [x86_64-linux-3.13.0] (local build)\r\nCopyright (C) 2002-11 by Bruce Allen, http:\/\/smartmontools.sourceforge.net\r\n\r\n=== START OF INFORMATION SECTION ===\r\nDevice Model:     WDC WD10EFRX-68JCSN0\r\nSerial Number:    [REDACTED]\r\nLU WWN Device Id: 5 0014ee 209106fb8\r\nFirmware Version: 01.01A01\r\nUser Capacity:    1.000.204.886.016 bytes [1,00 TB]\r\nSector Sizes:     512 bytes logical, 4096 bytes physical\r\nDevice is:        Not in smartctl database [for details use: -P showall]\r\nATA Version is:   8\r\nATA Standard is:  Exact ATA specification draft version not indicated\r\nLocal Time is:    Tue Jan 21 20:01:34 2014 ART\r\nSMART support is: Available - device has SMART capability.\r\nSMART support is: Enabled\r\n\r\n=== START OF READ SMART DATA SECTION ===\r\nSMART overall-health self-assessment test result: PASSED\r\n\r\nGeneral SMART Values:\r\nOffline data collection status:  (0x00)\tOffline data collection activity\r\n                                        was never started.\r\n                                        Auto Offline Data Collection: Disabled.\r\nSelf-test execution status:      (   0)\tThe previous self-test routine completed\r\n                                        without error or no self-test has ever \r\n                                        been run.\r\nTotal time to complete Offline data collection: (13320) seconds.\r\nOffline data collection capabilities:\r\n                                        (0x7b) SMART execute Offline immediate.\r\n                                        Auto Offline data collection on\/off support.\r\n                                        Suspend Offline collection upon new command.\r\n                                        Offline surface scan supported.\r\n                                        Self-test supported.\r\n                                        Conveyance Self-test supported.\r\n                                        Selective Self-test supported.\r\nSMART capabilities:            (0x0003)\tSaves SMART data before entering power-saving mode.\r\n                                        Supports SMART auto save timer.\r\nError logging capability:        (0x01)\tError logging supported.\r\n                                        General Purpose Logging supported.\r\nShort self-test routine recommended polling time:        (   2) minutes.\r\nExtended self-test routine recommended polling time:     ( 152) minutes.\r\nConveyance self-test routine recommended polling time:   (   5) minutes.\r\nSCT capabilities: \t       (0x30bd)\tSCT Status supported.\r\n                                        SCT Error Recovery Control supported.\r\n                                        SCT Feature Control supported.\r\n                                        SCT Data Table supported.\r\n\r\nSMART Attributes Data Structure revision number: 16\r\nVendor Specific SMART Attributes with Thresholds:\r\nID# ATTRIBUTE_NAME          FLAGS    VALUE WORST THRESH FAIL RAW_VALUE\r\n  1 Raw_Read_Error_Rate     POSR-K   200   200   051    -    0\r\n  3 Spin_Up_Time            POS--K   138   133   021    -    4058\r\n  4 Start_Stop_Count        -O--CK   100   100   000    -    47\r\n  5 Reallocated_Sector_Ct   PO--CK   200   200   140    -    0\r\n  7 Seek_Error_Rate         -OSR-K   200   200   000    -    0\r\n  9 Power_On_Hours          -O--CK   098   098   000    -    1920\r\n 10 Spin_Retry_Count        -O--CK   100   253   000    -    0\r\n 11 Calibration_Retry_Count -O--CK   100   253   000    -    0\r\n 12 Power_Cycle_Count       -O--CK   100   100   000    -    47\r\n192 Power-Off_Retract_Count -O--CK   200   200   000    -    21\r\n<strong>193 Load_Cycle_Count        -O--CK   200   200   000    -    25<\/strong>\r\n194 Temperature_Celsius     -O---K   112   105   000    -    31\r\n196 Reallocated_Event_Count -O--CK   200   200   000    -    0\r\n197 Current_Pending_Sector  -O--CK   200   200   000    -    0\r\n198 Offline_Uncorrectable   ----CK   100   253   000    -    0\r\n199 UDMA_CRC_Error_Count    -O--CK   200   200   000    -    0\r\n200 Multi_Zone_Error_Rate   ---R--   100   253   000    -    0\r\n                            ||||||_ K auto-keep\r\n                            |||||__ C event count\r\n                            ||||___ R error rate\r\n                            |||____ S speed\/performance\r\n                            ||_____ O updated online\r\n                            |______ P prefailure warning\r\n\r\nSMART Extended Comprehensive Error Log Version: 1 (6 sectors)\r\nNo Errors Logged\r\n\r\nSMART Extended Self-test Log Version: 1 (1 sectors)\r\nNo self-tests have been logged.  [To run self-tests, use: smartctl -t]\r\n\r\nSCT Status Version:                  3\r\nSCT Version (vendor specific):       258 (0x0102)\r\nSCT Support Level:                   1\r\nDevice State:                        Active (0)\r\nCurrent Temperature:                    31 Celsius\r\nPower Cycle Min\/Max Temperature:     27\/37 Celsius\r\nLifetime    Min\/Max Temperature:     19\/38 Celsius\r\nUnder\/Over Temperature Limit Count:   0\/0\r\nSCT Temperature History Version:     2\r\nTemperature Sampling Period:         1 minute\r\nTemperature Logging Interval:        1 minute\r\nMin\/Max recommended Temperature:      0\/60 Celsius\r\nMin\/Max Temperature Limit:           -41\/85 Celsius\r\nTemperature History Size (Index):    478 (350)\r\n\r\nSCT Error Recovery Control:\r\n           Read:     70 (7,0 seconds)\r\n          Write:     70 (7,0 seconds)\r\n\r\nSATA Phy Event Counters (GP Log 0x11)\r\nID      Size     Value  Description\r\n0x0001  2            0  Command failed due to ICRC error\r\n0x0002  2            0  R_ERR response for data FIS\r\n0x0003  2            0  R_ERR response for device-to-host data FIS\r\n0x0004  2            0  R_ERR response for host-to-device data FIS\r\n0x0005  2            0  R_ERR response for non-data FIS\r\n0x0006  2            0  R_ERR response for device-to-host non-data FIS\r\n0x0007  2            0  R_ERR response for host-to-device non-data FIS\r\n0x0008  2            0  Device-to-host non-data FIS retries\r\n0x0009  2        33157  Transition from drive PhyRdy to drive PhyNRdy\r\n0x000a  2           45  Device-to-host register FISes sent due to a COMRESET\r\n0x000b  2            0  CRC errors within host-to-device FIS\r\n0x000f  2            0  R_ERR response for host-to-device data FIS, CRC\r\n0x0012  2            0  R_ERR response for host-to-device non-data FIS, CRC\r\n0x8000  4       523088  Vendor specific<\/pre>\n<p>He resaltado el contador de ciclos de carga (Load Cycle Count) puesto que es un dato a tener presente ya que otras series de discos de WD, vale decir, los Caviar Green, han tenido problemas al utilizar una pol\u00edtica de ahorro de energ\u00eda demasiado agresiva que reduce el tiempo de vida de la unidad. En este disco, por suerte, el conteo de ciclos parece bastante normal.<\/p>\n<p>&nbsp;<br \/><strong># hdparm -tT \/dev\/sda<\/strong><\/p>\n<pre>\/dev\/sda:\r\n Timing cached reads:   26724 MB in  2.00 seconds = <strong>13374.46<\/strong> MB\/sec\r\n Timing buffered disk reads: 422 MB in  3.01 seconds = <strong>140.12<\/strong> MB\/sec<\/pre>\n<p>&nbsp;<br \/><strong>$ dd if=\/dev\/zero of=archivo.img count=1K bs=1M conv=fdatasync<\/strong><\/p>\n<pre>1024+0 records in\r\n1024+0 records out\r\n1073741824 bytes (1.1 GB) copied, 9.80654 s, <strong>109<\/strong> MB\/s<\/pre>\n<p>Las pruebas de lectura con hdparm y con dd. Cuanto m\u00e1s velocidad indiquen, mejor, por supuesto.<\/p>\n<p>&nbsp;<br \/><strong>palimpsest &#8211; Prueba de rendimiento de solo lectura<\/strong> (clic para agrandar)<\/p>\n<p><a href=\"\/\/maurom.com\/blog\/wp-content\/uploads\/2014\/01\/wd_caviar_red_1tb_palimpsest.png\"><img decoding=\"async\" src=\"\/\/maurom.com\/blog\/wp-content\/uploads\/2014\/01\/wd_caviar_red_1tb_palimpsest.png\" alt=\"wd_caviar_red_1tb_palimpsest\" width=\"500\" class=\"aligncenter\" \/><\/a><\/p>\n<p>Este gr\u00e1fico representa la velocidad de lectura y el tiempo de acceso en distintas partes del disco, desde los sectores m\u00e1s externos al plato (parte izquierda) hasta los m\u00e1s cercanos al eje (parte derecha). La l\u00ednea azul representa la velocidad de lectura (asociada a la escala izquierda), mientras que los puntos verdes representan los tiempos de acceso en distintas ubicaciones del disco (asociada a la escala derecha).<\/p>\n<p>Es notable la diferencia en la velocidad de lectura que existe al operar con los primeros sectores respecto de los \u00faltimos: 155 MB\/s contra 70 MB\/s. Como curiosidad, a su vez, se puede advertir que los sectores del centro del plato tienen un tiempo de acceso ligeramente m\u00e1s uniforme.<\/p>\n<p>&nbsp;<br \/><strong>$ bonnie++<\/strong><\/p>\n<pre style=\"font-size: 9pt\">Version  1.96       ------Sequential Output------ --Sequential Input- --Random-\r\nConcurrency   1     -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--\r\nMachine        Size K\/sec %CP K\/sec %CP K\/sec %CP K\/sec %CP K\/sec %CP  \/sec %CP\r\nhc-maurom       16G  1229  95 <strong>114703<\/strong>  11 52129   4  6031  88 <strong>154671<\/strong>   7 <strong>102.4<\/strong>   2\r\n<strong>Latency              8984us    2427ms     688ms   22552us     122ms     731ms<\/strong>\r\nVersion  1.96       ------Sequential Create------ --------Random Create--------\r\nhc-maurom           -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--\r\n              files  \/sec %CP  \/sec %CP  \/sec %CP  \/sec %CP  \/sec %CP  \/sec %CP\r\n                 16 26100  22 +++++ +++ 25978  16 +++++ +++ +++++ +++ +++++ +++\r\nLatency             26012us     340us     771us      42us       9us      26us<\/pre>\n<p>Los resultados de bonnie++ son bastante completos. Adem\u00e1s de hacer mediciones de entrada\/salida sobre el disco, mide tambi\u00e9n operaciones sobre el sistema de archivos (que por ahora no reviso). Lo relevante son las tasas de escritura y lectura en bloques, la cantidad de b\u00fasquedas por segundo (m\u00e1s es mejor) y la latencia de las mismas (menos es mejor).<\/p>\n<p>&nbsp;<br \/>Todas las pruebas fueron realizadas sobre una partici\u00f3n ext4.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Esta es la segunda de la serie de pruebas a discos r\u00edgidos, esta vez contra el disco del equipo personal. Siguen las especificaciones y m\u00e1s abajo los resultados por si a alguno le interesa. He remarcado los datos m\u00e1s relevantes. Western Digital Caviar Red 1TB Modelo: WDC WD10EFRX-68JCSN0 Capacidad: 1 TB Interfaz: SATA III Cach\u00e9: [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[17],"_links":{"self":[{"href":"https:\/\/maurom.com\/blog\/wp-json\/wp\/v2\/posts\/776"}],"collection":[{"href":"https:\/\/maurom.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/maurom.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/maurom.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/maurom.com\/blog\/wp-json\/wp\/v2\/comments?post=776"}],"version-history":[{"count":2,"href":"https:\/\/maurom.com\/blog\/wp-json\/wp\/v2\/posts\/776\/revisions"}],"predecessor-version":[{"id":1791,"href":"https:\/\/maurom.com\/blog\/wp-json\/wp\/v2\/posts\/776\/revisions\/1791"}],"wp:attachment":[{"href":"https:\/\/maurom.com\/blog\/wp-json\/wp\/v2\/media?parent=776"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/maurom.com\/blog\/wp-json\/wp\/v2\/categories?post=776"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/maurom.com\/blog\/wp-json\/wp\/v2\/tags?post=776"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}