LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 12-22-2009, 09:59 AM   #1
andrew375
Member
 
Registered: Mar 2007
Distribution: Lubuntu, Ubuntu 10.10, Knoppix
Posts: 53

Rep: Reputation: 16
slow updates


Whenever I do an update on my laptop the update speed is really slow.

I have no tinterweb at home so I bring it in to work to update via the wireless network. Signal strength is 70%+ and consistent. The bit rate of the wireless is reported by iwconfig as 54Mb/sec and picture heavy web pages come down really fast as do streaming movie clips. But when down loads are in progress by the update manager the highest speed has been 71 KB/s with the normal speed being 51-56 KB/s going down to 200 bits/sec at times. I've tried various servers with the same result. I use the "find the best server tool" in the software sources application.

I know it is not my network connection as when the download is reported to be going really slow I can click on a picture heavy page like BBC news and it completes downloading almost instantly.

Due to network security restrictions I cannot connect to the network here via Ethernet and the wireless network allows HTTP protocol access only; no FTP.

So are the update servers slow?
 
Old 12-23-2009, 03:34 AM   #2
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
Quote:
Originally Posted by andrew375 View Post

So are the update servers slow?
It depends what you mean by slow
Yes it is not constant at the same speed .
My down load speed max 8 Mb/s that what I mostly get .
 
Old 12-23-2009, 06:54 AM   #3
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 291Reputation: 291Reputation: 291
Try using a different Ubuntu mirror for the updates. Go to: system > administration > software sources. In the drop down box that says:
"Download from" try choosing a different mirror, preferably one close to you. Then click "reload" when you are prompted, and see if you get better speed. Some mirrors may be faster than others.
 
Old 12-23-2009, 11:08 AM   #4
alfplayer
LQ Newbie
 
Registered: Mar 2009
Location: Ciudad de Buenos Aires, Argentina
Distribution: Parabola GNU/Linux-libre
Posts: 23

Rep: Reputation: 0
There is a thread about this in this subforum about a week old.
 
Old 12-24-2009, 05:28 AM   #5
andrew375
Member
 
Registered: Mar 2007
Distribution: Lubuntu, Ubuntu 10.10, Knoppix
Posts: 53

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by tommcd View Post
Try using a different Ubuntu mirror for the updates.
I try that every time I do an update. I use both the find the best server tool and also the mirror that is (geographically) closest to me. The speed is about the same either way. I've notice that the reported download speed will occasionaly jump to as high as 4Mbyte/sec for as long as five or six seconds but then drops back down to the usual 50 - 55 Kbyte/sec. I also experience periods of a minute or more when there is no activity at all, again it is not at my end as still pull down web pages as normal.

Whilst the update is in progress I nothing else with the laptop except to check that my connection hasn't been dropped when it looks like things have stopped.

It has just taken me sixteen hours to update to the current version.
 
Old 12-24-2009, 06:10 AM   #6
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 291Reputation: 291Reputation: 291
Quote:
Originally Posted by andrew375 View Post
I try that every time I do an update. I use both the find the best server tool and also the mirror that is (geographically) closest to me. The speed is about the same either way. ...
It has just taken me sixteen hours to update to the current version.
Well, it should not (obviously) take that long. I tried searching for this on the Ubuntu forums. There are a number of threads about this. The only solution posted was to try different mirrors. I think most of the Ubuntu mirrors are http, so not being able to use ftp should not be a problem.
Are you behind a proxy or something? If so, be sure it is set correctly in Ubuntu.
Perhaps try the updates at a different time of day if you can. You may be accessing the mirrors you use during peak usage times. I'm not sure what else you could try.

Last edited by tommcd; 12-24-2009 at 06:13 AM.
 
Old 12-24-2009, 06:39 AM   #7
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
You could try to disable ipv6 in
/etc/modprobe.d/aliases
change
Code:
alias net-pf-10 ipv6 on
to
Code:
alias net-pf-10 ipv6 off
If this doesn't work, try
Code:
sudo sysctl -w net.ipv4.tcp_{window_scaling,timestamps,sack}=0
 
  


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 downloads/updates ifconfig has large overruns TheWabbit Linux - Networking 3 06-21-2009 11:53 PM
ZENWorks slow at retrieving updates in 10.2 swampdog2002 SUSE / openSUSE 1 07-18-2008 04:41 AM
OpenOffice WP's slow word count updates newbiesforever Linux - Software 4 07-04-2007 10:35 PM
yum check-update says no updates when there are updates? MarkEHansen Linux - General 7 12-29-2006 05:16 PM
YAST2 is slow and Updates don't work Guitarist88 SUSE / openSUSE 6 05-26-2006 12:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

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