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

scx_bpfland, scx_lavd: Improve help info a bit #543

Merged
merged 2 commits into from
Aug 24, 2024

Conversation

anh0516
Copy link
Contributor

@anh0516 anh0516 commented Aug 23, 2024

I wanted to do some work improving the end-user documentation, as I noticed some random typos and other things that were worded a little unclearly or just not explained at all.

I made some minor grammatical changes to scx_bpfland, and I added explanations to scx_lavd that were poorly explained or missing entirely; for example, that the power mode options control the defaults for the four scheduling controls wasn't explained anywhere, and I only learned that by paging through the Rust code, or using the correct terminology "SMT sibling" rather than "logical core."

In a perfect world, the documentation for every scheduler should be formatted exactly the same, and the information useful to end users shouldn't just be embedded in the source code. While an experienced sysadmin might not mind, it is a barrier of entry for, say, a gamer who is interested in tuning scx to their needs and has installed prebuilt schedulers from their distro's repos (I think only CachyOS packages them right now, but that will likely change in the future.) This is just a small start.

I'll probably do some more work when I have the time.

A lot of scx_lavd's options do not clearly explain what they do. Add
some short explanations, clean up the existing ones, and direct the user
to read the in-code documentation for more info.
Copy link
Contributor

@arighi arighi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice cleanups, thanks for this

@htejun htejun merged commit e238e01 into sched-ext:main Aug 24, 2024
2 checks passed
htejun added a commit that referenced this pull request Aug 24, 2024
scx_lavd: Fix my own formatting error in #543 scx_rusty: help info and README cleanup
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.

3 participants