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

possible performance issue: tiny packets? #252

Open
vtjnash opened this issue Aug 3, 2022 · 3 comments
Open

possible performance issue: tiny packets? #252

vtjnash opened this issue Aug 3, 2022 · 3 comments

Comments

@vtjnash
Copy link
Sponsor Member

vtjnash commented Aug 3, 2022

why does mbedtls send such minuscule packets?

MBTLS: 2022-08-03T13:46:22.157 09a6 ssl_write ➡️  800000
MBTLS: 2022-08-03T13:46:22.158 09a6 f_send ➡️  16413
@quinnj
Copy link
Member

quinnj commented Aug 16, 2022

@quinnj
Copy link
Member

quinnj commented Aug 16, 2022

In their docs, it says the TLS standard mandates a max packet size of 16K.

@vtjnash
Copy link
Sponsor Member Author

vtjnash commented Aug 17, 2022

That is the max for a TLS packets, but it would likely be faster to send many packets at once. Though performance numbers recently elsewhere seem to indicate that the encryption algorithm is slow enough that it doesn't matter about having the extra overhead here

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