-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Update jmdns to 3.5.1 #5879
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
Update jmdns to 3.5.1 #5879
Conversation
Hi @docbender, could you test the build which will be produced on your PC with 5 network cards? Thanks a lot! |
Hello @facchinm,
|
Sorry for the inconvenience, the Windows package was missing an entry in the classpath; I just pushed a commit to fix this, which should trigger a new build. Thanks again for testing! |
Here are CPU tests with new build. Build 643 with 6 active network card: Compared with Arduino 1.8.1 CPU utilization looks similar. I both cases one core is almost full utilized: Here is another system (4 thread Core-i5) with 3 network cards. In a direct comparison, it seems that with the new nDNS load is same or a little bit higher: |
Thanks a lot for testing this, I was hoping that simply upgrading the library would solve the issue but I was wrong 🙂 I'm pushing some other commits to this PR to solve the high cpu usage once for all (by using some new features of jmdns) |
use jmmdns to simplyfy the code and automatically take care of interfaces switching
✅ Build completed. Please test this code using one of the following: ⬇️ http://downloads.arduino.cc/javaide/pull_requests/arduino-PR-5879-BUILD-644-linux32.tar.xz ℹ️ The |
@me-no-dev @igrr would you mind testing this PR with ESP8266 and ESP32 boards advertising via mDNS? If you see no regression (or maybe an improvement) I believe we can merge this |
@facchinm will do right away on both ESPs :) |
@facchinm I can confirm no regression on ESP8266 and ESP32. I can also confirm lower load on the network. |
Evaluate if d403c9a and 944dcf1 are needed to solve #4569 or if updating to 3.5.1 is enough