Комрады выручайте, сломал голову. Имею очень низкую производительность SSD винта. около 130Мб/сек
Попарядку, есть:
1) 1U Dell PowerEdge 1950 2x4 Core Intel Xeon 8gb Ram
2) SSD Itel 330 120GB
3) HDD Seagate ST2000DM001
Поставил Centos 6.3 с последним ядром [root@Apollo /]# uname -a
Linux Apollo 2.6.32-279.11.1.el6.x86_64 #1 SMP Tue Oct 16 15:57:10 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
Находятся и отпределяются диски так
[root@Apollo /]# dmesg
scsi 0:0:0:0: Direct-Access ATA ST2000DM001-1CH1 CC43 PQ: 0 ANSI: 5
mptsas: ioc0: attaching sata device: fw_channel 0, fw_id 1, phy 1, sas_addr
0x1221000001000000
scsi 0:0:1:0: Direct-Access ATA INTEL SSDSC2CT12 300i PQ: 0 ANSI: 5
ata_piix 0000:00:1f.1: version 2.13
ata_piix 0000:00:1f.1: PCI INT A -> GSI 16 (level, low) -> IRQ 16
ata_piix 0000:00:1f.1: setting latency timer to 64
scsi1 : ata_piix
scsi2 : ata_piix
ata1: PATA max UDMA/100 cmd 0x1f0 ctl 0x3f6 bmdma 0xfc00 irq 14
ata2: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0xfc08 irq 15
ata2: port disabled. ignoring.
ata1.00: ATAPI: TEAC DVD-ROM DV28EV, D.AG, max UDMA/33
ata1.00: configured for UDMA/33
scsi 1:0:0:0: CD-ROM TEAC DVD-ROM DV28EV D.AG PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] 3907029168 512-byte logical blocks: (2.00 TB/1.81 TiB)
sd 0:0:1:0: [sdb] 234441648 512-byte logical blocks: (120 GB/111 GiB)
sd 0:0:1:0: [sdb] Write Protect is off
sd 0:0:1:0: [sdb] Mode Sense: 73 00 00 08
sd 0:0:1:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 73 00 00 08
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sdb: sdb1
sda: sda1 sda2 sda3
sd 0:0:1:0: [sdb] Attached SCSI disk
sd 0:0:0:0: [sda] Attached SCSI disk
sr0: scsi3-mmc drive: 62x/62x cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.20
sr 1:0:0:0: Attached scsi CD-ROM sr0
EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts:
dracut: Mounted root filesystem /dev/sda1
[root@Apollo /]# fdisk -l
Device Boot Start End Blocks Id System
/dev/sda1 * 1 38245 307200000 83 Linux
/dev/sda2 38245 40285 16384000 82 Linux swap / Solaris
Disk /dev/sdb: 120.0 GB, 120034123776 bytes
32 heads, 32 sectors/track, 228946 cylinders
Units = cylinders of 1024 * 512 = 524288 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0002c743
Device Boot Start End Blocks Id System
/dev/sdb1 2 228946 117219840 83 Linux
[root@Apollo /]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 289G 7.2G 267G 3% /
tmpfs 3.9G 0 3.9G 0% /dev/shm
/dev/sdb1 111G 2.2G 103G 3% /www_sdd
size=3G 3.9G 2.1G 1.9G 53% /RAM
Делал такие тесты: на Intel SDD /dev/sdb
[root@Apollo www_sdd]# echo 3 > /proc/sys/vm/drop_caches
[root@Apollo www_sdd]# dd if=output of=/RAM/output bs=8k count=256k
262144+0 records in
262144+0 records out
2147483648 bytes (2.1 GB) copied, 15.8175 s, 136 MB/s
[root@Apollo www_sdd]# hdparm -tT /dev/sdb
/dev/sdb:
Timing cached reads: 12848 MB in 2.00 seconds = 6434.42 MB/sec
Timing buffered disk reads: 290 MB in 3.02 seconds = 96.11 MB/sec
Такие на HDD Seagate /dev/sda
[root@Apollo www_sdd]# echo 3 > /proc/sys/vm/drop_caches
[root@Apollo www_sdd]# dd if=/output of=/RAM/output bs=8k count=256k
262144+0 records in
262144+0 records out
2147483648 bytes (2.1 GB) copied, 10.545 s, 204 MB/s
[root@Apollo www_sdd]# hdparm -tT /dev/sda
/dev/sda:
Timing cached reads: 13114 MB in 2.00 seconds = 6567.87 MB/sec
Timing buffered disk reads: 546 MB in 3.01 seconds = 181.43 MB/sec
HDD быстрее SSD???!!! что я не так делаю?