Skip to content

Conversation

@hqhq
Copy link
Contributor

@hqhq hqhq commented Nov 2, 2016

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]

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.
Copy link
Member

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.
Copy link
Member

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.

@hqhq
Copy link
Contributor Author

hqhq commented Nov 2, 2016

@cyphar Updated, thanks.

@tianon
Copy link
Member

tianon commented Nov 4, 2016

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 👍

@mrunalp
Copy link
Contributor

mrunalp commented Nov 10, 2016

LGTM

Approved with PullApprove

@RobDolinMS
Copy link
Collaborator

I agree with @tianon that the verbose "realtime" is better than "rt"

"rt" could be confused with "runtime" (or possibly more obscurely, "retry"))

/cc @mrunalp

@hqhq
Copy link
Contributor Author

hqhq commented Dec 20, 2016

OK, let's keep it as it is, thanks guys.

@hqhq hqhq closed this Dec 20, 2016
@hqhq hqhq deleted the use_rt_instead branch December 20, 2016 01:21
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.

5 participants