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

[Portenta_H7] Ethernet WebServer extremely slow from core v2.7.2 - v3.0.1 #438

Closed
khoih-prog opened this issue Mar 31, 2022 · 3 comments · Fixed by #439
Closed

[Portenta_H7] Ethernet WebServer extremely slow from core v2.7.2 - v3.0.1 #438

khoih-prog opened this issue Mar 31, 2022 · 3 comments · Fixed by #439

Comments

@khoih-prog
Copy link

Describe the bug

The core's Ethernet Server speed is normal for core v2.6.1-

For core v2.7.2 to v3.0.1, the Ethernet Server speed is extremely slow and almost unusable.

For example, try from complex example AdvancedWebServer to the simplest one WebServer

MRE

Using the following core's Ethernet library example WebServer with

  • Arduino IDE v1.8.19
  • mbed_portenta core v2.6.1 or core v2.7.2 to v3.0.1
  • Portenta_H7_M7
  • Either static IP or DHCP

Related issue

[Portenta_H7] Ethernet not working in core v3.0.0 #436

@facchinm
Copy link
Member

facchinm commented Apr 1, 2022

👋
I pushed #439 to fix the issue (thanks for reporting btw ! ).
To make sure we are not breaking anything it would be nice if you could test in some real world applications, both using wifi and ethernet. @hpssjellis maybe had some code lying around that could be useful for testing 😉

@khoih-prog
Copy link
Author

The #439 fixed the slow issue for Portenta Ethernet WebServer.

But Portenta WiFi still suffers the slowness from core v2.7.2 to v3.0.1, even with the #439 fix.

Core v2.6.1 is also tested and OK with Portenta WiFi.

To test

  1. Install WiFiWebServer releases v1.4.0
  2. Using AdvancedWebServer example then test with core v2.6.1, then core v2.7.2+

I'll open a new issue for this Portenta WiFi.

@hpssjellis
Copy link
Contributor

@facchinm

To make sure we are not breaking anything it would be nice if you could test in some real world applications, both using wifi and ethernet. @hpssjellis maybe had some code lying around that could be useful for testing 😉

Using Arduino MBED 3.0.1 a student confirmed both the WiFi and Ethernet minimal examples are working as you mentioned. I am presently testing adafruit.io MQTT and HTTP (POST, GET) Webhook clients, so I should have more information next week.

I will probably be using the advanced async clients made by @khoih-prog, but open to suggestions for simple blocking MQTT and HTTP (POST GET) clients as well.

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 a pull request may close this issue.

3 participants