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

feat: add scx-scheds #1681

Merged
merged 1 commit into from
Sep 17, 2024
Merged

feat: add scx-scheds #1681

merged 1 commit into from
Sep 17, 2024

Conversation

castrojo
Copy link
Member

This adds support for scx-scheds, same package in bazzite. This will only work on fsync kernels like the one in :latest.

Running the tools on stock kernels is a noop so :stable and :gts are safe:

❯ sudo scx_bpfland 
[sudo] password for jorge: 
23:30:09 [INFO] scx_bpfland 1.0.4 x86_64-unknown-linux-gnu SMT on
Error: sched_ext_ops.dump() missing, kernel too old?

This adds support for scx-scheds, same package in bazzite. This will only work on fsync kernels like the one in `:latest`. 

Running the tools on stock kernels is a noop so we're safe there:

```
❯ sudo scx_bpfland 
[sudo] password for jorge: 
23:30:09 [INFO] scx_bpfland 1.0.4 x86_64-unknown-linux-gnu SMT on
Error: sched_ext_ops.dump() missing, kernel too old?
```
@dosubot dosubot bot added size:XS This PR changes 0-9 lines, ignoring generated files. enhancement New feature or request labels Sep 17, 2024
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Sep 17, 2024
@castrojo
Copy link
Member Author

And here it is on :latest with an fsync kernel:

❯ sudo scx_bpfland
[sudo] password for jorge: 
23:38:58 [INFO] scx_bpfland 1.0.4 x86_64-unknown-linux-gnu SMT on
23:38:58 [INFO] preferred CPU domain = 0xfff
23:38:58 [INFO] primary CPU domain = 0xfff
23:38:58 [INFO] cpufreq performance level: auto
23:38:58 [INFO] L2 cache ID 0: sibling CPUs: [0, 6]
23:38:58 [INFO] L2 cache ID 1: sibling CPUs: [1, 7]
23:38:58 [INFO] L2 cache ID 3: sibling CPUs: [3, 9]
23:38:58 [INFO] L2 cache ID 2: sibling CPUs: [2, 8]
23:38:58 [INFO] L2 cache ID 4: sibling CPUs: [4, 10]
23:38:58 [INFO] L2 cache ID 5: sibling CPUs: [5, 11]
23:38:58 [INFO] L3 cache ID 0: sibling CPUs: [0, 6, 1, 7, 2, 8, 3, 9, 4, 10, 5, 11]

@castrojo castrojo merged commit 1eb075d into main Sep 17, 2024
39 of 54 checks passed
@castrojo castrojo deleted the castrojo-patch-8 branch September 17, 2024 23:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request lgtm This PR has been approved by a maintainer size:XS This PR changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants