earlephilhower / arduino-pico

Raspberry Pi Pico Arduino core, for all RP2040 and RP2350 boards
GNU Lesser General Public License v2.1
2.03k stars 423 forks source link

Enhancement request: increase lwIP buffers #2050

Closed obdevel closed 5 months ago

obdevel commented 7 months ago

Re our discussion at https://github.com/earlephilhower/arduino-pico/issues/2032 and my experiments with high throughput TCP and UDP traffic.

I have memory to spare but I can't currently use it for larger IP stack buffers.

It would be very useful to have an option for larger lwIP buffers, maybe 32KB and 64KB. I think this would require multiple builds of libpico.a, etc, and a new menu option, with the current 16KB being the default.

I can rebuild libpico.a as you suggested, but this isn't a viable solution for less technical users.

Thanks.

earlephilhower commented 7 months ago

Did you increase the buffers and have it correct the timeout problem? I'm not sure it's the actual buffers vs. some other config option for LWIP...