LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 02-01-2005, 09:40 AM   #1
ronlon
LQ Newbie
 
Registered: Jan 2005
Location: Milwaukee, Wisconsin
Distribution: Mandriva
Posts: 26

Rep: Reputation: 15
Why is internet so slow?


sorry about the thread title, it isn't just firefox

First let me say I'm a newbie.
I've just installed SuSE 9.2. The problem I'm having is that web pages are loading extreemly slowly. I do have a broadband connection and the pages donot load at such a snails pace when I'm in windows on the same machine.
Any suggestions as to what I should do?

Last edited by ronlon; 02-01-2005 at 12:57 PM.
 
Old 02-01-2005, 10:02 AM   #2
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
there are some tips which my friend has collected here

http://nitinb.blogspot.com/2004/12/h...p-firefox.html

regards
 
Old 02-01-2005, 10:10 AM   #3
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
masand, this is not a firefox rpoblem, it happens in konqueror too...
its porbably a broken router not repsonding correctly to certain kernel tcp windows scaleing...

try this before tweaking firefox.....

ive seen quite a few posts like this.
i experianced this problem with the 2.6.7 and 2.6.8 kernel's

the answer was that the linux kernel started using a larger tcp window size. whihc in theory should boost network performace... however it became clear that some routers and firewall's didnt like the unusually yet standards compliant tcp window sizes.

and in later kernel's the window size was reset to normal.

trype the following command at a terminal and post what it says.

Code:
uname -r
if you have the kernel i think you do, there are 2 solutions...

1) use a syscall to reset the tcp windows size to its normal value.
2) upgrade kernel.

i cant remember the exact command that carries out solution one... but its quite simple and on this forum. use the search function to find "slow internet tcp window size"

Solution 1 is given here..... http://www.linuxquestions.org/questi...cp+window+size

basically you need to do the following as root.

[code]
echo 0 > /proc/sys/net/ipv4/tcp_default_win_scale
echo "net.ipv4.tcp_default_win_scale = 0" >> /etc/sysctl.conf
[code]

better ?

Last edited by qwijibow; 02-01-2005 at 10:14 AM.
 
Old 02-01-2005, 10:15 AM   #4
ronlon
LQ Newbie
 
Registered: Jan 2005
Location: Milwaukee, Wisconsin
Distribution: Mandriva
Posts: 26

Original Poster
Rep: Reputation: 15
Thats a neat trick masand, however, not a solution to my problem. Now firefox jumps to the web page but still downloads very slowly.

Last edited by ronlon; 02-01-2005 at 10:20 AM.
 
Old 02-01-2005, 10:20 AM   #5
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
which *trick* did you try ?
if you treaked firefox's chche sizes etc etc etc, then thats whats to be expected.

i think the problem lies in the kernel... you forgot to post your uname -r. so i dont know.
 
Old 02-01-2005, 10:24 AM   #6
ronlon
LQ Newbie
 
Registered: Jan 2005
Location: Milwaukee, Wisconsin
Distribution: Mandriva
Posts: 26

Original Poster
Rep: Reputation: 15
sorry I was reffering to the firefox trick.
the uname -r :
2.6.8.24-default
 
Old 02-01-2005, 10:24 AM   #7
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
good, i tried the given solution

looks like it is improving more

regards
 
Old 02-01-2005, 11:04 AM   #8
pazzport
Member
 
Registered: Dec 2004
Posts: 47

Rep: Reputation: 16
You may want to look at this as well - I had the same problem and the second I disabled IPv6 the problem went away...

http://www.linuxquestions.org/questi...hreadid=280059
 
Old 02-01-2005, 12:39 PM   #9
RoaCh Of DisCor
Member
 
Registered: Apr 2004
Location: Washington State
Distribution: SuSE 9.3 / Slackware-Current
Posts: 701

Rep: Reputation: 30
Ditto...I had the same issue, and following the link above everything is absolutely fine now in terms of speed.
 
Old 02-01-2005, 12:49 PM   #10
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
if u want to download, then i think u should try
d4x with flashgot plugin for firefox

regards
 
Old 02-01-2005, 12:51 PM   #11
ronlon
LQ Newbie
 
Registered: Jan 2005
Location: Milwaukee, Wisconsin
Distribution: Mandriva
Posts: 26

Original Poster
Rep: Reputation: 15
Quote:
echo 0 > /proc/sys/net/ipv4/tcp_default_win_scale
From the above command I recieve: no such file or directory

Next, I can't figure out how to add the suggested line net.ipv4.tcp_default_win_scale = 0 to: /etc/sysctl.conf

I can't find those diredtories, I do have a directory named, /proc/sys/net/ipv4/ , however, no directory /etc/sysctl/ .

What am I doing wrong?

Should I just upgrade to a different kernel, if so, how do I do that?

Last edited by ronlon; 02-01-2005 at 12:53 PM.
 
Old 02-01-2005, 01:04 PM   #12
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
go here

/proc/sys/net/ipv4/

and u might be havnf a file with some different name
like
tcp_windows_scaling

therer u can replace 1 by 0

and the reason for that is posted in the link

http://lwn.net/Articles/92727/

regards
 
Old 02-01-2005, 01:28 PM   #13
ronlon
LQ Newbie
 
Registered: Jan 2005
Location: Milwaukee, Wisconsin
Distribution: Mandriva
Posts: 26

Original Poster
Rep: Reputation: 15
Okay, I did find the directory /proc/sys/net/ipv4/ so I entered the command etho O > /proc/sys/net/ipv4/tcp_window_scaling but I can't tell if it worked. Page downloads still are not faster.

I look in the /etc/ directory and look at sysctl.cong , there I find the following lines already there:

# Disable response to broadcasts.
# You don't want yourself becoming a Smurf amplifier.
net.ipv4.icmp_echo_ignore_broadcasts = 1
# enable route verification on all interfaces
net.ipv4.conf.all.rp_filter = 1
# enable ipV6 forwarding
#net.ipv6.conf.all.forwarding = 1
net.ipv4.tcp_default_win_scale = O
net.ipv4.tcp_default_win_scale = O


What should I do?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
too slow konqueror alaios Linux - Software 4 09-29-2005 11:30 AM
konqueror is ok . firefox not! avimd SUSE / openSUSE 7 06-30-2005 06:35 AM
konqueror is very slow drryu Slackware 3 01-09-2005 12:29 AM
FireFoX!!! Konqueror!!!? fesago90 Linux - Software 4 11-09-2004 10:04 PM
Konqueror slow Ant71 Linux - Newbie 3 11-17-2003 06:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 11:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration