Skip to content

Conversation

@robertbaldyga
Copy link
Member

Signed-off-by: Robert Baldyga robert.baldyga@intel.com

Ostrokrzew
Ostrokrzew previously approved these changes Feb 25, 2021
@Open-CAS Open-CAS deleted a comment from Ostrokrzew Feb 25, 2021
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
id: operation
---

The sequential cutoff shall detect streams of sequential IO requests.
Copy link
Contributor

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
Copy link
Contributor

Choose a reason for hiding this comment

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

*fully

Copy link
Contributor

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").

Copy link
Contributor

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.

Comment on lines +206 to +208
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.
Copy link
Contributor

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

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