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

Pico-W: bad network throughput running as a webserver #9837

Open
bablokb opened this issue Nov 27, 2024 · 0 comments
Open

Pico-W: bad network throughput running as a webserver #9837

bablokb opened this issue Nov 27, 2024 · 0 comments
Labels
bug network rp2 Both RP2 microcontrollers
Milestone

Comments

@bablokb
Copy link

bablokb commented Nov 27, 2024

CircuitPython version

at least since 8.0.5

Code/REPL

see https://github.com/bablokb/circuitpython-examples/tree/master/webserver

Behavior

see below

Description

The example scenario runs a webserver. The main page sources a number of js and css-files. This triggers multiple parallel requests from the browser to the server. Total download size is about 140KB, throughputs (measured as total download time from within the browser development tools) are as follows:

  • Pico-W (8.0.5 and 9.2.1): about 11s
  • Pico Plus2 W: about 11s
  • Adafruit Feather ESP32-S3 (4MB/2MB): about 1s

Additional information

This issue is opened on request of @eightycc, see #9826 (comment)

Searching the web for throughput figures for the Pico-W does not turn up many results. Some tests use iperf, but this is an artificial tool and does not test the given scenario. But maybe iperf could help to track down the cause. It seems there is a Python/MicroPython version available, so it might be worth a look.

@bablokb bablokb added the bug label Nov 27, 2024
@dhalbert dhalbert added this to the 9.2.x milestone Nov 27, 2024
@dhalbert dhalbert added network rp2 Both RP2 microcontrollers labels Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug network rp2 Both RP2 microcontrollers
Projects
None yet
Development

No branches or pull requests

2 participants