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

Request improvements #811

Merged
merged 3 commits into from
Sep 9, 2024
Merged

Request improvements #811

merged 3 commits into from
Sep 9, 2024

Conversation

mmichal10
Copy link
Contributor

No description provided.

robertbaldyga
robertbaldyga previously approved these changes Sep 6, 2024
rafalste
rafalste previously approved these changes Sep 9, 2024
Management path does not benefit much from mpools, as number of requests
allocated is very small. It's less restrictive (mngt_queue does not have
single-CPU affinity) thus avoiding mpool usage in management path allows
to introduce additional restrictions on mpool, leading to I/O performance
improvement.

Signed-off-by: Robert Baldyga <[email protected]>
Signed-off-by: Michal Mielewczyk <[email protected]>
Eliminate need to resolve cache based on the queue. This allows to share
the queue between cache instances. The queue still holds pointer to
a cache that owns the queue, but no management or io path relies on the
queue -> cache mapping.

Signed-off-by: Robert Baldyga <[email protected]>
Signed-off-by: Michal Mielewczyk <[email protected]>
This avoids unnecessary map allocation and initialization of unused fields of
request structure. It also allows to track thier number separately from
the regular requests

Signed-off-by: Robert Baldyga <[email protected]>
Signed-off-by: Michal Mielewczyk <[email protected]>
@robertbaldyga robertbaldyga merged commit 1fbb00d into Open-CAS:master Sep 9, 2024
2 checks passed
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