-
Notifications
You must be signed in to change notification settings - Fork 96
doc: Add requirements for sequential cutoff #699
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
base: master
Are you sure you want to change the base?
Conversation
0a58db8 to
aa34d5b
Compare
aa34d5b to
69a655a
Compare
69a655a to
1e19b5e
Compare
1e19b5e to
ba5e059
Compare
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
ba5e059 to
335f830
Compare
| id: operation | ||
| --- | ||
|
|
||
| The sequential cutoff shall detect streams of sequential IO requests. |
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 looks like a bad requirement - impossible do verify
| --- | ||
|
|
||
| When lenght of the stream reaches the cutoff threshold, each next IO request | ||
| which continues the stream and is not full dirty hit shall be handled |
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.
*fully
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.
You are not mentioning the fact, that sequential cutoff needs to be armed (you called it "enabled" in "policy_full").
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 think it would make sense to split this requirement into three, describing cutoff behaviour for all the policies. "full" and "always" would be extension of this requirement, adding the condition for cutoff triggering in case of "full". This way the requirement would be subject to verification.
| When number of IO requests accounted to given per-CPU stream reaches | ||
| the promotion count or stream length reaches the threshold, the stream | ||
| shall be promoted to shared stream pool. |
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 also is not verfiable - better to state that after reaching promotion threshold the other CPUs will recognize a stream initiated on its origin CPU
Signed-off-by: Robert Baldyga robert.baldyga@intel.com