Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Per-core processor settings #678

Open
i-caused-y2k opened this issue Feb 21, 2023 · 1 comment
Open

Per-core processor settings #678

i-caused-y2k opened this issue Feb 21, 2023 · 1 comment
Assignees

Comments

@i-caused-y2k
Copy link

Is your feature request related to a problem? Please describe.

I use TLP to optimize the energy efficiency of VM host machines. Right now, the settings are applied across the entire topology of the CPU(s), so when it determines that "powersave" should be enabled, it does it on all cores.

This is generally fine, but I pin critical tasks like I/O to core 0, and therefore I'd like that core to run at a higher minimum state, to reduce latency.

Describe the solution you'd like

I'd like it if there were a way to omit specific cores from the processor settings (easier solution), or apply different settings for certain cores (more complex solution).

Describe alternatives you've considered

Is there the possibility run hook scripts at the events where TLP applies these changes, so I can run scripts override TLP's work on specific cores?

@linrunner
Copy link
Owner

Hi, I can imagine the simple solution with a cpu core blacklist.

The complex solution would mean that all core-related settings, i.e. CPU_SCALING_* and CPU_ENERGY_* need to be extended analogously to DISK_*. Since cpus nowadays tend to have many cores/threads, the configuration file would become confusing for users. I want to avoid this.

Are you willing to contribute a pull request?

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

No branches or pull requests

2 participants