-
Notifications
You must be signed in to change notification settings - Fork 596
Use rt instead of realtime #606
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
Conversation
I don't have strong opinion on this, rt is widely used as present of realtime, it makes the name shorter and cleaner. And this is also the naming method which Linux kernel use. We can consider this before 1.0 when we still have chance. Signed-off-by: Qiang Huang <[email protected]>
config-linux.md
Outdated
| * **`period`** *(uint64, OPTIONAL)* - specifies a period of time in microseconds for how regularly a cgroup's access to CPU resources should be reallocated (CFS scheduler only). | ||
|
|
||
| * **`realtimeRuntime`** *(uint64, OPTIONAL)* - specifies a period of time in microseconds for the longest continuous period in which the tasks in a cgroup have access to CPU resources | ||
| * **`rtRuntime`** *(uint64, OPTIONAL)* - specifies a period of time in microseconds for the longest continuous period in which the tasks in a cgroup have access to CPU resources. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should mention the realtime scheduler as with rtPeriod.
config-linux.md
Outdated
| * **`rtRuntime`** *(uint64, OPTIONAL)* - specifies a period of time in microseconds for the longest continuous period in which the tasks in a cgroup have access to CPU resources. | ||
|
|
||
| * **`realtimePeriod`** *(uint64, OPTIONAL)* - same as **`period`** but applies to realtime scheduler only | ||
| * **`rtPeriod`** *(uint64, OPTIONAL)* - same as **`period`** but applies to realtime scheduler only. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm fine with the change, but I'd prefer if we wrote realtime (RT) scheduler to make it clear where rt comes from.
|
@cyphar Updated, thanks. |
|
I'm somewhere between neutral and -1 on this change -- IMO, the verbose name is more immediately obvious, but I don't feel strongly enough to block the PR if other maintainers disagree 👍 |
|
OK, let's keep it as it is, thanks guys. |
I don't have strong opinion on this,
rtis widely usedas present of
realtime, it makes the name shorter andcleaner. And this is also the naming method which Linux
kernel use.
We can consider this before 1.0 when we still have chance.
Signed-off-by: Qiang Huang [email protected]