Webpage Browsing DNS lookup SLOW (ongoing Suse prob)
SUSE / openSUSEThis Forum is for the discussion of Suse Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Browsing the web is extremely slow to lookup DNS entries. Sometimes a webpage can take 1-2 minutes loading. Downloading (once a lookup has been completed) can go up to 500kB/s. No problem with internet speed here. Pinging and nslookup a page is intantanous. Strangely will 95% of pages load very slowly, google, yahoo and msn load quickly (except for ads where it has to lookup other addresses) This occurs with both Konqueror and Firefox. The basics are all set up correctly. DNS servers are NOT set to the router IP but the ISPs DNS servers (otherwise wouldn't work at all).
I have done A LOT of research on this before posting. This has largely been blamed due to IPV6 lookups. Most solutions tell you to disable IPV6 lookups as decribed here: http://portal.suse.com/sdb/en/2003/1...illa_ipv6.html
While most users seem to say this fixes the problem it still does not for many other users including myself. Most of these users are forced to go to another distro as even the latest Suse 9.3 has these problems. I upgraded to the latest SuSEfirewalls included on the 9.3 distro and turned SuSEfirewall2 completely off. I have upgraded my Linksys router to the latest firmware. I have tried using only one DNS server. Putting them in differenet orders, everything.
Does anyone have ANY other suggestions to try? I know I can set up BIND to do local caching however this is not a fix by any means. Everytime I go to a new page (as in going to a new link from google) it will take forever. I am very frustrated over this problem. I would like to mostly like to understand how 100% of Suse 9.x users don't have this problem.
I'm really frustrated now! I got it working. What was wrong? Human-error. I apoligize for wasting a thread.
/etc/modprobe.conf in Suse 9.1 by default was:
alias net-pf-10 ipv6
#install net-pf-10 /bin/true
Now, the instructions at the suse support site shown above was to change that to:
Change
alias net-pf-10 ipv6
to
alias net-pf-10 ipv6
install ipv6 /bin/true
Now, instead of me copying and pasting it directly, I said, oh I just uncomment that second line. That would make sense. I didn't bother trying to load the page on Suse because that would have taken forever. Looking at more closely it was simply human-error.
Some notes: I still am suprised that disabling the SuSEfirewall2 (as su: SuSEfirewall2 stop) did not fix the IPV6 problem temporary because from what I understand it is the firewall screwing up the IPV6 messages. I also don't fully understand why a few sites were fast.
If someone wants to offer a theory for this, I would be interested. Thanks...
I just upgraded from SuSE 9.0 to 9.3 I had no browser speed or dns lookup speed problems with 9.0, but all of my browsers (mozilla, konqueror, and firefox) are REAL slow with 9.3. Konqueror under 9.0 used to have a little "resolving" message that came up in the lower left hand corner while it was doing the dns lookup. Konqueror under 9.3 does not do this for reasons I have not figured out yet. My version of 9.3 was just purchased straight from SuSE's website about 3 weeks ago. I used YaST to do ALL of the updates so I should have the latest version of the firewall and I still have the problem. Any thoughts? Anything I should check? I noticed that the /etc/modprobe.conf file has a request at the top that says NOT to edit it but to put changes in another file. However the "cure" above says to edit /etc/modprobe.conf. Which one is correct, or are they both correct and this is an exception?
I'm here for the same reason, looking for answers to why DNS lookup takes so long in 9.3 Pro. I was interested to discover that browsing was super fast using the 9.3 Live Eval disk on the same machine!
I think there may be some real unhappy campers out there when they realize that the installed version doesn't come anywhere close to matching the speed of the demo version!
Got the same problem as well (SUSE 9.3). I asked around on the irc chat channels and there was a guy who had this problem and had managed to solve it. Here is the log:
me> It goes sooooooooooo slow, compared to windows, to surf
me> does it have to do with the preinstalled firewall on suse?
i noticed osmething similar when firefo was installed in my homedirectory
i installed it as root and it seemed okay
me> how does one install it "as root"?
1. it could have something to do with the firewall i suppose, but i wouldnt think so
2. su root
3. type in your root password
4. go to the directory where firefox-install extracted to
5. run it
6. follow the prompts
7. but install somewhere like /usr/local/firefox
or /usr/lib/firefox
8. then type (w/out quotes) " ln -s /usr/local/firefox/firefox /usr/bin/firefox
that will link from /usr/bin to where the real firefox executable is
me> aha, damn, what a crap really. That the speed of firefox is dependent on where its located.
Look, im a complete newbie, i have tried whats been said above but it doesnt work for me.
Last edited by angrysurgeon; 07-11-2005 at 12:26 PM.
Okay, this worked for 9.3! Turn off IPV6 support using this procedure.
In a terminal window run (su to root):
then type
#echo "alias net-pf-10 off" >> /etc/modprobe.conf.local (Enter)
#echo "alias ipv6 off" >> /etc/modprobe.conf.local (Enter)
Then, in the address line of FF enter:
about:config
(no spaces)
next in the filter line enter:
ipv6
double click on
network.dns.disableIPv6 to change value from "No" to "Yes"
close FF and restart computer
When the computer reboots you should see significantly faster DNS lookup by FireFox. There are some other FF tweaks that may help even more but this was the "biggie".
This solution seems to work. My lookuptimes have been halved (from like 25 secs for ebay.de to like 13-14 now), but im still not satisfied. Windows 2k still does it faster. Anyway, Thanks alot!
What i was wondering is, could you perhaps direct us toward other tweaks, which one can do with firefox?
one of the best known tweaks you can do to speed up firefox:
First, type "about:config" into the address bar and hit return. Scroll down and look for the following entries:
network.http.pipelining
network.http.proxy.pipelining
network.http.pipelining.maxrequests
usually, the browser will make one request to a web page at a time. by doing the next steps, you'll enable it to make more requests at the same time, which speeds it up quite a bit:
Alter the entries found in the first step as follows:
Set "network.http.pipelining" to "true"
Set "network.http.proxy.pipelining" to "true"
Set "network.http.pipelining.maxrequests" to some number like 25, this means it will make 25 requests at once. (or more, if you think your connection can handle more, making like 40 requests on dial up for example wont work, only clog up your bandwidth).
Lastly right-click on the page and select New-> Integer.
Name it "nglayout.initialpaint.delay" and set its value to "0". This value is the amount of time the browser waits before it acts on information it receives. If you're using a broadband connection you'll load pages quite a bit faster now!
Trying all of the "fixes" above, I have nearly everything running at a reasonable speed except Konqueror. It is still incredibly slow.
Does anyone have any thought on a fix for this?
/etc/modprobe.conf gets built by SuSE so it is subject to change. Make your changes to /etc/modprobe.conf.local and your changes will survive /etc/modprobe.conf being rebuilt by SuSE. There are many factors that affect speed and a good number of those change dynamically. For example, cable connections, like Comcast, degrade over time because cable is a bus like Ethernet and speed is dependent on the number of concurrent users. Summer school vacation may also be a factor -- kids eat bandwidth. The host site has a major impact based on the size of the pipe used. Notice how major sites like Google always perform better -- fat pipes. This is not to say that 9.3 may have impacted speed as well.
Originally posted by ng0g Trying all of the "fixes" above, I have nearly everything running at a reasonable speed except Konqueror. It is still incredibly slow.
Does anyone have any thought on a fix for this?
Thanks,
Steve NG0G
I came out in exactly the same place! Hope you get an answer to the Konqueror issue because it is clearly much slower than FF.
If you're using Firefox, get the "Bandwidth Tester" extension. That will yield objective measurements that may be helpful. Time of day also has an impact on performance. If you're a night owl like me, you'll be able to see if the problem is load related.
Fragos, I'll do as you suggested, but believe me if you could see the two browsers perform on my machine you wouldn't doubt for a millisecond that Konqueror is way slow. It does look to be primarily in DNS lookup and I am aware that my network is not optimized because my DNS address is pointing at my router instead of my DSL ISPs DSL server, but that isn't bothering FF. Also, I did not see this problem with the Live Eval CD, only the installed 9.3 Pro version.
I'll keep digging...
A correction and a solution!
The 9.3 Live Eval DVD is equally slow - I was confusing it with a Knoppix 3.9 which does browse at good speed. Sorry for that confusion.
I added the following lines to /etc/modprobe.conf.local and now Konqueror flies too!
alias net-pf-10 off
alias ipv6 off
Making the changes to FF and Mozilla fixed any speed problems with them for me. But no matter what changes I have made Konqueror is really, really, slow. So slow that occasionally I am fooled into thinking it is hung.
My ping times for both url and ip are fine. My isp just cranked the speed up, I am close to 5mb per second now. Mozilla and FF find, and open web pages quickly. Konqueror is so slow that it is nearly unusable. I am continuing to experiment with Konqueror and to comb the web for a solution. I am finding that a lot of folks seem to have this same problem. Many seem to have just given up on Konqueror. I want all 3 browsers, (mozilla, FF, and Konqueror) as I keep all 3 set up differently for different tasks.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.