====== tuned ======
Linuxのパフォーマンス・チューニング
I/Oスケジューラーを調整する。
yum install -y tuned
tuned-adm profile enterprise-storage
tuned-adm profile virtual-guest
とめかた
tuned-adm off
プロファイルのリスト
tuned-adm list
REDHATの日本語の説明
[[https://access.redhat.com/documentation/ja-JP/Red_Hat_Enterprise_Linux/6/html/Power_Management_Guide/tuned-adm.html]]
====== tuned default と virtual-host の差 ======
ioscheduler
## defautl
io_timeout 30000
max_segment_size 65536
physical_block_size 512
## virtual-host
io_timeout 90000
max_segment_size 4294967295
physical_block_size 4096
cpu governor
## default
# cpufreq-info -p
800000 2201000 ondemand
## virtual-host
# cpufreq-info -p
800000 2201000 performance
===== tuned 変更後のパフォーマンス差 =====
### default
"Seq-Read" bw:482MB iops: 470 latency:ms"4":91.992188
"Seq-Write" bw:433MB iops: 423 latency:ms"4":100
"Rand-Read-16K" bw: 56MB iops: 3534 latency:us"250":53.817749
"Rand-Write-16K" bw: 50MB iops: 3144 latency:us"500":88.792419
"Rand-Read-4K" bw: 14MB iops: 3700 latency:us"250":92.725397
"Rand-Write-4K" bw: 19MB iops: 4819 latency:us"250":94.06662
"Rand-Read-4K-QD32" bw:289MB iops:72455 latency:us"500":60.264206
"Rand-Write-4K-QD32" bw:144MB iops:36048 latency:us"1000":41.949081
### virtual-host
"Seq-Read" bw:536MB iops: 523 latency:ms"2":99.902344
"Seq-Write" bw:500MB iops: 488 latency:ms"4":89.453125
"Rand-Read-16K" bw:119MB iops: 7488 latency:us"250":99.998474
"Rand-Write-16K" bw:290MB iops:18174 latency:us"100":89.659119
"Rand-Read-4K" bw: 36MB iops: 9147 latency:us"250":83.566666
"Rand-Write-4K" bw:125MB iops:31334 latency:us"50":99.995041
"Rand-Read-4K-QD32" bw:324MB iops:81033 latency:us"500":93.238831
"Rand-Write-4K-QD32" bw:304MB iops:76027 latency:us"500":99.699402
{{tag>linux ベンチマーク}}