######################
# A 서버
######################
[root@localhost ~]# lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 32
On-line CPU(s) list: 0-31
Thread(s) per core: 2
Core(s) per socket: 8
Socket(s): 2
NUMA node(s): 2
Vendor ID: GenuineIntel
CPU family: 6
Model: 45
Model name: Intel(R) Xeon(R) CPU E5-2670 0 @ 2.60GHz
Stepping: 7
CPU MHz: 2600.000
CPU max MHz: 2600.0000
CPU min MHz: 1200.0000
BogoMIPS: 5187.55
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 20480K
NUMA node0 CPU(s): 0-7,16-23
NUMA node1 CPU(s): 8-15,24-31
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 aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm epb ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid xsaveopt dtherm ida arat pln pts md_clear spec_ctrl intel_stibp flush_l1d
[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]# cpupower frequency-info
analyzing CPU 0:
driver: pcc-cpufreq
CPUs which run at the same hardware frequency: 0
CPUs which need to have their frequency coordinated by software: 0
maximum transition latency: Cannot determine or is not supported.
hardware limits: 1.20 GHz - 2.60 GHz
available cpufreq governors: conservative userspace powersave ondemand performance
current policy: frequency should be within 1.20 GHz and 2.60 GHz.
The governor "performance" may decide which speed to use
within this range.
current CPU frequency: Unable to call hardware
current CPU frequency: 2.60 GHz (asserted by call to kernel)
boost state support:
Supported: yes
Active: yes
3200 MHz max turbo 4 active cores
3200 MHz max turbo 3 active cores
3300 MHz max turbo 2 active cores
3300 MHz max turbo 1 active cores
######################
# B 서버
######################
[root@localhost ~]# lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 32
On-line CPU(s) list: 0-31
Thread(s) per core: 2
Core(s) per socket: 8
Socket(s): 2
NUMA node(s): 2
Vendor ID: GenuineIntel
CPU family: 6
Model: 45
Model name: Intel(R) Xeon(R) CPU E5-2670 0 @ 2.60GHz
Stepping: 7
CPU MHz: 1199.865
CPU max MHz: 3300.0000
CPU min MHz: 1200.0000
BogoMIPS: 5200.16
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 20480K
NUMA node0 CPU(s): 0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30
NUMA node1 CPU(s): 1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31
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 aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid xsaveopt dtherm ida arat pln pts md_clear spec_ctrl intel_stibp flush_l1d
[root@localhost ~]# cpupower frequency-info
analyzing CPU 0:
driver: intel_pstate
CPUs which run at the same hardware frequency: 0
CPUs which need to have their frequency coordinated by software: 0
maximum transition latency: Cannot determine or is not supported.
hardware limits: 1.20 GHz - 3.30 GHz
available cpufreq governors: performance powersave
current policy: frequency should be within 1.20 GHz and 3.30 GHz.
The governor "performance" may decide which speed to use
within this range.
current CPU frequency: 1.20 GHz (asserted by call to hardware)
boost state support:
Supported: yes
Active: yes
3200 MHz max turbo 4 active cores
3200 MHz max turbo 3 active cores
3300 MHz max turbo 2 active cores
3300 MHz max turbo 1 active cores
A 서버는 HP DL360 G8 / B 서버는 R620 입니다
cpupower frequency-set -g performance 로 MAX cpu 클럭에 맞추려고 하는데 두대 서버가 같은 CPU 인데 제가 뭔가 설정을 잘못했나봅니다
왜?
A 서버는 CPU max MHz: 2600.0000 밖에 안나오고 MAX는 고정되어지고
B 서버는 CPU max MHz: 3300.0000 까지 표시되는데 MAX cpu 클럭에 맞춰지 않을까요?
서로 드라이버 정보가 다르던데 메인보드 사양 때문일 까요?
A서버 driver: pcc-cpufreq , B서버 driver: intel_pstate
OS 는 둘다 CentOS Linux release 7.9.2009 (Core) 입니다
조언 부탁드립니다.
미리 답변에 감사드립니다.~
그렇다면 cpu 유휴상태에 따라서 cpupower frequency-info 중에 hardware limits: 1.20 GHz - 2.60 GHz , current policy: frequency should be within 1.20 GHz and 2.60 GHz. 등도 바뀌게 될까요?
답변 감사드립니다
CPU가 얼마나 부하를 받느냐에 따라서 클럭이 계속 변합니다..
https://rhyshan.com/m/550?category=469964
윈도우즈라면 HWMonitor 라는 프로그램 설치하면 코어단위로 클럭변화 전압변화 온도변화를 거의 실시간 급으로 모니터링 가능합니다..
2. 메인보드가 같더라도 바이오스 버전과 세팅도 같아야 합니다^^
둘 다 아예 똑같게 동작하게는 못 만들겁니다..
그리고 부하 상태에 따라 CPU 속도가 변합니다..
코어로드율/온도/전력소모에 따라 유동적입니다.
보통 최대터보클럭은 굉장히 적은 코어만 사용시에 전력을 그 소수의 코어에 몰아줘서 달성되는 클럭입니다.
이 수치는 사용되는 코어수에 따라 점점 낮아지는데
일례로 E5 2699v4의 경우
22코어/44쓰레드에 기본 2.2ghz/최대터보 3.6ghz이고
14/14/12/11/10/9/8/7/6/6/6/6/6/6/6/6/6/6/6/6/6/6
의 터보수치를 가집니다.
첫번째와 두번째의14가 의미하는건 2코어 사용까진 기본클럭+14의 터보클럭(=최대클럭인 3.6ghz)이 적용된다는 것이고
세번째의 12는 3코어 사용까지는 +12로 터보클럭 3.4ghz
네번째의 11은 4코어 사용까지는 +11로 터보클럭 3.3ghz
9코어사용부터 22코어사용까지는 +6으로 터보클럭 2.8ghz
로 적용된다는 겁니다
따라서 e5 2699v4를 100% 풀로드시의 올코어터보 클럭은 2.8ghz가 되겠네요.
이는 신형 스케일러블에 와서는 더 복잡해지는데 사용하는 명령어에 따라 이 수치가 또 다르게 적용됩니다.
https://access.redhat.com/documentation/ko-kr/red_hat_enterprise_linux/6/html/power_management_guide/tuning_cpufreq_policy_and_speed