http://kb.sandisk.com/app/answers/detail/a_id/6053#sandiskssd
ls /dev/sd? /dev/sda /dev/sdb /dev/sdc /dev/sdd sudo fdisk -l /dev/sdd
Disco /dev/sdd: 64.0 GB, 64023257088 bytes 255 cabezas, 63 sectores/pista, 7783 cilindros, 125045424 sectores en total Unidades = sectores de 1 * 512 = 512 bytes Tamaño de sector (lógico / físico): 512 bytes / 512 bytes Tamaño E/S (mínimo/óptimo): 512 bytes / 512 bytes Identificador del disco: 0x00000000
El disco /dev/sdd no contiene una tabla de particiones válida
sudo hdparm -i /dev/sdd
/dev/sdd:
Model=SanDisk SDSSDP064G, FwRev=2.0.0, SerialNo=131000402997 Config={ Fixed } RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=0 BuffType=unknown, BuffSize=unknown, MaxMultSect=1, MultSect=off CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=125045424 IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120} PIO modes: pio0 pio1 pio2 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: unknown: ATA/ATAPI-4,5,6,7
* signifies the current active mode
sudo hdparm -W0 /dev/sdd
/dev/sdd: setting drive write-caching to 0 (off) write-caching = 0 (off)
sudo flashbench -a /dev/sdd --count=100 align 17179869184 pre 197µs on 201µs post 198µs diff 3.88µs align 8589934592 pre 205µs on 208µs post 204µs diff 3.82µs align 4294967296 pre 192µs on 195µs post 191µs diff 3.77µs align 2147483648 pre 184µs on 186µs post 184µs diff 2.25µs align 1073741824 pre 205µs on 208µs post 204µs diff 3.82µs align 536870912 pre 202µs on 205µs post 202µs diff 2.88µs align 268435456 pre 205µs on 208µs post 203µs diff 3.65µs align 134217728 pre 195µs on 197µs post 192µs diff 3.62µs align 67108864 pre 205µs on 208µs post 204µs diff 3.78µs align 33554432 pre 204µs on 207µs post 203µs diff 3.56µs align 16777216 pre 204µs on 208µs post 204µs diff 4.11µs align 8388608 pre 205µs on 208µs post 204µs diff 3.87µs align 4194304 pre 205µs on 207µs post 203µs diff 3.34µs align 2097152 pre 204µs on 208µs post 204µs diff 4.17µs align 1048576 pre 205µs on 208µs post 203µs diff 3.83µs align 524288 pre 204µs on 208µs post 204µs diff 3.67µs align 262144 pre 193µs on 196µs post 192µs diff 3.63µs align 131072 pre 205µs on 208µs post 204µs diff 3.75µs align 65536 pre 193µs on 194µs post 192µs diff 1.31µs align 32768 pre 204µs on 204µs post 204µs diff 534ns sudo flashbench -a /dev/sdd --count=300 align 17179869184 pre 196µs on 198µs post 195µs diff 2.83µs align 8589934592 pre 200µs on 204µs post 200µs diff 3.87µs align 4294967296 pre 179µs on 184µs post 180µs diff 4.9µs align 2147483648 pre 180µs on 185µs post 179µs diff 5.26µs align 1073741824 pre 200µs on 204µs post 200µs diff 3.99µs align 536870912 pre 200µs on 204µs post 200µs diff 3.93µs align 268435456 pre 180µs on 183µs post 179µs diff 3.88µs align 134217728 pre 180µs on 184µs post 178µs diff 4.96µs align 67108864 pre 200µs on 204µs post 200µs diff 4.03µs align 33554432 pre 180µs on 184µs post 178µs diff 4.65µs align 16777216 pre 180µs on 184µs post 179µs diff 4.75µs align 8388608 pre 179µs on 183µs post 178µs diff 4.53µs align 4194304 pre 179µs on 183µs post 179µs diff 4.58µs align 2097152 pre 178µs on 183µs post 178µs diff 4.74µs align 1048576 pre 180µs on 183µs post 178µs diff 4.2µs align 524288 pre 200µs on 203µs post 199µs diff 3.83µs align 262144 pre 180µs on 183µs post 179µs diff 3.28µs align 131072 pre 200µs on 202µs post 199µs diff 3.16µs align 65536 pre 200µs on 200µs post 199µs diff 596ns align 32768 pre 179µs on 179µs post 178µs diff 576ns sudo flashbench --erasesize=8388608 /dev/sdd --blocksize=4096 -p 2MiB 228M/s 232M/s 232M/s 402M/s 230M/s 229M/s 233M/s 417M/s 1MiB 226M/s 226M/s 226M/s 411M/s 225M/s 226M/s 206M/s 342M/s 512KiB 217M/s 212M/s 218M/s 367M/s 203M/s 220M/s 215M/s 269M/s 256KiB 147M/s 144M/s 148M/s 316M/s 143M/s 139M/s 136M/s 186M/s 128KiB 82.4M/s 82.3M/s 82.1M/s 223M/s 81.9M/s 82.3M/s 83.3M/s 116M/s 64KiB 67.5M/s 67.7M/s 68.8M/s 118M/s 44.8M/s 41.3M/s 42.4M/s 104M/s 32KiB 41.3M/s 43.4M/s 44.3M/s 84.2M/s 17.2M/s 16.6M/s 16.3M/s 81.8M/s 16KiB 19.7M/s 16.8M/s 16.6M/s 59.9M/s 24.7M/s 24M/s 23.4M/s 54.7M/s 8KiB 9.85M/s 9.74M/s 10.1M/s 35.6M/s 11.5M/s 11.2M/s 11.1M/s 33.3M/s 4KiB 5.58M/s 5.47M/s 5.5M/s 19.7M/s 5.59M/s 5.54M/s 5.47M/s 18.5M/s 2KiB 2.85M/s 2.82M/s 2.83M/s 12.9M/s 2.77M/s 2.77M/s 2.77M/s 10.2M/s 1KiB 1.45M/s 1.43M/s 1.43M/s 5.96M/s 1.39M/s 1.39M/s 1.37M/s 4.99M/s 512B 728K/s 722K/s 722K/s 3.42M/s 682K/s 682K/s 683K/s 2.53M/s sudo flashbench --open-au --erasesize=8388608 /dev/sdd --blocksize=512 --open-au-nr=1 8MiB 154M/s 4MiB 148M/s 2MiB 133M/s 1MiB 139M/s 512KiB 125M/s 256KiB 87.4M/s 128KiB 54M/s 64KiB 48M/s 32KiB 36.2M/s 16KiB 7.78M/s 8KiB 5.58M/s 4KiB 3.64M/s 2KiB 2.12M/s 1KiB 1.12M/s 512B 578K/s sudo flashbench --open-au --erasesize=8388608 /dev/sdd --blocksize=512 --open-au-nr=1 --offset=$[63 * 512] 8MiB 172M/s 4MiB 158M/s 2MiB 147M/s 1MiB 153M/s 512KiB 106M/s 256KiB 96.2M/s 128KiB 60.8M/s 64KiB 27.2M/s 32KiB 10.1M/s 16KiB 8.24M/s 8KiB 5.6M/s 4KiB 3.59M/s 2KiB 2.12M/s 1KiB 1.11M/s 512B 584K/s sudo flashbench --open-au --erasesize=8388608 /dev/sdd --blocksize=512 --open-au-nr=1 --offset=4096 8MiB 115M/s 4MiB 150M/s 2MiB 138M/s 1MiB 145M/s 512KiB 144M/s 256KiB 86.8M/s 128KiB 46.7M/s 64KiB 35.8M/s 32KiB 21.8M/s 16KiB 7.57M/s 8KiB 5.49M/s 4KiB 3.61M/s 2KiB 2.12M/s 1KiB 1.11M/s 512B 583K/s sudo flashbench --open-au --erasesize=$((1024 * 1024)) /dev/sdd --blocksize=2048 --open-au-nr=64 1MiB 216M/s 512KiB 196M/s 256KiB 131M/s 128KiB 78.3M/s 64KiB 25.6M/s 32KiB 10.6M/s 16KiB 20.9M/s 8KiB 10.2M/s 4KiB 4.94M/s 2KiB 2.42M/s sudo flashbench --open-au --erasesize=$((1024 * 1024)) /dev/sdd --blocksize=2048 --random --open-au-nr=64 1MiB 166M/s 512KiB 180M/s 256KiB 125M/s 128KiB 77.2M/s 64KiB 26.5M/s 32KiB 11.1M/s 16KiB 19M/s 8KiB 10.5M/s 4KiB 4.99M/s 2KiB 2.42M/s sudo flashbench --open-au --erasesize=$((1024 * 1024)) /dev/sdd --blocksize=2048 --random --open-au-nr=64 --offset=4096 1MiB 158M/s 512KiB 93.1M/s 256KiB 74.9M/s 128KiB 50.1M/s 64KiB 18.3M/s 32KiB 7.72M/s 16KiB 13M/s 8KiB 9.52M/s 4KiB 4.81M/s 2KiB 2.18M/s sudo flashbench --open-au --erasesize=$((1024 * 1024)) /dev/sdd --blocksize=2048 --random --open-au-nr=64 --offset=2048 1MiB 106M/s 512KiB 150M/s 256KiB 108M/s 128KiB 59.3M/s 64KiB 18.2M/s 32KiB 7.84M/s 16KiB 12.8M/s 8KiB 9.55M/s 4KiB 4.81M/s 2KiB 2.24M/s sudo hdparm -W1 /dev/sdd
/dev/sdd: setting drive write-caching to 1 (on) write-caching = 1 (on)
# GPT sudo gdisk -l /dev/sdd GPT fdisk (gdisk) version 0.8.1
Partition table scan: MBR: not present BSD: not present APM: not present GPT: not present
Creating new GPT entries. Disk /dev/sdd: 125045424 sectors, 59.6 GiB Logical sector size: 512 bytes Disk identifier (GUID): 6DFFE93A-FC70-48B8-AC79-70272114F979 Partition table holds up to 128 entries First usable sector is 34, last usable sector is 125045390 Partitions will be aligned on 2048-sector boundaries Total free space is 125045357 sectors (59.6 GiB)
Number Start (sector) End (sector) Size Code Name sudo gdisk /dev/sdd n 1 1M +382M ef00 n 2 +1M ef02 n 3 +4G 8200 n 4 +55G 8300 p Disk /dev/sdd: 125045424 sectors, 59.6 GiB Logical sector size: 512 bytes Disk identifier (GUID): 697667C5-CDC0-4B73-B04C-E11F2CA25816 Partition table holds up to 128 entries First usable sector is 34, last usable sector is 125045390 Partitions will be aligned on 2048-sector boundaries Total free space is 529005 sectors (258.3 MiB)
Number Start (sector) End (sector) Size Code Name 1 2048 784383 382.0 MiB EF00 EFI System 2 784384 786431 1024.0 KiB EF02 BIOS boot partition 3 786432 9175039 4.0 GiB 8200 Linux swap 4 9175040 124518399 55.0 GiB 8300 Linux filesystem w Y sudo mkfs -t vfat -F 32 -n EFI /dev/sdd1 sudo mkfs -t vfat -F 12 -n BIOS /dev/sdd2 sudo mkswap -L SWAP /dev/sdd3 Configurando la versión swapspace 1, tamaño = 4194300 KiB LABEL=SWAP, UUID=7c8f1757-941a-4325-b8be-0fc44a1c1e5c sudo mkfs.btrfs -L SanDisk /dev/sdd4 WARNING! - Btrfs Btrfs v0.19 IS EXPERIMENTAL WARNING! - see http://btrfs.wiki.kernel.org before using
fs created label SanDisk on /dev/sdd4 nodesize 4096 leafsize 4096 sectorsize 4096 size 55.00GB Btrfs Btrfs v0.19
flashbench-results@lists.linaro.org