๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ
IT-Engineering/Software

Nvidia GPU ๊ทธ๋ž˜ํ”ฝ ์นด๋“œ ํŒฌ ์†๋„ ์˜ค๋ฒ„ํด๋Ÿญ ์˜ต์…˜ ์ผœ๊ธฐ(nvidia-settings)

by ๐Ÿงž‍โ™‚๏ธ 2021. 7. 22.
๋ฐ˜์‘ํ˜•

NVIDIA ๊ทธ๋ž˜ํ”ฝ์นด๋“œ ํŒฌ์†๋„ ์˜ค๋ฒ„ํด๋Ÿญ ์˜ต์…˜ ํ™œ์„ฑํ™”

nvidia ๊ทธ๋ž˜ํ”ฝ ์นด๋“œ ์„ค์ •์€ Linux ์šด์˜์ฒด์ œ์˜ ๊ฒฝ์šฐ(์ œ ๊ฒฝ์šฐ Ubuntu18.04์™€ Ubuntu20.04) ์•„๋ž˜์˜ ์ฃผ์†Œ์— ์žˆ์Šต๋‹ˆ๋‹ค.

Nvidia ๊ทธ๋ž˜ํ”ฝ ์นด๋“œ ์„ค์ • ํŒŒ์ผ ์œ„์น˜
/etc/X11/xorg.conf

 

 nvidia-settings์˜ ์ถ”๊ฐ€ ์˜ต์…˜ ํ™œ์„ฑํ™” ๋ฐฉ๋ฒ•

๋ฆฌ๋ˆ…์Šค ํ„ฐ๋ฏธ๋„์˜ ๊ฒฝ์šฐ๋Š” ๊ฐ„๋‹จํ•˜๊ฒŒ ์•„๋ž˜์˜ ๋ช…๋ น์–ด๋งŒ ์ž…๋ ฅํ•ด์ฃผ๊ณ  ์žฌ๋ถ€ํŒ…์„ ํ•ด์ฃผ๋ฉด ๋ฐ”๋กœ ๊ทธ๋ž˜ํ”ฝ ์นด๋“œ ํŒฌ ์†๋„ ์˜ต์…˜๊ณผ ์˜ค๋ฒ„ํด๋Ÿญ ์˜ต์…˜์„ ํ™•์ธํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

nvidia-xconfig --cool-bits=28

์•„๋‹ˆ๋ฉด ์•„๋ž˜์˜ ๋ช…๋ น์–ด๋ฅผ ํ†ตํ•ด ์ง์ ‘ cool-bits๋ฅผ ๋ณ€๊ฒฝํ•ด์ฃผ๋ฉด ๋˜๋Š”๋ฐ ๋‹ค์Œ ์ฑ•ํ„ฐ๋ฅผ ์ฐธ๊ณ ํ•˜์‹œ๊ธฐ ๋ฐ”๋ž๋‹ˆ๋‹ค.

sudo vi /etc/X11/xorg.conf

 

์žฌ๋ถ€ํŒ…์„ ์™„๋ฃŒํ–ˆ๋‹ค๋ฉด ํ„ฐ๋ฏธ๋„์—์„œ nvidia-settings ๋ช…๋ น์–ด๋ฅผ ์ž…๋ ฅํ•˜๊ฑฐ๋‚˜ ๋‹ค๋ฅธ ์šด์˜์ฒด์ œ์˜ ๊ฒฝ์šฐ nvidia ์ œ์–ดํŒ์„ ์ผœ์ค๋‹ˆ๋‹ค.

์•„๋ž˜์˜ ๋ฉ”๋‰ด์—์„œ Enable GPU Fan Settings๋ฅผ ํ™œ์„ฑํ™” ์‹œํ‚ค๊ณ  ํŒฌ ์†๋„๋ฅผ ์กฐ์ ˆํ•˜๋ฉด ๋ฉ๋‹ˆ๋‹ค.

Nvidia Fan ์†๋„ ํ™œ์„ฑํ™” ํ™”๋ฉด

๋‹ค์Œ์€ PowerMizer ๋ฉ”๋‰ด๋กœ Overclock์„ ํ•  ์ˆ˜ ์žˆ๋Š” ๋ฉ”๋‰ด์ž…๋‹ˆ๋‹ค.

 

 ์˜ค๋ฒ„ํด๋Ÿญ(Overclock) ๋ฐ ๋ƒ‰๊ฐ(Cooling)

 

์˜ค๋ฒ„ํด๋Ÿญ ์‚ฌ์šฉ


๊ฒฝ๊ณ : ์˜ค๋ฒ„ํด๋Ÿญํ•˜๋ฉด ํ•˜๋“œ์›จ์–ด๊ฐ€ ์˜๊ตฌ์ ์œผ๋กœ ์†์ƒ๋  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

์˜ค๋ฒ„ํด๋Ÿญ์€ ์žฅ์น˜ ์„น์…˜์˜ Coolbits ์˜ต์…˜์„ ํ†ตํ•ด ์ œ์–ด๋˜๋ฉฐ ๋‹ค์Œ๊ณผ ๊ฐ™์€ ์ง€์›๋˜์ง€ ์•Š๋Š” ๋‹ค์–‘ํ•œ ๊ธฐ๋Šฅ์„ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

์ด๋Š” ์œ„ ์ฑ•ํ„ฐ์—์„œ ์–ธ๊ธ‰ํ•œ /etc/X11/xorg.conf ์„ ์ง์ ‘ ํŽธ์ง‘ํ•˜์—ฌ Section "Screen" ์•„๋ž˜ ๋ฉ”๋‰ด์— ์•„๋ž˜์™€ ๊ฐ™์€ ์˜ต์…˜ ์ค„์„ ์ถ”๊ฐ€ํ•˜๋ฉด ๋ฉ๋‹ˆ๋‹ค.

option "Coolbits" "value" 

ํŒ: Coolbits ์˜ต์…˜์€ Xorg ๊ตฌ์„ฑ ํŒŒ์ผ์„ ์กฐ์ž‘ํ•˜๋Š” nvidia-xconfig๋ฅผ ํ†ตํ•ด ์‰ฝ๊ฒŒ ์ œ์–ดํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. 
# nvidia-xconfig --cool-bits=value

Coolbits ๊ฐ’์€ ์ด์ง„์ˆ˜ ์‹œ์Šคํ…œ์—์„œ ํ•ด๋‹น ๊ตฌ์„ฑ ์š”์†Œ ๋น„ํŠธ์˜ ํ•ฉ๊ณ„์ž…๋‹ˆ๋‹ค. ๊ตฌ์„ฑ ์š”์†Œ ๋น„ํŠธ๋Š” ๋‹ค์Œ๊ณผ ๊ฐ™์Šต๋‹ˆ๋‹ค. 

1(๋น„ํŠธ 0) - NVIDIA ์„ค์ •์˜ ํด๋Ÿญ ์ฃผํŒŒ์ˆ˜ ํŽ˜์ด์ง€์—์„œ ์ด์ „(Fermi ์ด์ „) ์ฝ”์–ด์˜ ์˜ค๋ฒ„ํด๋Ÿญ์„ ํ™œ์„ฑํ™”ํ•ฉ๋‹ˆ๋‹ค. 
2(๋น„ํŠธ 1) - ์ด ๋น„ํŠธ๊ฐ€ ์„ค์ •๋˜๋ฉด ๋“œ๋ผ์ด๋ฒ„๋Š” ๋น„๋””์˜ค ๋ฉ”๋ชจ๋ฆฌ์˜ ์–‘์ด ๋‹ค๋ฅธ GPU๋ฅผ ์‚ฌ์šฉํ•  ๋•Œ SLI๋ฅผ ์ดˆ๊ธฐํ™”ํ•˜๋ ค๊ณ  ์‹œ๋„ํ•ฉ๋‹ˆ๋‹ค.
4(๋น„ํŠธ 2) - NVIDIA ์„ค์ •์˜ Thermal Monitor ํŽ˜์ด์ง€์—์„œ GPU ํŒฌ ์†๋„๋ฅผ ์ˆ˜๋™์œผ๋กœ ๊ตฌ์„ฑํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. 
8(๋น„ํŠธ 3) - NVIDIA ์„ค์ •์—์„œ PowerMizer ํŽ˜์ด์ง€์—์„œ ์˜ค๋ฒ„ํด๋Ÿญ์„ ํ™œ์„ฑํ™”ํ•ฉ๋‹ˆ๋‹ค. ํŽ˜๋ฅด๋ฏธ ์•„ํ‚คํ…์ฒ˜ ์ด์ƒ ๋ฒ„์ „ 337.12๋ถ€ํ„ฐ ์‚ฌ์šฉ ๊ฐ€๋Šฅํ•ฉ๋‹ˆ๋‹ค.
16(๋น„ํŠธ 4) - ์—”๋น„๋””์•„ ์„ค์ • CLI ์˜ต์…˜์„ ์‚ฌ์šฉํ•˜์—ฌ ๊ณผ์ „์••์„ ํ™œ์„ฑํ™”ํ•ฉ๋‹ˆ๋‹ค. ํŽ˜๋ฅด๋ฏธ ์•„ํ‚คํ…์ฒ˜ ์ด์ƒ ๋ฒ„์ „ 346.16๋ถ€ํ„ฐ ์‚ฌ์šฉ ๊ฐ€๋Šฅํ•ฉ๋‹ˆ๋‹ค.

์—ฌ๋Ÿฌ ๊ธฐ๋Šฅ์„ ํ™œ์„ฑํ™”ํ•˜๋ ค๋ฉด Coolbits ๊ฐ’์„ ํ•จ๊ป˜ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค. ์˜ˆ๋ฅผ ๋“ค์–ด, ํŽ˜๋ฅด๋ฏธ ์ฝ”์–ด์˜ ์˜ค๋ฒ„ํด๋Ÿญ ๋ฐ ๊ณผ์ „์••์„ ํ™œ์„ฑํ™”ํ•˜๋ ค๋ฉด ์˜ต์…˜ "์ฟจ๋น„ํŠธ"๋ฅผ "24"๋กœ ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค. ๋ณธ ํฌ์ŠคํŒ…์—์„œ๋Š” ๋ชจ๋“  ์˜ต์…˜์„ ํ™œ์„ฑํ™”ํ•˜๋Š” "28"์„ ์•Œ๋ ค๋“œ๋ ธ์ฃ .

Coolbits ์„ค๋ช…์„œ๋Š” /usr/share/doc/nvidia/html/xconfigoptions.html ์—์„œ ์ฐพ์„ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.


์„ค๋ช…์ด ์ดํ•ด๊ฐ€ ์ž˜ ์•ˆ๊ฐ€์‹ ๋‹ค๋ฉด ์ œ ํ™˜๊ฒฝ ์„ค์ • ํŒŒ์ผ์„ ์ฐธ๊ณ ํ•˜์‹œ๊ธธ ๋ฐ”๋ž๋‹ˆ๋‹ค.

/etc/X11/xorg.conf

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 460.56
 

Section "ServerLayout"

    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" RightOf "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"

EndSection

Section "Files"

EndSection

Section "InputDevice"

    # generated from default

    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"

EndSection

Section "InputDevice"

    # generated from default

    Identifier     "Keyboard0"
    Driver         "kbd"

EndSection

Section "Monitor"

    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    Option         "DPMS"

EndSection

Section "Monitor"

    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "Unknown"
    Option         "DPMS"

EndSection

Section "Device"

    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce RTX 3090"
    BusID          "PCI:1:0:0"

EndSection

Section "Device"

    Identifier     "Device1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce RTX 3090"
    BusID          "PCI:2:0:0"

EndSection

Section "Screen"

    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Coolbits" "28"
    SubSection     "Display"
        Depth       24
    EndSubSection

EndSection

Section "Screen"

    Identifier     "Screen1"
    Device         "Device1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "Coolbits" "28"
    SubSection     "Display"
        Depth       24
    EndSubSection

EndSection




๋ฐ˜์‘ํ˜•

๋Œ“๊ธ€