• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 489
  • Last Modified:

Big latency Web browsing on ubuntu 10.10 Maverick Meerkat

Hello all! Most time I work on Windows, but sometimes I work in Ubuntu 10.10 64bit with MacUbuntu installed on (I have dual boot on the same machine). There are some problems but most of them are slow browsing - it doesn't matter which browser (Firefox 4, Chrome, etc.). It takes approx. 5-15 seconds to open any page, but I download any file with normal speed (as same as in Windows).
My network settings were defined via NetworkManager (all settings I get via DHCP from my home router), /etc/resolv.conf consists record to my ISP's DNS server. Similar settings I have on Windows XP Pro 32 bit where all flies very well. Thanks for your answers.
  • 3
1 Solution
Sikhumbuzo NtsadaCommented:
Does your act as DNS if yes try and insert your router's IP address on the /etc/resolv.conf file and put a hash infront of the other ones, then test.
dm07Author Commented:
OK, what I did:
1. I installed local dns cache dnsmasq as said on http://embraceubuntu.com/2006/08/02/local-dns-cache-for-faster-browsing/
Now I have:
# dig yandex.ru
;; Query time: 3 msec
# dig google.com
;; Query time: 58 msec
2. Also I have VMWare virtual machine on Ubuntu with installed XP Pro on it. So web browsing in Firefox 4 on VM very very fast!
It seems that there is some latency in Ubuntu GUI but I am not certain.
dm07Author Commented:
I have solved that problem. I forgot that there is nsswitch file which defines order to look up dns databases...
In my /etc/nsswitch.conf at first:
files wins mdns4_minimal [NOTFOUND=return] dns mdns4

Open in new window

In the end:
hosts:          files dns mdns4 wins mdns4_minimal [NOTFOUND=return]

Open in new window

Pay attention that after "files" I put "dns" instruction, all another don't matter. Reboot and have fun with fast browsing in Ubuntu!
dm07Author Commented:

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now