centos – dd oflag =直接5倍速

在这个规格的服务器中有Centos 6.2:
2xcpu 16 Core AMD Opteron 6282 SE
64GB RAM
Raid controller H700 1GB cache NV
- 2HD 74GB SAS 15Krpm RAID1 stripe 16k (OS Centos 6.2) sda
- 4HD 146GB SAS 15Krpm RAID10 stripe 16k (ext4 bs 4096,no barriers) sdb -> /vol01
Raid controller H800 1GB cache nv
- MD1200 12HD 300GB SAS 15Krpm RAID10 stripe 256k (For DB Postgres 8.3.18) (ext4 bs 4096,stride 64,stripe-width 384,no barriers) sdc -> /vol02

我正在使用dd对IO速度进行基准测试,如果在RAID10 12磁盘执行中,请查看:

dd if=/dev/zero of=DD bs=8M count=10000 oflag=direct
10000+0 records in
10000+0 records out
83886080000 bytes (84 GB) copied,126,03 s,666 MB/s

但如果我删除“oflag = direct”选项获得大约80 MB / s.
在阅读基准测试中,结果类似:

dd of=/dev/null if=DD bs=8M count=10000 iflag=direct
10000+0 records in
10000+0 records out
83886080000 bytes (84 GB) copied,79,5918 s,1,1 GB/s

如果删除iflag = direct获得150MB / s ……

我不明白这个巨大的差异,在其他机器上你没有这种行为.

我可以将一些内核参数配置错误吗?

谢谢!

最后问题是Bios配置错误.
我在BIOS上将“Power Management”设置为“Maximum Performance”配置文件
DELL best practices in power management

使用此设置,dd具有相同的性能,有或没有oflag = direct

相关文章

Centos下搭建性能监控Spotlight
CentOS 6.3下Strongswan搭建IPSec VPN
在CentOS6.5上安装Skype与QQ
阿里云基于centos6.5主机VPN配置
CentOS 6.3下配置multipah
CentOS安装、配置APR和tomcat-native