added documentation about the dynamic scale frequency for icelake

This commit is contained in:
Guillaume Raffy 2023-03-13 16:06:09 +01:00
parent 1e93d89169
commit f7bd26e825
1 changed files with 1 additions and 1 deletions

View File

@ -385,7 +385,7 @@ class Config():
xeon_6248_avx512_base_freq = 1600.0 # https://en.wikichip.org/wiki/intel/xeon_gold/6248 xeon_6248_avx512_base_freq = 1600.0 # https://en.wikichip.org/wiki/intel/xeon_gold/6248
dynamic_frequency_scaling = xeon_6248_avx512_base_freq / xeon_6248_base_freq dynamic_frequency_scaling = xeon_6248_avx512_base_freq / xeon_6248_base_freq
elif self.cpu.architecture == 'icelake': elif self.cpu.architecture == 'icelake':
dynamic_frequency_scaling = 0.9 dynamic_frequency_scaling = 0.9 # 0.9 is a guesstimate based on a web page that I found in january 2023 (I can't find it anymore) which showed that the frequence was less lowered on ice lake... if we could find actual figures, it would be great
cpu_clock_when_computing = self.cpu.clock * dynamic_frequency_scaling cpu_clock_when_computing = self.cpu.clock * dynamic_frequency_scaling
flops = self.cpu.num_dp_flop_per_cycle * cpu_clock_when_computing * 1.e9 * self.cpu.num_cores * self.num_cpu_per_server * self.num_servers flops = self.cpu.num_dp_flop_per_cycle * cpu_clock_when_computing * 1.e9 * self.cpu.num_cores * self.num_cpu_per_server * self.num_servers
return flops return flops