LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Painfully slow internet connection...yes, I did my homework. (https://www.linuxquestions.org/questions/linux-networking-3/painfully-slow-internet-connection-yes-i-did-my-homework-531840/)

UhhMaybe 04-13-2007 06:15 PM

This is an oddity that is possible, but may not be occurring. I hope I'm wrong about this. Here goes... YOU'RE in M$Windows and YOUR tracker shows 400/sec. That may be what the satellite connection is capable of. And that tracker may not be showing the actual transfer rate of the packets being sent or received. I hope YOU find something that can be corrected. This seems likely, and thought it might help YOU get through this mystery.

M@Rob 04-14-2007 12:34 PM

No, it is actually slower in Linux (or faster in Windows) on the same machine. I can download a 5MB file in less than a minute in Windows and the same file takes f o r e v e r in Linux.

To update this thread, I decided that it was not worth it. I reloaded one machine with Suse Linux and went back to Windows on the other. My wife did not share my interest in solving the problem, she just wanted to be able to use her computer.

As a side note, the Suse Linux seems to do much better on connectivity speeds, but still is obviously slower than the Windows machine.

-M@

mibuk 05-28-2007 04:56 AM

Hi there,

I've read through this thread and just wondered if you've tried commenting out one of the nameserver entries in etc/resolve.conf. When I comment out the shorter of my two nameserver entries, I get a faster internet connection on both FC3 and SUSE. Not sure if this is what's causing your problem though, but could be worth a try.

rillu 06-13-2007 04:34 AM

Hi
I think I have same kind of problems with Fedora. I am using Linux as a proxy server with Squid and about a year ago upgraded from Fedora5 to Fedora6. After that we started to have mysterious problems with some websites (e.g. http://www.enterprise.com). I found also some website were slower than expected (ftp://ftp.funet.fi/pub/mirrors/fedor...dora/i386/iso/ downloding 40 kBytes/s instead of 200 kbytes/s which is the speed or our inet connection)

Same sites worked ok (from Windows) when bypassing proxy. Then I found that the same slowness applies when I use lynx or ftp locally in Linux. I have tried to change nics or with a different pc. Changing MTU or speed&duplex or different switch&cabling or trying bonding didn't help either. Same pc & nic works with Fedora5. Tried another pc which has still Fedora4 and it worked. Speed is slow with Fedora7, Fedora6 and Centos5. Haven't tried other distributions.

And no, the reason is not in the dns, because connection is fast and first two seconds downloading is fast. Speed get slower only after that.

My proxy works now ok in an old workstation with Fedora5, but would like to solve this. My internet connection is 2 Mbits/s and NATted in our firewall.

rillu 06-14-2007 07:16 AM

Found the solution from another thread (http://www.linuxquestions.org/questi...d.php?t=560924)

Seems that probably my FW does not work well with newer Linuces. I had to either:

echo 0> /proc/sys/net/ipv4/tcp_window_scaling

or

echo "4096 87380 103744" >/proc/sys/net/ipv4/tcp_rmem
echo "4096 16384 103744" >/proc/sys/net/ipv4/tcp_wmem

which are the default values for FC5.

(Time to upgrade from FW/1 R55...)


All times are GMT -5. The time now is 02:26 AM.