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

Increase network packet size to 256 #188

Merged
merged 2 commits into from
Feb 23, 2023

Conversation

kkaempf
Copy link
Contributor

@kkaempf kkaempf commented Feb 8, 2023

Was 16 before with a noticable checksum overhead.

Signed-off-by: Klaus Kämpf kkaempf@gmail.com

Was 16 before with a noticable checksum overhead.

Signed-off-by: Klaus Kämpf <kkaempf@gmail.com>
@kkaempf
Copy link
Contributor Author

kkaempf commented Feb 8, 2023

This one's for @jnweiger

@mgmax
Copy link
Collaborator

mgmax commented Feb 18, 2023

Is this tested and ready to merge?

@jnweiger
Copy link
Contributor

Tested today: with 14cm x 14cm engrave at 500 dpi.
BUFLEN=16; -> ca 20 Minutes
BUFLEN=256; -> 2min 35 sec
BUFLEN=1024; -> 85 sec
BUFLEN=2048; -> 68 sec
BUFEN=4096; -> 60 sec
BUFLEN=8192; -> 59 sec

-> I suggest a larger bufsize than 256.

Copy link
Contributor

@jnweiger jnweiger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BUFLEN=4096 is almost 3 times faster than BUFLEN=256;

Thanks for testing

Co-authored-by: Jürgen Weigert <jnweiger@gmail.com>
Copy link
Contributor

@jnweiger jnweiger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!
@mgmax Ready to merge.

@mgmax mgmax merged commit bc3f413 into t-oster:master Feb 23, 2023
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