Speedy/Mass Storage

From MK Wiki EN
Jump to navigation Jump to search

Configuration

Computer is equipped with one 2,5 inch Western Digital AV-25 500GB, 16MB Cache, SATA 3Gb/s (WD5000BUCT) HDD detected as WDC_WD5000BUCT-63LS5Y1 by udevadm info --query=all --path=/sys/block/sda.

Partitions

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x000d3c05

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1              63    28674047    14336992+  83  Linux
Partition 1 does not start on physical sector boundary.
/dev/sda2        28674048   976773119   474049536    5  Extended
/dev/sda5        28676096   972578815   471951360   83  Linux
/dev/sda6       972580864   976773119     2096128   82  Linux swap / Solaris

Performance on partition #5

  • Write
# dd if=/dev/zero of=tempfile bs=1M count=4096 conv=fdatasync,notrunc
4096+0 Datensätze ein
4096+0 Datensätze aus
4294967296 Bytes (4,3 GB) kopiert, 121,742 s, 35,3 MB/s
  • Read
# echo 3 | tee /proc/sys/vm/drop_caches
# dd if=tempfile of=/dev/null bs=1M count=4096
4096+0 Datensätze ein
4096+0 Datensätze aus
4294967296 Bytes (4,3 GB) kopiert, 91,3307 s, 47,0 MB/s