LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-24-2007, 06:44 PM   #1
fexter
LQ Newbie
 
Registered: Oct 2007
Posts: 14

Rep: Reputation: 0
Slow downloads with Ubuntu!!!!!


For some reason or reasons my downloads being on the net or threw apt-get are very slow compared to my XP system. I am currently using Ubuntu. Its the same internet connection so I do not see why it would have changed. I am currently upgrading from Ubuntu 7.04 to 7.10 and I am suppose to download 610 Mo or so and it says it'll take me 6 hours!!! I used to do that in 20 minutes give or take a few minutes. Is this behavior normal??? I must be forgetting somehthing??? Please help!!!!

Thanks!

Fexter
 
Old 10-24-2007, 07:08 PM   #2
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
Six hours to do what? Just to download the necessary packages or to do both that and perform the upgrade? It's a know fact that upgrading takes a lot longer than getting a new install cd and installing from scratch. An upgrade has to check each installed package before replacing it with a newer one and that can take a lot of time. Of course, you may also be connected to an overloaded mirror. I tried to get a copy of the mandriva dvd on the day it was released and it would have taken me an estimated four days. There were just so many people connected that the servers got unbearably slow. So I waited for about a week and then I was able to get the dvd in just under an hour ...
 
Old 10-24-2007, 07:13 PM   #3
fexter
LQ Newbie
 
Registered: Oct 2007
Posts: 14

Original Poster
Rep: Reputation: 0
Forget the upgrade....my overall downloads are very slow compared to my downloads in XP...there has to be something wrong...other forums show that other user are experiencing the same thing...anyone has a clue????
 
Old 10-24-2007, 07:52 PM   #4
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
How do you connect, through dhcp or a fixed IP address? Have you checked your name servers in /etc/resolv.conf? They need to match the name servers of your ISP (you could call them to find these out but you can usually find them out by searching google too). Which NIC have you got by the way? Any routers involved? Does it happen when you boot straight into Ubuntu or only when you boot into Ubuntu after having used XP? Are you on a local network that involved other windows computers?

Last edited by jay73; 10-24-2007 at 07:54 PM.
 
Old 10-24-2007, 08:27 PM   #5
fexter
LQ Newbie
 
Registered: Oct 2007
Posts: 14

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jay73 View Post
How do you connect, through dhcp or a fixed IP address? Have you checked your name servers in /etc/resolv.conf? They need to match the name servers of your ISP (you could call them to find these out but you can usually find them out by searching google too). Which NIC have you got by the way? Any routers involved? Does it happen when you boot straight into Ubuntu or only when you boot into Ubuntu after having used XP? Are you on a local network that involved other windows computers?
I connect thru a router with DHCP. There are no names in the /etc/resolv.conf file, only IPs. It happens when I boot up in Ubuntu right away. Yes I am on a network that involve other XP computers but it is this one. My XP is on a different HD. I rarely use my laptop which is XP also. My nic I am not too sure. I think its an INtel pro 10/100. Do I need to forward some ports???
 
Old 10-24-2007, 08:30 PM   #6
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Rep: Reputation: 58
you shouldn't have to forward ports, considering port 80(http) is usually open anyways
 
Old 10-24-2007, 08:44 PM   #7
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
Since you mention port forwarding, I'm wondering whether you are downloading from a mirror or through p2p. If the latter, yes, you do need to make sure that proper port is forwarded on the router. But regular internet communication doesn't require any forwarding.

You are right, the entries in resolve.conf are not names, they are the IPs of your ISP's name servers. As long as those are correct, you shouldn't have a problem. Sometimes, however, the IPs in resolv.conf do not refer to the name servers of your IP but to other name servers. In such a case, it is perfectly possible for internet communication to be noticeably slower. Which is why I asked whether you have checked whether the IPs really refer to those of your ISP.

Sharing a network with XP computers has been known to disturb Ubuntu connectivity in some cases. Another potential problem is booting from XP straight into Ubuntu, whether they are on the same disk or not. Apparently XP does something to a NIC that can only be undone by turning the computer completely off and waiting for five to ten seconds before booting up XP. If you find that your issue persists if you turn off all XP computers on the local net and if you boot straight into Ubuntu, then clearly it has another cause.

Could you post the output of netstat -rn?
 
Old 10-25-2007, 06:01 PM   #8
fexter
LQ Newbie
 
Registered: Oct 2007
Posts: 14

Original Poster
Rep: Reputation: 0
Here it is:

Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0

It would be great to have some help cause I can still see/feel the slowness!!!

I love Ubuntu but I use my PC primarly to download stuff if I dont have the speed I will switch back to the Microsoft world!

Thanks!
 
Old 10-25-2007, 06:09 PM   #9
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
That looks OK to me and your NIC - if the information you gave is correct - should be well supported.

Is it something that you experience with all browsers? Firefox? Opera? Netscape? Konqueror? SwiftFox?

If you are using Firefox, you may want to type about:config in the address bar and adjust these:
network.dns.disableIPv6 -> true
network.http.pipelining -> true
network.http.pipelining.maxrequests -> 8
network.http.proxy.pipelining -> true

Of course, if this issue is p2p related, it's probably a matter of forwarding the proper port.
 
Old 10-26-2007, 08:43 AM   #10
fexter
LQ Newbie
 
Registered: Oct 2007
Posts: 14

Original Poster
Rep: Reputation: 0
Thanks it seems to be better! If ever there is anything else please let me know.

Thanks for your help!
 
  


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
Apt-Get Downloads Extremely Slow bburgy Linux - Software 1 08-06-2006 10:00 PM
XP Downloads Fast ... Ubuntu Downloads Slow :( Dinerty Ubuntu 2 07-23-2006 03:31 PM
Mozilla 1.7 + slow saving downloads kurrupt Linux - Software 1 05-22-2005 10:24 AM
Very slow FTP downloads with Proftpd goozlq Linux - Networking 2 01-24-2005 04:32 PM
Slow downloads through iptables NAT sglow Linux - Networking 14 06-05-2004 01:18 PM


All times are GMT -5. The time now is 03:11 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