728x90
Intel CPU 클럭 속도와 조정 방법
CPU 클럭 속도는 시스템의 성능과 전력 소비를 결정짓는 중요한 요소입니다. Rocky Linux 8.10에서 Intel CPU의 클럭 속도 정보를 확인하고, 클럭 속도를 조정하는 방법을 알아보겠습니다. 이 글은 서버 및 데스크탑 환경에서 CPU 성능을 최적화하려는 사용자를 위한 가이드입니다.
1. CPU 클럭 속도 확인
1.1 lscpu 명령어 사용
- 아래 스펙 중 CPU MHz : 3900.000 , CPU max MHz : 3900.0000 , CPU min MHz : 800.0000 에 정보가 출력된다.
- CPU MHz: 현재 클럭 속도
- CPU max MHz: 최대 클럭 속도
- CPU min MHz: 최소 클럭 속도
# lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Thread(s) per core: 1
Core(s) per socket: 4
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
BIOS Vendor ID: Intel
CPU family: 6
Model: 60
Model name: Intel(R) Core(TM) i5-4690 CPU @ 3.50GHz
BIOS Model name: Intel(R) Core(TM) i5-4690 CPU @ 3.50GHz
Stepping: 3
CPU MHz: 3900.000
CPU max MHz: 3900.0000
CPU min MHz: 800.0000
BogoMIPS: 6984.06
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 6144K
NUMA node0 CPU(s): 0-3
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm cpuid_fault invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt dtherm ida arat pln pts md_clear flush_l1d
1.2 /proc/cpuinfo 파일 확인
# grep -i "MHz" /proc/cpuinfo
cpu MHz : 3483.384
cpu MHz : 3900.000
cpu MHz : 3900.000
cpu MHz : 3900.000
1.3 cpupower 유틸리티 사용
# cpupower frequency-info
analyzing CPU 0:
driver: intel_cpufreq
CPUs which run at the same hardware frequency: 0
CPUs which need to have their frequency coordinated by software: 0
maximum transition latency: 20.0 us
hardware limits: 800 MHz - 3.90 GHz
available cpufreq governors: conservative ondemand userspace powersave performance schedutil
current policy: frequency should be within 3.90 GHz and 3.90 GHz.
The governor "performance" may decide which speed to use
within this range.
current CPU frequency: Unable to call hardware
current CPU frequency: 3.49 GHz (asserted by call to kernel)
boost state support:
Supported: yes
Active: yes
2. CPU 클럭 조정
CPU 클럭 속도를 조정하려면 CPU 주파수 스케일링 및 파워 관리 설정을 변경해야 합니다.
2.1 CPU 주파수 스케일링 드라이버 확인
# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver
intel_cpufreq
2.2 CPU 주파수 조정 모드 변경
- performance : 최대 성능 모드
- powersave : 전력 절약 모드
# cpupower frequency-set -g performance
Setting cpu: 0
Setting cpu: 1
Setting cpu: 2
Setting cpu: 3
# cpupower frequency-set -g powersave
Setting cpu: 0
Setting cpu: 1
Setting cpu: 2
Setting cpu: 3
2.3 최대 및 최소 클럭 속도 설정
- 최대 클럭 속도 설정
# cpupower frequency-set -u 3.8GHz
Setting cpu: 0
Setting cpu: 1
Setting cpu: 2
Setting cpu: 3
- 최소 클럭 속도 설정
# cpupower frequency-set -d 3.0GHz
Setting cpu: 0
Setting cpu: 1
Setting cpu: 2
Setting cpu: 3
3. CPU 클럭 관련 시스템 서비스
3.1 cpupower 서비스 활성화
# systemctl enable cpupower
Created symlink /etc/systemd/system/multi-user.target.wants/cpupower.service → /usr/lib/systemd/system/cpupower.service.
# systemctl start cpupower.service
4. 추가 도구 및 팁
4.1 CPU 온도 모니터링
# sudo dnf install lm_sensors
# sensors
coretemp-isa-0000
Adapter: ISA adapter
Package id 0: +64.0°C (high = +80.0°C, crit = +100.0°C)
Core 0: +64.0°C (high = +80.0°C, crit = +100.0°C)
Core 1: +64.0°C (high = +80.0°C, crit = +100.0°C)
Core 2: +62.0°C (high = +80.0°C, crit = +100.0°C)
Core 3: +64.0°C (high = +80.0°C, crit = +100.0°C)
'Hardware' 카테고리의 다른 글
[HPE] HPE 서버 IPMI 비밀번호 초기화 (0) | 2025.02.22 |
---|---|
[Hardware]물리 메모리와 가상 메모리 (0) | 2025.01.30 |
[Hardware]실제 사이트에서 유의해야 할 네트워크 설정 (0) | 2024.12.20 |
[hardware]서버 냉각 방식 (0) | 2024.11.20 |
[Hardware] 실제 서버 마운트 풀 때 유의사항(참고)(lsof) (0) | 2024.10.08 |