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

fix(jetsocat,dgw): allow bigger JMUX messages #974

Merged
merged 1 commit into from
Aug 14, 2024
Merged

Conversation

CBenoit
Copy link
Member

@CBenoit CBenoit commented Aug 14, 2024

This updates the decoder part of the JMUX codec.

The intention is to increase the maximum message size for JMUX message in the future.
By increasing the maximum size from 4k to 16k, an improvement of about 77.7% can be achieved when measuring using iperf.

With 4k:

0.0000-19.4523 sec 26.6 GBytes 11.7 Gbits/sec

With 16k:

0.0000-13.8540 sec 33.6 GBytes 20.8 Gbits/sec

@CBenoit CBenoit enabled auto-merge (squash) August 14, 2024 06:54
@CBenoit CBenoit disabled auto-merge August 14, 2024 07:08
@CBenoit
Copy link
Member Author

CBenoit commented Aug 14, 2024

Compatibility hazard: if a client sends a big message to an old Gateway, an error will be raised. First, we'll increase the maximum message size for Devolutions Gateway, and then we could increase the maximum size on client side in RDM in early 2025.

@CBenoit CBenoit force-pushed the perf/jmux-proxy-3 branch 3 times, most recently from 828c996 to 3038012 Compare August 14, 2024 15:27
@CBenoit CBenoit enabled auto-merge (squash) August 14, 2024 15:42
This updates the decoder part of the JMUX codec.

The intention is to increase the maximum message size for JMUX message
in the future.
By increasing the maximum size from 4k to 16k, an improvement of about
77.7% can be achieved when measuring using iperf.

With 4k:

> 0.0000-19.4523 sec  26.6 GBytes  11.7 Gbits/sec

With 16k:

> 0.0000-13.8540 sec  33.6 GBytes  20.8 Gbits/sec
@CBenoit CBenoit changed the title perf(jetsocat,dgw): increase max JMUX message size fix(jetsocat,dgw): allow bigger JMUX messages Aug 14, 2024
@CBenoit CBenoit changed the title fix(jetsocat,dgw): allow bigger JMUX messages fix(jetsocat,dgw): allow bigger JMUX messages Aug 14, 2024
@CBenoit CBenoit disabled auto-merge August 14, 2024 15:44
@CBenoit CBenoit enabled auto-merge (squash) August 14, 2024 15:44
@CBenoit CBenoit merged commit aaf7765 into master Aug 14, 2024
25 checks passed
@CBenoit CBenoit deleted the perf/jmux-proxy-3 branch August 14, 2024 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants