{"id":736,"date":"2014-01-23T11:14:57","date_gmt":"2014-01-23T14:14:57","guid":{"rendered":"http:\/\/www.maurom.com\/blog\/?p=736"},"modified":"2017-07-05T19:35:06","modified_gmt":"2017-07-05T22:35:06","slug":"benchmark-st500dm002-1bd142","status":"publish","type":"post","link":"https:\/\/maurom.com\/blog\/2014\/01\/23\/benchmark-st500dm002-1bd142\/","title":{"rendered":"Benchmark day 1: Seagate Barracuda 500GB (ST500DM002-1BD142)"},"content":{"rendered":"<p>En una charla con un viejo amigo sobre discos r\u00edgidos actuales puse de ejemplo algunos a los que he tenido acceso habitualmente. A partir de eso se me ocurri\u00f3 tratar de determinar qu\u00e9 diferencia de rendimiento hay entre los discos de mi equipo hogare\u00f1o y mi estaci\u00f3n de trabajo, por lo que recurr\u00ed a las tradicionales herramientas de prueba en Linux.<\/p>\n<p>La primera prueba va contra el disco de la estaci\u00f3n de trabajo, 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>Seagate Barracuda 500GB<\/strong><br \/>\nModelo: ST500DM002-1BD142<br \/>\nCapacidad: 500 GB<br \/>\nInterfaz: SATA III<br \/>\nCach\u00e9: 16 MB<br \/>\nVelocidad: 7200 RPM<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:       ST500DM002-1BD142                       \r\n\tSerial Number:      [REDACTED]\r\n\tFirmware Revision:  KC45    \r\n\tTransport:          Serial, SATA Rev 3.0\r\nStandards:\r\n\tUsed: unknown (minor revision code 0x0029) \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:  976773168\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:      476940 MBytes\r\n\tdevice size with M = 1000*1000:      500107 MBytes (500 GB)\r\n\tcache\/buffer size  = 16384 KBytes\r\n\tNominal Media Rotation Rate: 7200\r\nCapabilities:\r\n\tLBA, IORDY(can be disabled)\r\n\tQueue depth: 32\r\n\tStandby timer values: spec'd by Standard, no device specific minimum\r\n\tR\/W multiple sector transfer: Max = 16\tCurrent = 16\r\n\tRecommended acoustic management value: 208, current value: 208\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   *\tDOWNLOAD_MICROCODE\r\n\t    \tSET_MAX security extension\r\n\t   *\tAutomatic Acoustic Management feature set\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   *\tGeneral Purpose Logging feature set\r\n\t   *\tWRITE_{DMA|MULTIPLE}_FUA_EXT\r\n\t   *\t64-bit World wide name\r\n\t    \tWrite-Read-Verify feature set\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   *\tPhy event counters\r\n\t   *\tunknown 76[15]\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 Long Sector Access (AC1)\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[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\t78min for SECURITY ERASE UNIT. 78min for ENHANCED SECURITY ERASE UNIT. \r\nLogical Unit WWN Device Identifier: 5000c5005022a977\r\n\tNAA\t\t: 5\r\n\tIEEE OUI\t: 000c50\r\n\tUnique ID\t: 05022a977\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:     ST500DM002-1BD142\r\nSerial Number:    [REDACTED]\r\nLU WWN Device Id: 5 000c50 05022a977\r\nFirmware Version: KC45\r\nUser Capacity:    500,107,862,016 bytes [500 GB]\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:  ATA-8-ACS revision 4\r\nLocal Time is:    Wed Jan 22 08:13:16 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:  (0x82)    Offline data collection activity\r\n                                           was completed without error.\r\n                                           Auto Offline Data Collection: Enabled.\r\nSelf-test execution status:      (   0)    The 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:         (  600) 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)    Saves SMART data before entering \r\n                                           power-saving mode.\r\n                                           Supports SMART auto save timer.\r\nError logging capability:        (0x01)    Error logging supported.\r\n                                           General Purpose Logging supported.\r\nShort self-test routine recommended polling time:           (   1) minutes.\r\nExtended self-test routine recommended polling time:        (  79) minutes.\r\nConveyance self-test routine recommended polling time:      (   2) minutes.\r\nSCT capabilities:            (0x303f)    SCT 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: 10\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--   110   099   006    -    33944\r\n  3 Spin_Up_Time            PO----   100   100   000    -    0\r\n  4 Start_Stop_Count        -O--CK   100   100   020    -    28\r\n  5 Reallocated_Sector_Ct   PO--CK   100   100   036    -    0\r\n  7 Seek_Error_Rate         POSR--   073   060   030    -    22473249\r\n  9 Power_On_Hours          -O--CK   094   094   000    -    5328\r\n 10 Spin_Retry_Count        PO--C-   100   100   097    -    0\r\n 12 Power_Cycle_Count       -O--CK   100   100   020    -    28\r\n183 Runtime_Bad_Block       -O--CK   100   100   000    -    0\r\n184 End-to-End_Error        -O--CK   100   100   099    -    0\r\n187 Reported_Uncorrect      -O--CK   100   100   000    -    0\r\n188 Command_Timeout         -O--CK   100   100   000    -    0\r\n189 High_Fly_Writes         -O-RCK   100   100   000    -    0\r\n190 Airflow_Temperature_Cel -O---K   061   054   045    -    39 (Min\/Max 26\/41)\r\n194 Temperature_Celsius     -O---K   039   046   000    -    39 (0 16 0 0)\r\n195 Hardware_ECC_Recovered  -O-RC-   044   026   000    -    33944\r\n197 Current_Pending_Sector  -O--C-   100   100   000    -    0\r\n198 Offline_Uncorrectable   ----C-   100   100   000    -    0\r\n199 UDMA_CRC_Error_Count    -OSRCK   200   200   000    -    0\r\n240 Head_Flying_Hours       ------   100   253   000    -    147261543683280\r\n241 Total_LBAs_Written      ------   100   253   000    -    1601632265\r\n242 Total_LBAs_Read         ------   100   253   000    -    3080541557\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 (5 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):       522 (0x020a)\r\nSCT Support Level:                   1\r\nDevice State:                        Active (0)\r\nCurrent Temperature:                    39 Celsius\r\nPower Cycle Min\/Max Temperature:     26\/41 Celsius\r\nLifetime    Min\/Max Temperature:     16\/46 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:        59 minutes\r\nMin\/Max recommended Temperature:     14\/55 Celsius\r\nMin\/Max Temperature Limit:           10\/60 Celsius\r\nTemperature History Size (Index):    128 (77)\r\n\r\nSCT Error Recovery Control:\r\n           Read: Disabled\r\n          Write: Disabled\r\n\r\nSATA Phy Event Counters (GP Log 0x11)\r\nID      Size     Value  Description\r\n0x000a  2           19  Device-to-host register FISes sent due to a COMRESET\r\n0x0001  2            0  Command failed due to ICRC error\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\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<\/pre>\n<p>&nbsp;<br \/><strong># hdparm -tT \/dev\/sda<\/strong><\/p>\n<pre>\/dev\/sda:\r\n Timing cached reads:   24824 MB in  2.00 seconds = <strong>12423.12<\/strong> MB\/sec\r\n Timing buffered disk reads: 402 MB in  3.01 seconds = <strong>133.65<\/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 registros le\u00eddos\r\n1024+0 registros escritos\r\n1073741824 bytes (1,1 GB) copiados, 9,96082 s, <strong>108<\/strong> MB\/s<\/pre>\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\/seagate_barracuda_500g_palimpsest.png\"><img decoding=\"async\" class=\"aligncenter size-medium wp-image-741\" alt=\"seagate_barracuda_500g_palimpsest\" src=\"\/\/maurom.com\/blog\/wp-content\/uploads\/2014\/01\/seagate_barracuda_500g_palimpsest.png\" width=\"500\" srcset=\"https:\/\/maurom.com\/blog\/wp-content\/uploads\/2014\/01\/seagate_barracuda_500g_palimpsest.png 890w, https:\/\/maurom.com\/blog\/wp-content\/uploads\/2014\/01\/seagate_barracuda_500g_palimpsest-300x181.png 300w\" sizes=\"(max-width: 890px) 100vw, 890px\" \/><\/a><\/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\nsoda         15808M  1105  96 <strong>112638<\/strong>   7 45472   4  4853  74 <strong>151543<\/strong>   6 <strong>271.5<\/strong>   4\r\n<strong>Latency             10287us     436ms    1531ms   85189us     151ms    1255ms<\/strong>\r\nVersion  1.96       ------Sequential Create------ --------Random Create--------\r\nsoda                -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--\r\n              files  \/sec %CP  \/sec %CP  \/sec %CP  \/sec %CP  \/sec %CP  \/sec %CP\r\n                 16 26311  22 +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++\r\nLatency             57369us     312us     316us     292us      14us      77us<\/pre>\n<p>&nbsp;<br \/>Todas las pruebas fueron realizadas sobre una partici\u00f3n ext4.<br \/>\nMa\u00f1ana van los resultados del otro disco.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>En una charla con un viejo amigo sobre discos r\u00edgidos actuales puse de ejemplo algunos a los que he tenido acceso habitualmente. A partir de eso se me ocurri\u00f3 tratar de determinar qu\u00e9 diferencia de rendimiento hay entre los discos de mi equipo hogare\u00f1o y mi estaci\u00f3n de trabajo, por lo que recurr\u00ed a las [&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\/736"}],"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=736"}],"version-history":[{"count":1,"href":"https:\/\/maurom.com\/blog\/wp-json\/wp\/v2\/posts\/736\/revisions"}],"predecessor-version":[{"id":1593,"href":"https:\/\/maurom.com\/blog\/wp-json\/wp\/v2\/posts\/736\/revisions\/1593"}],"wp:attachment":[{"href":"https:\/\/maurom.com\/blog\/wp-json\/wp\/v2\/media?parent=736"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/maurom.com\/blog\/wp-json\/wp\/v2\/categories?post=736"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/maurom.com\/blog\/wp-json\/wp\/v2\/tags?post=736"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}