You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This shows a client rapidly requesting the same file libgnutls30-3.8.7-1.1.x86_64.rpm 4 times in rapid succession. This is confirmed by wireshark traces.
Examining these connections we see that there is a "race" where after establishment, zypper then rapidly sends TCP FIN to 3 of the 4, and only then retrieves the file from the remaining singular connection.
It's unclear why zypper is doing this - however, it causes the server to need to load and start to send the file multiple times needlessly, which also introduces network latency and congestion. What's more, is all requests are of the same range of bytes.
When zypper is directed to a single mirror this does not occur, it only occurs with the multi-curl backend after zypper is redirected by mirrorcache.
-- expected behaviour
zypper opens one connection, and downloads the file once.
The text was updated successfully, but these errors were encountered:
Only reason for this I could think of is the "stealing" feature. Which is when the MultiCurl backend downloads a file and has more free workers ( e.g. mirrors ) than chunks it will try to steal from a "running" chunk and use the one that is finished the fastest... But it should not download from the same mirror multiple times.
Recently while checking mirror.fy.id.au logs I noticed odd behaviour of zypper.
This shows a client rapidly requesting the same file
libgnutls30-3.8.7-1.1.x86_64.rpm
4 times in rapid succession. This is confirmed by wireshark traces.Examining these connections we see that there is a "race" where after establishment, zypper then rapidly sends TCP FIN to 3 of the 4, and only then retrieves the file from the remaining singular connection.
It's unclear why zypper is doing this - however, it causes the server to need to load and start to send the file multiple times needlessly, which also introduces network latency and congestion. What's more, is all requests are of the same range of bytes.
When zypper is directed to a single mirror this does not occur, it only occurs with the multi-curl backend after zypper is redirected by mirrorcache.
-- expected behaviour
zypper opens one connection, and downloads the file once.
The text was updated successfully, but these errors were encountered: