AMD protsessor
Allikas: Imre kasutab arvutit
Mine navigeerimisribaleMine otsikasti
Sissejuhatus
TODO
Mõisted
TODO
AMD protsessorid
TODO
Süsteemi protsessori omaduste muutmine
Protsessorite arv
root@pwrk-02:~# lscpu Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Address sizes: 52 bits physical, 57 bits virtual Byte Order: Little Endian CPU(s): 4 On-line CPU(s) list: 0,1 Off-line CPU(s) list: 2,3 Vendor ID: AuthenticAMD BIOS Vendor ID: QEMU Model name: AMD Ryzen Threadripper PRO 7965WX 24-Cores BIOS Model name: pc-q35-10.0 CPU @ 2.0GHz BIOS CPU family: 1 CPU family: 25 Model: 24 ...
kus
- On-line CPU(s) list: 0,1
- Off-line CPU(s) list: 2,3
muudatuse tegemiseks sobib öelda
root@pwrk-02:~# echo 0 > /sys/devices/system/cpu/cpu3/online root@pwrk-02:~# echo 0 > /sys/devices/system/cpu/cpu2/online # dmesg -T ... [Sat Oct 11 14:39:56 2025] smpboot: CPU 3 is now offline [Sat Oct 11 14:40:00 2025] smpboot: CPU 2 is now offline
Tagasi lülitamiseks
root@pwrk-02:~# echo 1 > /sys/devices/system/cpu/cpu2/online root@pwrk-02:~# echo 1 > /sys/devices/system/cpu/cpu3/online # dmesg -T ... [Sat Oct 11 14:42:33 2025] smpboot: Booting Node 0 Processor 2 APIC 0x2 [Sat Oct 11 14:42:39 2025] smpboot: Booting Node 0 Processor 3 APIC 0x3
Muudatus kajastub samuti nt systool väljundis
root@pwrk-02:~# systool -b cpu -v | grep -v ^MODA Bus = "cpu" Device = "cpu0" Device path = "/sys/devices/system/cpu/cpu0" crash_notes_size = "368" crash_notes = "277c3e400" uevent = "DRIVER=processor " Device = "cpu1" Device path = "/sys/devices/system/cpu/cpu1" crash_notes_size = "368" crash_notes = "277cbe400" online = "1" uevent = "DRIVER=processor " Device = "cpu2" Device path = "/sys/devices/system/cpu/cpu2" crash_notes_size = "368" crash_notes = "277d3e400" online = "1" uevent = "DRIVER=processor " Device = "cpu3" Device path = "/sys/devices/system/cpu/cpu3" crash_notes_size = "368" crash_notes = "277dbe400" online = "1" uevent = "DRIVER=processor "
Kiirus (sagedus)
Protsessori omaduste vaatlemine
root@pve-svc-02:~# turbostat turbostat version 2022.10.04 - Len Brown <lenb@kernel.org> Kernel command line: initrd=\EFI\proxmox\6.8.12-11-pve\initrd.img-6.8.12-11-pve root=ZFS=rpool/ROOT/pve-1 boot=zfs CPUID(0): AuthenticAMD 0x10 CPUID levels CPUID(1): family:model:stepping 0x19:50:0 (25:80:0) microcode 0x0 CPUID(0x80000000): max_extended_levels: 0x80000023 CPUID(1): SSE3 MONITOR - - - TSC MSR - HT - CPUID(6): APERF, No-TURBO, No-DTS, No-PTM, No-HWP, No-HWPnotify, No-HWPwindow, No-HWPepp, No-HWPpkg, No-EPB CPUID(7): No-SGX No-Hybrid RAPL: 234 sec. Joule Counter Range, at 280 Watts /dev/cpu_dma_latency: 2000000000 usec (default) current_driver: acpi_idle current_governor: menu current_governor_ro: menu cpu9: POLL: CPUIDLE CORE POLL IDLE cpu9: C1: ACPI FFH MWAIT 0x0 cpu9: C2: ACPI IOPORT 0x414 cpu9: C3: ACPI IOPORT 0x415 cpu9: cpufreq driver: amd-pstate-epp cpu9: cpufreq governor: powersave cpu0: MSR_RAPL_PWR_UNIT: 0x000a1003 (0.125000 Watts, 0.000015 Joules, 0.000977 sec.) Core CPU Avg_MHz Busy% Bzy_MHz TSC_MHz IPC IRQ POLL C1 C2 C3 POLL% C1% C2% C3% CorWatt PkgWatt - - 10 0.35 2944 3593 0.71 2318 0 248 494 1334 0.00 0.13 0.66 98.87 0.12 4.66 0 0 35 1.18 2944 3593 0.81 417 0 34 136 202 0.00 0.21 1.70 96.95 0.04 4.66 0 6 8 0.27 2944 3593 0.36 217 0 12 31 149 0.00 0.17 0.28 99.30 1 1 5 0.18 2944 3593 0.46 173 0 1 17 137 0.00 0.02 0.24 99.57 0.02 1 7 11 0.37 2944 3593 0.83 214 0 89 55 50 0.00 0.13 0.43 99.08 2 2 20 0.69 2944 3593 0.72 251 0 17 53 155 0.00 0.16 0.69 98.45 0.03 2 8 6 0.19 2944 3593 0.34 199 0 28 22 136 0.00 0.48 0.25 99.10 3 3 14 0.47 2944 3593 0.90 170 0 1 46 90 0.00 0.00 3.25 96.29 0.01 3 9 5 0.18 2944 3593 0.34 176 0 34 24 106 0.00 0.03 0.30 99.51 4 4 9 0.32 2944 3593 0.85 193 0 11 28 119 0.00 0.16 0.24 99.30 0.01 4 10 1 0.04 2943 3593 0.34 97 0 6 60 28 0.00 0.10 0.37 99.49 5 5 8 0.28 2944 3593 0.77 158 0 15 19 114 0.00 0.05 0.20 99.49 0.01 5 11 2 0.06 2944 3593 0.60 53 0 0 3 48 0.00 0.00 0.01 99.94 ..
kus
- TODO