HfiLpmEnable set to 1 prevents from entering the low power mode on i7-1260P
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 42/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- c, fedora
- Domain
- operating-systems, performance
Research direction
Start by reproducing the issue on the reported Framework 13 with the supplied XML configurations, comparing the logs after running sudo intel_lpmd_control AUTO with HfiLpmEnable set to 1 and 0. No source file or test is named; done means AUTO enters low power mode with HfiLpmEnable set to 1 without regressing the working setting.
Written by the indexing model from the issue text.
Description
I've migrated from intel_lpmd 0.0.3 to 0.0.4 and migrated most of my configuration. Unfortunately, intel_lpmd won't enter low power mode when HfiLpmEnable is set to 1. When set to 0, it intel_lpmd enters low power modes correctly.
Log for HfiLpmEnable 1 :
Jun 14 11:19:03 framework systemd[1]: Starting intel_lpmd.service - Intel Low Power Daemon Service...
Jun 14 11:19:03 framework intel_lpmd[30907]: Reading configuration file /etc/intel_lpmd/intel_lpmd_config.xml
Jun 14 11:19:03 framework systemd[1]: Started intel_lpmd.service - Intel Low Power Daemon Service.
-> after issuing sudo intel_lpmd_control AUTO, nothing happens in the logs.
Log for HfiLpmEnable 0 :
Jun 14 11:24:37 framework systemd[1]: Starting intel_lpmd.service - Intel Low Power Daemon Service...
Jun 14 11:24:37 framework intel_lpmd[32726]: Reading configuration file /etc/intel_lpmd/intel_lpmd_config.xml
Jun 14 11:24:37 framework systemd[1]: Started intel_lpmd.service - Intel Low Power Daemon Service.
Jun 14 11:24:57 framework intel_lpmd[32726]: ------ Enter Low Power Mode ( utl enter) --- Fri Jun 14 11:24:57 2024
-> after issuing sudo intel_lpmd_control AUTO, the 4th line is logged.
XML configuration (HfiLpmEnable 1):
<?xml version="1.0"?>
<Configuration>
<lp_mode_cpus></lp_mode_cpus>
<lp_mode_epp>-1</lp_mode_epp>
<Mode>0</Mode>
<PerformanceDef>0</PerformanceDef>
<BalancedDef>0</BalancedDef>
<PowersaverDef>0</PowersaverDef>
<HfiLpmEnable>1</HfiLpmEnable>
<WLTHintEnable>1</WLTHintEnable>
<HfiSuvEnable>1</HfiSuvEnable>
<util_entry_threshold>10</util_entry_threshold>
<util_exit_threshold>95</util_exit_threshold>
<EntryDelayMS>0</EntryDelayMS>
<ExitDelayMS>0</ExitDelayMS>
<EntryHystMS>2000</EntryHystMS>
<ExitHystMS>3000</ExitHystMS>
<IgnoreITMT>0</IgnoreITMT>
<States>
<CPUFamily> 6 </CPUFamily>
<CPUModel> 154 </CPUModel>
<CPUConfig> 8P8E0L-28W </CPUConfig>
<State>
<ID> 1 </ID>
<Name> LPM_DEEP </Name>
<EntrySystemLoadThres> 5 </EntrySystemLoadThres>
<EnterCPULoadThres> 50 </EnterCPULoadThres>
<EPP> -1 </EPP>
<EPB> -1 </EPB>
<ITMTState> -1 </ITMTState>
<IRQMigrate> 1 </IRQMigrate>
<ActiveCPUs>14,15</ActiveCPUs>
<MinPollInterval> 500 </MinPollInterval>
<PollIntervalIncrement> 500 </PollIntervalIncrement>
<MaxPollInterval> 2000 </MaxPollInterval>
</State>
<State>
<ID> 2 </ID>
<Name> LPM_LOW </Name>
<EntrySystemLoadThres> 10 </EntrySystemLoadThres>
<ExitSystemLoadhysteresis> 3 </ExitSystemLoadhysteresis>
<EPP> -1 </EPP>
<EPB> -1 </EPB>
<ITMTState> -1 </ITMTState>
<IRQMigrate> 1 </IRQMigrate>
<ActiveCPUs>12-15</ActiveCPUs>
<MinPollInterval> 1000 </MinPollInterval>
<PollIntervalIncrement> 1000 </PollIntervalIncrement>
<MaxPollInterval> 3000 </MaxPollInterval>
</State>
<State>
<ID> 3 </ID>
<Name> FULL_POWER </Name>
<EntrySystemLoadThres></EntrySystemLoadThres>
<EnterCPULoadThres></EnterCPULoadThres>
<EPP> -1 </EPP>
<EPB> -1 </EPB>
<ITMTState> -1 </ITMTState>
<IRQMigrate> 1 </IRQMigrate>
<ActiveCPUs>0-15</ActiveCPUs>
<MinPollInterval> 500 </MinPollInterval>
<PollIntervalIncrement> -1 </PollIntervalIncrement>
<MaxPollInterval> 2000 </MaxPollInterval>
</State>
</States>
</Configuration>
System:
Framework 13, Intel i7-1260P, Fedora 40.
- Dominant language
- C
- Stars
- 231
- Forks
- 33
- Avg merge
- 2m
- Merged PRs (30d)
- 2
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from intel/intel-lpmd
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
intel/intel-lpmd#137 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
intel/intel-lpmd#125 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
intel/intel-lpmd#139 ·
Maintainers usually reply within 1 day
-
Please don't move processes out of cgroupsPossibly taken @0x484558 claimed this 19 days ago. Open
Difficulty 5/5 Over a week Newbie friendliness 25/100
intel/intel-lpmd#128 · 15 comments ·
Maintainers usually reply within 1 day
-
Native IRQ affinity is not restored after the first cycle in multi-state configurationsPossibly taken @0x484558 claimed this 19 days ago. Open
Difficulty 3/5 1-2 days Newbie friendliness 68/100
intel/intel-lpmd#126 ·
Maintainers usually reply within 1 day
All issues in intel/intel-lpmd
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
mypaint/libmypaint#209 ·
-
[LOGO] Keenetic OSPossibly taken @Ivan-Alone claimed this today. Openlogo request
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
fastfetch-cli/fastfetch#2646 ·
Maintainers usually reply within 1 day
-
rc_runtime_activate_richpresence leaves a half-initialised entry when the buffer allocation failsOpen
Difficulty 1/5 Under an hour Newbie friendliness 88/100
RetroAchievements/rcheevos#558 ·
-
good first issue priority:low type:docs
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
crazy-goat/php-fpm-ng#920 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100