lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <8d859cb0-0646-4f52-b060-3816d689aade@secunet.com>
Date:   Fri, 17 May 2019 12:24:11 +0200
From:   Dennis Wassenberg <dennis.wassenberg@...unet.com>
To:     Kernel development list <linux-kernel@...r.kernel.org>,
        <linux-pm@...r.kernel.org>
Subject: Question regarding intel_pstate in case of disabled smt

Hi all,

I would like to ask a question regarding cpu frequency scaling / cpu performance using intel_pstate with activated HWP.
I think the special CPU doesn't matter. I checked it with i7-8550U and i7-8565U. Currently I am not sure if this is a
bug. Thats why I am asking...

Using intel_pstate default settings (min_perf_pct=10, max_perf_pct=100, no_turbo=0) everything behaves as expected. If I
change max_perf_pct and/or no_turbo i can observe that the cpu frequency doesn't increase that much compared to the
default settings under load.

But if I disable smt, the settings of the pstate driver does not seem to change anything. If I set no_turbo and/or
max_perf_pct to a lower value than 100 I can not notice that there is a change at the cpu frequency scaling. For
example: If I set min_perf_pct=max_perf_pct=5 the cpu frequency of the 4 online cpus will be above 4 GHz in case of smt
is disabled. If smt is enabled the cpu frequency of the 8 cpus is 400 MHz. The same occurred if I disable turbo by
setting no_turbo to 1. If smt is disbaled the frequency will be above 4 GHz in load situations. If smt is enabled the
cpu frequency is 1,80 GHz.

If I use intel_pstate with disabled HWP it behaves the same if smt is enabled or disabled. So, it makes no difference if
smt is enabled or disabled . The cpu frequency will adapt exactly to the configured settings.

So, is this intended that HWP does not consider the pstate settings if smt is disabled?

Thank you & best regards,

Dennis

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ