Increase flow insertion rate by using rw lock instead of mutex on the flow block.
Bug #1927251 reported by
Dan Jurgens
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-bluefield (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Medium
|
Dan Jurgens |
Bug Description
SRU Justification:
Increase flow insertion rate by using rw lock instead of mutex on the flow block.
* Explain the bug(s)
Insertion rate is done in multiple threads but there is a mutex lock between looking for the flow block
which slows things down. So use a rw lock and take a read lock which is sufficient.
* brief explanation of fixes
Use a rw lock on the flow block.
* How to test
CT offload and check insertion rate of 5 tuples rules.
* What it could break.
Flow insertion rate.
CVE References
Changed in linux-bluefield (Ubuntu Focal): | |
assignee: | nobody → Dan Jurgens (danielj-mellanox) |
importance: | Undecided → Medium |
status: | New → In Progress |
Changed in linux-bluefield (Ubuntu): | |
status: | New → Invalid |
Changed in linux-bluefield (Ubuntu Focal): | |
status: | In Progress → Fix Committed |
tags: |
added: verification-done-focal removed: verification-needed-focal |
To post a comment you must log in.
This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification- needed- focal' to 'verification- done-focal' . If the problem still exists, change the tag 'verification- needed- focal' to 'verification- failed- focal'.
If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.
See https:/ /wiki.ubuntu. com/Testing/ EnableProposed for documentation how to enable and use -proposed. Thank you!