t-oster / LibLaserCut

a platform independant library to control Lasercutters. This is the base library for VisiCut
http://visicut.org
Other
60 stars 55 forks source link

Increase network packet size to 256 #188

Closed kkaempf closed 1 year ago

kkaempf commented 1 year ago

Was 16 before with a noticable checksum overhead.

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

kkaempf commented 1 year ago

This one's for @jnweiger

mgmax commented 1 year ago

Is this tested and ready to merge?

jnweiger commented 1 year ago

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.