AMD protsessor: erinevus redaktsioonide vahel
Allikas: Imre kasutab arvutit
Mine navigeerimisribaleMine otsikasti
(Uus lehekülg: '===Sissejuhatus=== TODO ===Mõisted=== TODO ===AMD protsessorid=== TODO ===Kasulikud materjalid=== * http://en.wikipedia.org/wiki/Advanced_Micro_Devices * Intel protsessor * Generic protsessor * http://www.anandtech.com/show/5058/amds-opteron-interlagos-6200') |
Resümee puudub |
||
1. rida: | 1. rida: | ||
− | ===Sissejuhatus=== |
+ | |===Sissejuhatus=== |
TODO |
TODO |
||
11. rida: | 11. rida: | ||
TODO |
TODO |
||
+ | ===Süsteemi protsessori omaduste muutmine=== |
||
+ | |||
+ | ====Protsessorite arv==== |
||
+ | |||
+ | <pre> |
||
+ | 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 |
||
+ | ... |
||
+ | </pre> |
||
+ | |||
+ | kus |
||
+ | |||
+ | * On-line CPU(s) list: 0,1 |
||
+ | * Off-line CPU(s) list: 2,3 |
||
+ | |||
+ | muudatuse tegemiseks sobib öelda |
||
+ | |||
+ | <pre> |
||
+ | 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 |
||
+ | </pre> |
||
+ | |||
+ | Tagasi lülitamiseks |
||
+ | |||
+ | <pre> |
||
+ | 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 |
||
+ | </pre> |
||
===Kasulikud materjalid=== |
===Kasulikud materjalid=== |
||
Redaktsioon: 11. oktoober 2025, kell 17:44
|===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