0

This is a recent problem that is making me punch holes through walls. Two points up front -

  1. My connection speed is fine. Using the various speedtest tools out there, it is consistently over 1mbps, 6mbps+ on a good day.
  2. My download speeds and file transfers (P2P, torrents, ftp etc.) are similarly fine.

My browser performance (whether FF, Chrome or Opera) however is decidedly NOT fine. Over the last few weeks it has been in the toilet. HTTP is bad and HTTPS is worse.

I used curl as described at -

How to debug slow browsing speed?

to try and see what the problems may be. These are the outputs -

bob@beelzebubba:~/curl$ curl -w "@curl-timing.cfg" -o /dev/null -s http://www.google.com/

  DNS lookup                          :  0.162
  Connect to server (TCP)             :  0.442
  Connect to server (HTTP/S)          :  0.000
  Time from start until transfer began:  0.442
  Time for redirection (if any)       :  0.000
  Total time before transfer started  :  0.752

         Total time                   :  0.752
         Size of download (bytes)     :  260
         Average d/l speed (bytes/s)  :  345.000

bob@beelzebubba:~/curl$ curl -w "@curl-timing.cfg" -o /dev/null -s https://www.facebook.com/

  DNS lookup                          :  0.230
  Connect to server (TCP)             :  0.729
  Connect to server (HTTP/S)          :  1.620
  Time from start until transfer began:  1.620
  Time for redirection (if any)       :  0.000
  Total time before transfer started  :  2.079

         Total time                   :  2.080
         Size of download (bytes)     :  0
         Average d/l speed (bytes/s)  :  0.000

bob@beelzebubba:~/curl$ curl -w "@curl-timing.cfg" -o /dev/null -s https://www.google.com/

  DNS lookup                          :  0.118
  Connect to server (TCP)             :  0.435
  Connect to server (HTTP/S)          :  1.375
  Time from start until transfer began:  1.375
  Time for redirection (if any)       :  0.000
  Total time before transfer started  :  1.825

         Total time                   :  1.825
         Size of download (bytes)     :  263
         Average d/l speed (bytes/s)  :  144.000

Generally terrible. My questions are -

  1. What could cause this out of the blue?
  2. How can I fix it? There is very little of help googling.

Yes I've cleared caches, nuked cookies, started browsers in safe mode etc.

2 Answers2

0

I would continue debugging by trying a different connection with the same machine. Find some other internet source, and see if you get similarly terrible results.

If you find the same performance with another connection, then the issue is with the computer, and the list of potential causes is over 9000

kbuilds
  • 1,565
0

Same old story. Spent days spitting blood over an annoying problem, finally resort to posting help request - then almost immediately find a fix. Only found by accident via a link from a virtual machine tech forum -

Extrememly slow DNS lookup

edit /etc/NetworkManager/NetworkManager.conf

and comment out the line

dns=dnsmasq

so that it looks like the following.

#dns=dnsmasq

Then restart network-manager.

Seems to have done the trick.