Comment 10 for bug 1205527

Revision history for this message
Eduardo rocha (joao-eduardo-rocha) wrote :

Hi Stephen!

Tested revisions 356 and 357, and both had about the same results:
  - AMD Fx-8120 3.1GHz (8-cores) with 8GB RAM: from 2 to 7 seconds to start, 8 seconds to load all nick names.
  - AMD Phenon 2 X4 3.0 GHz with 8GB RAM: from 2 to 22 seconds to start, 12 to 32 seconds to load all nick names.
  - AMD Phenon 2 X2 with 8GB RAM : same results from Phenon X4.

With revision 357, I tried returning "true" in Controller.HasInternetConnection, and had these results:
  - AMD Fx-8120 3.1GHz (8-cores) with 8GB RAM: 1 to 2 seconds to start, 3 seconds to load all nick names.
  - AMD Phenon 2 X4 3.0 GHz with 8GB RAM: from 2 to 3 seconds to start, 9-12 seconds to load all nick names.
  - AMD Phenon 2 X2 with 8GB RAM : same results from Phenon X4.

Well, the 'Dns.GetHostAddresses ( "www.google.com" )' in Controller.HasInternetConnection clearly is slowing down a LOT the whole process.

I measured my DNS server using 'time dig www.google.com > /dev/null', and the response took from 100ms to 1200 ms (well, my ISP DNS server seems to not be helping that much... )

I also tried pinging the Google main DNS Server ( time ping -c 1 8.8.8.8 > /dev/null) and OpenDNS.org main DNS Server (time ping -c 1 208.67.222.222 > /dev/null ), and the response rearely took more than 150 ms in both cases.