Big latency Web browsing on ubuntu 10.10 Maverick Meerkat

Posted on 2011-04-28
Last Modified: 2012-05-11
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.
Question by:dm07
    LVL 17

    Expert Comment

    by:Sikhumbuzo Ntsada
    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.
    LVL 1

    Author Comment

    OK, what I did:
    1. I installed local dns cache dnsmasq as said on
    Now I have:
    # dig
    ;; Query time: 3 msec
    # dig
    ;; 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.
    LVL 1

    Accepted Solution

    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!
    LVL 1

    Author Closing Comment


    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
    Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
    Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
    Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now