0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

AMD GPU のクロック制御のメモ

Last updated at Posted at 2021-01-19

rocm-smi

とりあえずお手軽に underclock とか powerlimit したいむけ.

--setsclk 2 などとして制御できます.

amdcovc など

細かく制御したい向け. もしくは /sys/class/* のパラメータを直接叩いてもいいかも(最新 GPU だとカーネルが対応していなかったりするかも)

デフォルトの Linux kernel(少なくとも Ubuntu 20.04 の 5.4)では, 細かいクロック制御はできないので, 上記ツールを使う場合は kernel parameter に

amdgpu.ppfeaturemask=0xffffffff を追加する.

Ubuntu であれば /etc/defaults/grub で追加して, sudo update-grub2 して反映させる.
(/etc/modprobe.damdgpu.conf をつくり追加したほうがナウいかも?)

printf "0x%08x\n" $(cat /sys/module/amdgpu/parameters/ppfeaturemask)

で現在の状態を確認できる.

amdmemorytweak

メモリタイミングの制御

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?