Skip to content

Conversation

@quic-calvnguy
Copy link
Contributor

Description

Create new class to handle HTP power config updates
Only update if there are changes to power config settings
On dynamic htp perf mode updates, disable DSPQ polling if perf mode is not burst

Motivation and Context

Currently, if a session has set the performance mode to burst then changed the performance mode to anything else, DSPQ polling will be enabled and never disabled. This change is to allow disabling of DSPQ polling when the performance mode is not burst, even on updates.

 - Remove PerThreadContext (Only used for id management)
 - Create ManagedHtpPowerConfigId to manage destruction of id
 - Only create one htp power config id per session
@quic-calvnguy quic-calvnguy force-pushed the dev/cavnguy/dsp_polling_shp branch from eb36894 to 3466984 Compare November 3, 2025 23:58
@quic-calvnguy quic-calvnguy force-pushed the dev/cavnguy/dsp_polling_shp branch from 73c1590 to 1cc8bbc Compare November 4, 2025 22:49
@quic-calvnguy
Copy link
Contributor Author

This PR is based on another PR:
#26457

The reason for this is that PR 26457 removes per-thread HTP power config ids and creates these ids on a per-session basis. Implementing this PR's changes without PR 26457's changes would require unnecessary work that would otherwise be removed by PR 26457 anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant