intel / intel-lpmd

GNU General Public License v2.0
108 stars 10 forks source link

intel_lpmd[4038]: Open /proc/sys/kernel/sched_itmt_enabled failed in 6.12 kernel #71

Open user7z opened 4 days ago

user7z commented 4 days ago

● intel_lpmd.service - Intel Linux Energy Optimizer (lpmd) Service Loaded: loaded (/usr/lib/systemd/system/intel_lpmd.service; enabled; preset: disabled) Active: active (running) since Mon 2024-11-25 13:17:11 +01; 12s ago Invocation: c820f3ea5eb845c999bab3eeef8a988b Main PID: 4038 (intel_lpmd) Tasks: 6 (limit: 38001) Memory: 1.2M (peak: 2.7M) CPU: 28ms CGroup: /system.slice/intel_lpmd.service └─4038 /usr/bin/intel_lpmd --systemd --dbus-enable

Nov 25 13:17:11 lp systemd[1]: Starting Intel Linux Energy Optimizer (lpmd) Service... Nov 25 13:17:11 lp intel_lpmd[4038]: Looking for config file /etc/intel_lpmd/intel_lpmd_config_F6_M154_T15.xml Nov 25 13:17:11 lp intel_lpmd[4038]: Looking for config file /etc/intel_lpmd/intel_lpmd_config_F6_M154.xml Nov 25 13:17:11 lp intel_lpmd[4038]: Reading configuration file /etc/intel_lpmd/intel_lpmd_config.xml Nov 25 13:17:11 lp intel_lpmd[4038]: Open /proc/sys/kernel/sched_itmt_enabled failed Nov 25 13:17:11 lp systemd[1]: Started Intel Linux Energy Optimizer (lpmd) Service.

thats error didnt showed before 6.12 kernel , & why those meteor lake configs in my alderlake platform ? even thogh i delete them , the daemon still search for them !! , is this a normal behaviour ? , what i would expect is to autodiscover the cpu in use & apply its correspounding config.

zhang-rui commented 3 days ago

Does this file "/proc/sys/kernel/sched_itmt_enabled" exist on your platform?

zhang-rui commented 3 days ago

and what platform is this?

zhang-rui commented 3 days ago

BTW, are you running lpmd with HT enabled or disabled?

user7z commented 3 days ago

@zhang-rui platform : i5-1235-U (alderlake-U) file existence : the file doesnt exist. my config: `

0 -1 0 1
    <HfiSuvEnable>1</HfiSuvEnable>
    <util_entry_threshold>15</util_entry_threshold>
    <util_exit_threshold>90</util_exit_threshold>
    <EntryDelayMS>0</EntryDelayMS>
    <ExitDelayMS>0</ExitDelayMS>
    <EntryHystMS>0</EntryHystMS>
    <ExitHystMS>0</ExitHystMS>
    <IgnoreITMT>0</IgnoreITMT>
    <States>
            <CPUFamily> 6 </CPUFamily>
            <CPUModel> 154 </CPUModel>
            <CPUConfig> 2P8E-15W </CPUConfig>
    </States>

` service log :

● intel_lpmd.service - Intel Linux Energy Optimizer (lpmd) Service Loaded: loaded (/usr/lib/systemd/system/intel_lpmd.service; enabled; preset: disabled) Active: active (running) since Tue 2024-11-26 07:27:42 +01; 16min ago Invocation: 403a0241a096448b9bbe72d005acdfb8 Main PID: 2183 (intel_lpmd) Tasks: 5 (limit: 38001) Memory: 32.2M (peak: 32.2M) CPU: 50ms CGroup: /system.slice/intel_lpmd.service └─2183 /usr/bin/intel_lpmd --systemd --dbus-enable

Nov 26 07:27:35 lp systemd[1]: Starting Intel Linux Energy Optimizer (lpmd) Service... Nov 26 07:27:35 lp intel_lpmd[2183]: Looking for config file /etc/intel_lpmd/intel_lpmd_con> Nov 26 07:27:35 lp intel_lpmd[2183]: Looking for config file /etc/intel_lpmd/intel_lpmd_con> Nov 26 07:27:35 lp intel_lpmd[2183]: Reading configuration file /etc/intel_lpmd/intellpmd> Nov 26 07:27:35 lp intel_lpmd[2183]: Open /proc/sys/kernel/sched_itmt_enabled failed Nov 26 07:27:42 lp systemd[1]: Started Intel Linux Energy Optimizer (lpmd) Service.

zhang-rui commented 3 days ago

please paste the lscpu output of this platform.

user7z commented 3 days ago

lscpu output

the PKGBUILD