Closed gyCfjSnO closed 10 months ago
can confirm this behavior in latest edge v0.108.0-a.785+214175eb
@gyCfjSnO, @odcold, hello and apologies for late response. We've redesigned the load balancing algorithm pushed it within the version v0.108.0-a.806+ad147ac7
to the edge update channel. It should now select each server with a probability proportional to its RTT, and thus choose the slower servers a little more often. Could you please try it and report back your observations?
@gyCfjSnO, @odcold, hello and apologies for late response. We've redesigned the load balancing algorithm pushed it within the version
v0.108.0-a.806+ad147ac7
to the edge update channel. It should now select each server with a probability proportional to its RTT, and thus choose the slower servers a little more often. Could you please try it and report back your observations?
I'm not using edge or beta so I'm unable to test for you sorry.
@gyCfjSnO, @odcold, hello and apologies for late response. We've redesigned the load balancing algorithm pushed it within the version
v0.108.0-a.806+ad147ac7
to the edge update channel. It should now select each server with a probability proportional to its RTT, and thus choose the slower servers a little more often. Could you please try it and report back your observations?
@EugeneOne1 As far as i can see rn - every server was used after ~ 1000 queries and fastest are used more often. So i guess everything is working as expected
@odcold, your help is appreciated. We're closing this issue for now and will include this change in the upcoming release.
Prerequisites
[X] I have checked the Wiki and Discussions and found no answer
[X] I have searched other issues and found no duplicates
[X] I want to report a bug and not ask a question or ask for help
[X] I have set up AdGuard Home correctly and configured clients to use it. (Use the Discussions for help with installing and configuring clients.)
Platform (OS and CPU architecture)
Custom (please mention in the description)
Installation
GitHub releases or script from README
Setup
On one machine
AdGuard Home version
v0.107.41
Action
I've noticed in v0.107.41 that load-balancing was enabled by default in DNS settings.
However, despite having six DNS upstream servers set only one server was shown in the logs as being queried on the Dashboard under Top upstreams & Average upstream response time.
Since setting it to Parallel requests in DNS settings all of the six provided DNS upstream servers are being queried. The one server initially only showing was the slowest.
Expected result
Have all of the provided DNS upstream servers queried when load-balancing option is selected in DNS settings
Actual result
Only one DNS upstream server was ever queried while the load-balancing option was selected.
Additional information and/or screenshots
Ubuntu 22.04.3 LTS (GNU/Linux 5.15.0-1043-raspi aarch64)
A screenshot of the statistics after changing the DNS setting to parallel requests. Previously only
https://unfiltered.adguard-dns.com:443/dns-query
was showing when the DNS setting was set to load-balancing.