Skip to content

Conversation

@sandy-8925
Copy link

Currently throttled assumes all CPUs are enabled, and if any CPUs are disabled using chcpu, then throttled Python script crashes with an exception.

This PR fixes this problem by checking which CPUs are enabled (disabled CPUs don't show up under /dev/cpu) and then only attempting to write MSR for those.

@kennysgithub
Copy link

Thanks for this. I'm trying the Energy-Model schduler, so have to use nosmt which means several cores are "missing"

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.

2 participants