Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
linux TCP stack performance tuning?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
trepanne
n00b
n00b


Joined: 23 Aug 2003
Posts: 35

PostPosted: Thu Sep 04, 2003 1:03 pm    Post subject: linux TCP stack performance tuning? Reply with quote

all right. so i've got this box double-booted, windows XP and gentoo; setting it up as a KDE desktop.

web browsing is quite bad under linux. extremely long latency in beginning http downloads, throughput is OK once it gets going but not great... the worst problem is that connections often hang and leave web pages partially downloaded FOREVER and don't really time out.

this poor performance is the same on both konqueror and opera.
in fact, it's the same across gentoo and debian, and several different kernel versions under each distribution.

however, the same machine zips right along the web under windows XP.

i am beginning to suspect the TCP windowing parameters.
i live in taiwan and access most websites in USA, which sends packets over some really horribly oversubscribed subsea FO cables.
this doesn't help, but i'm at a loss to explain the performance differential between linux & windows in the same environment.

is there any good online guide to troubleshooting this wretched network performance, to isolate the source of trouble? and tuning the TCP connection parameters, if that is indeed my trouble?

i am new to linux; the whole /proc branch of the filesystem frightens me, and i'd appreciate any help.

trp
Back to top
View user's profile Send private message
nikai
Apprentice
Apprentice


Joined: 02 Oct 2002
Posts: 270
Location: Kitzbühel, Austria

PostPosted: Thu Sep 04, 2003 1:34 pm    Post subject: Reply with quote

You can do that with ifconfig, like
Code:
ifconfig ppp0 mtu 576

The same with other options, have a look at "man ifconfig" for that.

For snappier browsing, you could also use a caching web proxy like net-www/squid, and a caching dns proxy like net-dns/pdnsd or net-dns/djbdns.
Back to top
View user's profile Send private message
devon
l33t
l33t


Joined: 23 Jun 2003
Posts: 943

PostPosted: Thu Sep 04, 2003 3:25 pm    Post subject: Reply with quote

Also, have a look at /usr/src/linux/Documentation/networking/ip-sysctl.txt for an explanation for all those choices under /proc/sys/net/ipv4/.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum