LinuxQuestions.org
Visit Jeremy's Blog.
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-21-2005, 08:39 PM   #1
ronlon
LQ Newbie
 
Registered: Jan 2005
Location: Milwaukee, Wisconsin
Distribution: Mandriva
Posts: 26

Rep: Reputation: 15
Slow internet browsing


Hi,

I'm having an issue with the internet. I have a 64bit AMD system running SuSE 9.2 64 bit, connected through a netgear router to a cable modem. I am experiencing extreemly slow internet browsing. For example I cannot use "YOU" because it quickly stalls. Download speeds start at 75kb/s then 65kb/s, 40kb/x, 15kb/s, and stalled.
I have read that there are a couple of solutions such as a command like:# etho echo 0 > /proc/sys/net/ipv4/tcp_default_win_scale
or by adding a line like: net.ipv4.tcp_default_win_scale = 0 to /etc/sysctl.conf. Or upgrading the kernel version.

I've tried and completed all of those options, with no success. I've also tried to figure out what upgrades to install from SuSE's ftp site with no luck, I don't know what to install or not to install based on just looking at the avaliable upgrades.

One thing that makes me question my set up is that when I go into Yast and select network cards then DSL connections, there is no DSL connection configured. Could this be my problem? And if so why am I able to access the net but just not be able to download successfuy?

Anyway I'm really lost and need advice. PLEASE.
 
Old 02-21-2005, 11:08 PM   #2
broch
Member
 
Registered: Feb 2005
Distribution: Slackware-current 64bit
Posts: 454

Rep: Reputation: 30
on SuSE 9.2 64-bit (cable + router) I am getting more than you.
1. hardware problem (NIC)
2. /etc/resolv.conf (shoud point to ISP nameservers, not router because you will get slower transfers)
2. kill ipv6
echo "alias net-pf-10 off" >> /etc/modprobe.conf
echo "alias ipv6 off" >> /etc/modprobe.conf
3. run
ifconfig and check txqueuelen value if 100 then run:
#/sbin/ifconfig eth0 txqueuelen 1000
4. adjust MTU. For DSL it should be 1454. But this can be tested:
ping IP_address_of_your_ISP -f -l 1373
you should see:
Reply from xxx.xxx.xxx.xxx: bytes=1372 time=53ms TTL=254
Reply from xxx.xxx.xxx.xxx: bytes=1372 time=56ms TTL=254
Reply from xxx.xxx.xxx.xxx: bytes=1372 time=56ms TTL=254
now increase MTU to the point when ping will generate output like this:
Packet needs to be fragmented but DF set.
Packet needs to be fragmented but DF set.
Packet needs to be fragmented but DF set.

It means that your MTU is too high. Enter best MTU value that gave non fragmented output.

5. this is a list few of sysctl variables that can help (some are security related) /etc/sysctl.conf:

net.core.netdev_max_backlog = 2500
net.ipv4.tcp_max_syn_backlog = 2048
net.ipv4.tcp_no_metrics_save = 1
kernel.shmmax = 67108864
net.ipv4.route.flush = 1
net.ipv4.icmp_echo_ignore_broadcasts = 1
net.ipv4.tcp_window_scaling = 0
net.ipv4.tcp_sack = 1
net.ipv4.tcp_timestamps = 0
net.ipv4.tcp_reordering = 5
net.ipv4.tcp_synack_retries = 2
net.ipv4.tcp_syn_retries = 3
net.ipv4.tcp_fin_timeout = 15
net.ipv4.ip_forward = 0
net.ipv4.route.flush = 1
net.ipv4.conf.all.default_source_route = 0
net.ipv4.conf.default.accept_redirects = 0
net.ipv4.conf.all.secure_redirects = 0
net.ipv4.conf.all.log_martians = 1
net.ipv4.tcp_keepalive_time = 1200
kernel.shmall = 67108864
kernel.shmmax = 67108864

check net.ipv4.ip_no_pmtu_disc default should be "1" if not then correct (/etc/sysctl.conf
net.ipv4.ip_no_pmtu_disc = 1
My calbe max transfer rate is ~380KB/sec. I am getting this on windows and FreeBSD. On SuSE i am getting 336.9 KB/sec. I dont have dualboot however windows and FBSD hardware is older.
Anyway my result is a little better than yours, so maybe all this will help

I WOULD DEFINITELY LOOK AT NIC.

Last edited by broch; 02-21-2005 at 11:20 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Slow internet browsing Hammett Linux - General 8 01-06-2005 08:44 AM
slow internet browsing SlipAway172 Mandriva 3 12-08-2004 11:43 AM
slow internet browsing sanjeevdas Linux - Networking 4 01-27-2004 04:56 AM
slow internet browsing sanjeevdas Linux - Software 3 01-27-2004 03:35 AM
internet browsing is slow! AekaGSR Linux - General 2 11-03-2003 11:50 AM

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

All times are GMT -5. The time now is 06:00 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration