[Bug 271548] Alder lake CPU not running at full speed

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 21 May 2023 06:46:36 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271548

            Bug ID: 271548
           Summary: Alder lake CPU not running at full speed
           Product: Base System
           Version: 13.2-STABLE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: k@vodka.home.kg

Looks like FreeBSD 13.2 does not correctly manages core MHz on alder lake CPUs
and does not support turbo boost.
I have core i7 12700K.
Noticed that openssl speed -evp aes-128-cbc performs 30% slower than on linux
and windows.

# sysctl dev.cpu.0.freq
dev.cpu.0.freq: 498
# sysctl dev.cpu.0.freq_levels
dev.cpu.0.freq_levels: 3609/-1
# sysctl dev.cpu.0.freq=3609
dev.cpu.0.freq: 498 -> 2905

Strange results from freq_levels. It cant even set 3.6 Ghz (normal freq without
turbo boost)

-- 
You are receiving this mail because:
You are the assignee for the bug.