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

Consider increasing OS socket buffer (SO_SNDBUF, SO_RCVBUF) #1962

Open
mxinden opened this issue Jul 4, 2024 · 4 comments
Open

Consider increasing OS socket buffer (SO_SNDBUF, SO_RCVBUF) #1962

mxinden opened this issue Jul 4, 2024 · 4 comments

Comments

@larseggert
Copy link
Collaborator

Are we currently running with the OS defaults? What do other stacks use?

@mxinden
Copy link
Collaborator Author

mxinden commented Jul 11, 2024

Are we currently running with the OS defaults?

In Firefox we attempt to set it to 1 MiB. I wasn't aware of this until today trying to add another pref.

# Receive buffer size of QUIC socket
- name: network.http.http3.recvBufferSize
  type: RelaxedAtomicInt32
  value: 1048576
  mirror: always

https://searchfox.org/mozilla-central/rev/01aaa47e62a2015e7641f26ab0bc2bb00ab579b8/modules/libpref/init/StaticPrefList.yaml

@larseggert
Copy link
Collaborator

Thanks for finding this out. We could do the same in neqo, but would it be worth it?

Do we also do something for the send buffer?

@mxinden
Copy link
Collaborator Author

mxinden commented Jul 11, 2024

As far as I can tell we only alter the receive buffer, not the send buffer. I am not familiar enough with the code base to know for sure.

We could do the same in neqo, but would it be worth it?

👍 worth experimenting with in neqo-server and neqo-client.

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

No branches or pull requests

2 participants