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

Some more performance improvements #4431

Open
wants to merge 7 commits into
base: 25.lts.1+
Choose a base branch
from

Conversation

jellefoks
Copy link
Member

@jellefoks jellefoks commented Nov 14, 2024

Some more performance improvements. This reduces CPU usage more, lifting achieved bandwidths another 10-15%.

Cumulative versus 25.lts.10, gQUIC bandwidth is now 30-65% improved, and HTTP/3 bandwidth 40-85% improved.

This includes the following changes:

  • Use ApproximateNow instead of Now to reduce system call overhead.
  • Small improvement for PostTaskAndReply
  • Don't track QuicSession.PacketWriteTime
  • Disable lifecycle tracing for performance
  • Less UMA histograms for packets

b/205134049

@jellefoks jellefoks force-pushed the some_performance_improvements branch 3 times, most recently from ff520f8 to 2e7e377 Compare November 20, 2024 01:10
@jellefoks jellefoks changed the title Some performance improvements Some more performance improvements Nov 20, 2024
@jellefoks jellefoks marked this pull request as ready for review November 21, 2024 17:47
@jellefoks

This comment was marked as resolved.

@kaidokert
Copy link
Member

kaidokert commented Nov 22, 2024

Are you sure you want to bundle these changes in a single PR ? Splitting them out and submitting separately makes it easier to revert / cherrypick / bisect where applicable later.

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