-
Notifications
You must be signed in to change notification settings - Fork 5
General enhancements to rqspinlock stress test #6414
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
General enhancements to rqspinlock stress test #6414
Conversation
|
Upstream branch: 590699d |
9b3817c to
90dfd48
Compare
|
Upstream branch: f2cb066 |
5188291 to
260c0b5
Compare
90dfd48 to
1559a3a
Compare
|
Upstream branch: 8c868a3 |
260c0b5 to
d7fdb60
Compare
1559a3a to
ae9b520
Compare
Only require 2 CPUs for AA, 3 for ABBA, 4 for ABBCCA, which is calculated nicely by adding to the mode enum. Enables running single CPU AA tests. Signed-off-by: Kumar Kartikeya Dwivedi <[email protected]>
|
Upstream branch: 8f6ddc0 |
Add statistics per-CPU broken down by context and various timing windows for the time taken to acquire an rqspinlock. Cases where all acquisitions fit into the 10ms window are skipped from printing, otherwise the full breakdown is displayed when printing the summary. This allows capturing precisely the number of times outlier attempts happened for a given lock in a given context. A critical detail is that time is captured regardless of success or failure, which is important to capture events for failed but long waiting timeout attempts. Output: [ 64.279459] rqspinlock acquisition latency histogram (ms): [ 64.279472] cpu1: total 528426 (normal 526559, nmi 1867) [ 64.279477] 0-1ms: total 524697 (normal 524697, nmi 0) [ 64.279480] 2-2ms: total 3652 (normal 1811, nmi 1841) [ 64.279482] 3-3ms: total 66 (normal 47, nmi 19) [ 64.279485] 4-4ms: total 2 (normal 1, nmi 1) [ 64.279487] 5-5ms: total 1 (normal 1, nmi 0) [ 64.279489] 6-6ms: total 1 (normal 0, nmi 1) [ 64.279490] 101-150ms: total 1 (normal 0, nmi 1) [ 64.279492] >= 251ms: total 6 (normal 2, nmi 4) ... Signed-off-by: Kumar Kartikeya Dwivedi <[email protected]>
Allow users to configure the critical section delay for both task/normal and NMI contexts, and set to 20ms and 10ms as before by default. Signed-off-by: Kumar Kartikeya Dwivedi <[email protected]>
d7fdb60 to
bc97b9f
Compare
ae9b520 to
399fdcb
Compare
|
At least one diff in series https://patchwork.kernel.org/project/netdevbpf/list/?series=1027154 irrelevant now. Closing PR. |
Pull request for series with
subject: General enhancements to rqspinlock stress test
version: 1
url: https://patchwork.kernel.org/project/netdevbpf/list/?series=1027154