I am experiencing very very slow network performance.
gmpc when trying to fetch from discogs.com or last.fm hangs for 4 seconds (even if it happens in a different thread).
trying to ping those hosts gives the same crap.
6 packets transmitted, 6 received, 0% packet loss, time 25989ms
rtt min/avg/max/mdev = 165.326/177.251/188.114/8.728 ms
The roundtrip time here is fine, 160ms.. but to determine that for 6 packets, takes 26 seconds….
If I strace gmpc, I see it block on a futex. for 4.7 seconds
futex(0xae1790, 0×80 /* FUTEX_??? */, 2) = 0 <4.779978>
If I strace ping, I see it constantly hit the avahi-daemon socket. So after stopping avahi-daemon everything was back to normal.
Can somebody tell me what in gods name avahi-daemon is doing to cause this almost 5 second block.
Why does it block gmpc completely, even if it runs in it own thread?