-
Notifications
You must be signed in to change notification settings - Fork 554
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
Add "delay" and "delayType" options to secnetperf tool #4807
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Default/fixed delay introduces specific microseconds of inline busy-wait delay when the stream is established - Variable delay introduces an exponetially distributed random busy-wait delay. This is capped at 1millisecond inline sleep. - Documentation/help text updated
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4807 +/- ##
==========================================
- Coverage 87.08% 86.11% -0.97%
==========================================
Files 56 56
Lines 17685 17679 -6
==========================================
- Hits 15401 15225 -176
- Misses 2284 2454 +170 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
guhetier
reviewed
Feb 12, 2025
sm-msft
commented
Feb 12, 2025
nibanks
reviewed
Feb 12, 2025
nibanks
reviewed
Feb 12, 2025
nibanks
reviewed
Feb 12, 2025
nibanks
reviewed
Feb 12, 2025
nibanks
reviewed
Feb 12, 2025
nibanks
reviewed
Feb 12, 2025
nibanks
reviewed
Feb 12, 2025
nibanks
reviewed
Feb 12, 2025
nibanks
reviewed
Feb 12, 2025
nibanks
reviewed
Feb 12, 2025
nibanks
reviewed
Feb 12, 2025
nibanks
reviewed
Feb 12, 2025
nibanks
reviewed
Feb 12, 2025
nibanks
reviewed
Feb 12, 2025
nibanks
reviewed
Feb 12, 2025
nibanks
reviewed
Feb 12, 2025
…and sending responses from the server. - Based on the perflib TCP worker threadpool code - 1 worker thread per processor - Existing code (QUIC/TCP) queues background work on the current processor only when a server response is due. - The existing Quic/TCP connection/stream is assumed to be available till the background operation completes - DelayWork thread adds appropriate amount of delay and then sends the response back on the appropriate stream *Minor code reorganization in PerfServer.h *Addressed review comments from prior iteration
…etion. This is handled when we eventually close the stream.
…objects to address send-after-close issues Temp change to handle tcp debug exceptions
sm-msft
commented
Feb 28, 2025
nibanks
reviewed
Feb 28, 2025
nibanks
reviewed
Mar 1, 2025
nibanks
reviewed
Mar 1, 2025
nibanks
reviewed
Mar 1, 2025
nibanks
reviewed
Mar 1, 2025
nibanks
reviewed
Mar 1, 2025
nibanks
reviewed
Mar 1, 2025
nibanks
reviewed
Mar 1, 2025
nibanks
reviewed
Mar 1, 2025
nibanks
reviewed
Mar 1, 2025
… DelayedWorkContext struct - Remove asserts/verifys in MsQuicStreamSend and return an error if the stream/connection are closed
nibanks
reviewed
Mar 4, 2025
sm-msft
commented
Mar 5, 2025
sm-msft
commented
Mar 5, 2025
sm-msft
commented
Mar 5, 2025
nibanks
approved these changes
Mar 5, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Add the ability to introduce server-side delays into data streams in the secnetperf tool.
Testing
This change updates the test tool. Existing tests are all passing with this change.
Documentation
Documentation has been updated.