Sceneries through the lenses

その場の気分でもやっと投稿していくブログ。内容はころころ変わります…(汗。

パフォーマンスプロファイル (CentOS 8)

2020-06-24 23:19:39 | OSS/Programming
CentOS 8 にアップデートしたてなので、 Cockpit でサーバ設定情報を見てると、概要の設定の項目に
「パフォーマンスプロファイル throughput-performance」
というのが気になり、調べてみた。

プロファイルの説明は次のような感じなんだけど、イマイチ分からん。

# tuned-adm list
Available profiles:
- accelerator-performance - Throughput performance based tuning with disabled higher latency STOP states
- balanced - General non-specialized tuned profile
- desktop - Optimize for the desktop use-case
- hpc-compute - Optimize for HPC compute workloads
- intel-sst - Configure for Intel Speed Select Base Frequency
- latency-performance - Optimize for deterministic performance at the cost of increased power consumption
- network-latency - Optimize for deterministic performance at the cost of increased power consumption, focused on low latency network performance
- network-throughput - Optimize for streaming network throughput, generally only necessary on older CPUs or 40G+ networks
- powersave - Optimize for low power consumption
- throughput-performance - Broadly applicable tuning that provides excellent performance across a variety of common server workloads
- virtual-guest - Optimize for running inside a virtual guest
- virtual-host - Optimize for running KVM guests
Current active profile: throughput-performance

ということでGoogle先生に聞いてみたところ、次のサイトが引っかかる。

https://access.redhat.com/documentation/ja-jp/red_hat_enterprise_linux/6/html/power_management_guide/tuned-adm

Red Hat 6 なので、プロファイルの種類が違うんだけど、throughput-performance は変わらないだろうと読んでみると

========
これは tuned と ktune の節電メカニズムを無効にし、…(省略)
========

節電を無効だと…(;´・ω・)
気になって、/proc/cpuinfo を見てみると、全力で動いてやがる…orz

# cat /proc/cpuinfo | grep MHz
cpu MHz : 2215.447
cpu MHz : 2202.227
cpu MHz : 2391.480
cpu MHz : 2225.649

必要時以外はCPUクロックを下げたい(でその時の効果が高い Core i5 をわざわざ選んで買ってる)
ので、この設定は微妙…。
自鯖にそこまで求めてないので、とりあえず、balancedに設定変更。下がった。

# cat /proc/cpuinfo | grep MHz
cpu MHz : 798.587
cpu MHz : 797.393
cpu MHz : 798.701
cpu MHz : 798.225

最終的に powersave に変更。
これでしばらく様子見。

最新の画像もっと見る

コメントを投稿