Avatar of Sung71
Flag for Canada asked on

How come my download speed is so slow?

I ve installed VMware Workstation and installed Ubuntu 8.10 as my guest OS.
After the installations, Ubuntu prompted me to download 259 files through the internet.
My question is: It is downloading files at 700 bits to 30 kB/s speeds. My internet service provider's speed is 125 KB(kilobytes) per second. I ve never experienced this slow internet speeds. I ve never used Linux os before and wondering 'Is this what only free Operating Systems can offer?.' I am a Windows user and Ive never had this kind of slow download speed problem. Am I downloading at the peak traffic hours only? I don't think so. Under Windows I ve never had this kind of issue. I could let it download while I am sleeping. But still I don't think it would be done after I wake up?!!! Is it "free" the issue? No offence to Linux users. Just curious. Thanks.
P.S. Yesterday I ve tried to download these files. The speed went up to 70 kilobytes/s. Basically same as today.
Linux DistributionsLinuxVMware

Avatar of undefined
Last Comment
Michael Eager

8/22/2022 - Mon

Try to install VMWARE tools on Ubuntu.

If you don't know how to do this,
follow this link

A VMware guest always needs VMware Tools installed, however, I don't think the Tools affect speed. I just loaded up my Ubuntu machine (V6 unfortunately, as I do not have the time to upgrade it). I got a download speed of 6Mbits/sec which is the same as my native XP host would get, or my native Vista 64-bit laptop would get.

So I don't think Ubuntu is at fault, although you may have to scour the Ubuntu forum for tweaks. One thing to consider - my first test (several minutes before my second test) came out at 1.5Mbits/sec. The reason became soon apparent - the machine was downloading updates. When that was done, I did two tests at 6Mbits/sec.  .... ThinkPads_User

View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.

did you ever think about TCP tuning?
Here are some tips -
To change TCP settings, you add the entries below to the file /etc/sysctl.conf, and then run "sysctl -p".  
# increase TCP max buffer size setable using setsockopt()
  net.core.rmem_max = 16777216
  net.core.wmem_max = 16777216
# increase Linux autotuning TCP buffer limits
# min, default, and max number of bytes to use
# set max to at least 4MB, or higher if you use very high BDP paths
  net.ipv4.tcp_rmem = 4096 87380 16777216
  net.ipv4.tcp_wmem = 4096 65536 16777216

You should leave tcp_mem alone. The defaults are fine.
# don't cache ssthresh from previous connection
   net.ipv4.tcp_no_metrics_save = 1
   net.ipv4.tcp_moderate_rcvbuf = 1
# recommended to increase this for 1000 BT or higher
   net.core.netdev_max_backlog = 2500
# for 10 GigE, use this
# net.core.netdev_max_backlog = 30000    

I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck

Sung71, try to download a common file (i.e. a demo from a gaming site with a lot of bandwidth). If you still have low speed rates it means that as wool says you've got to set your connection properly. Otherwise it means that it's related to Ubuntu repositorie and you just did not switch from the default servers
Michael Eager

It is unlikely that setting TCP tuning will have any affect on download speed.  TCP buffer size in your ISP's router is (most likely) set to 1500.  Allocating larger buffers in your system will only waste memory space.  (TCP tuning on a local network is useful, on the other hand.)

How did you set up your network on VMware?  

If you use NAT, then your host system is acting like a router.  This takes machine cycles and can slow down network traffic.  

I use bridged networking with VMware and see the same download speed on host and guest machines.  This means that the host and guest systems have different IP addresses on a local network, with a router connecting between the Internet and the local network.  

>If you use NAT, then your host system is acting like a router.  This takes machine cycles and can slow down network traffic.  
Yes, on a system that handles one million of connections per day.. but on a small system is not even noticeable
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.

I used Bridged Networking on my Desktop computer to measure speed, but I was updating my XP Guest on my Vista laptop last night which is connected via NAT and speed was just as good.
..... T

Due to my lack of knowledge on this matter, I would like to close this thread.
I can not determine which one I should grant points to....
Maybe the xperts at EE can grant the points?

More due to your laziness.
Have you done what I told you? Try to download a file (like this one, https://apps.memopal.com/d/download_memopal.php , I know that the site has good speed). If it goes fast, it means that simply you did not configure your system repositories properly
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes

what is system repositories?

The update repository is a place to hold what components you want to keep updated and then keeps track of the updates.

I suggest the following: Main Menu -> System -> Administration, and pick Synaptic Program Manager. Review it and read the help documentation. Then pick Update Manager. Review it and read the help documentation. These two tools will not run together - run one, then the other.

I never bothered configuring these. I just used the default settings and never suffered for it.

You can try determining whether your speed issue is just for downloading updates (in which case read the documentation and configure updates via Synaptic Program Manager) or, if speed is slow for regular web browsing, in which case the problem is something else.
... T

A repository is a server container that holds all of our packages. Any Ubuntu ships with the default repositories, but they are slow. The first thing to do usually is to use a closer to you mirror, which will be much faster.

Where do you live and what is the content of /etc/apt/sources.list file?
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.

This is an odd one.

I can't see upgrading system files fixing a network speed problem.  First thing I would do is install 'iftop' and then run it like 'iftop -i <interface to watch>', for example 'iftop -i ppp0' or 'iftop -i eth0' and see what is using bandwidth on that interface.  You'll quickly be able to tell if something is eating your bandwidth.  If there is nothing suspicious there I would test other connectivity, local connectivity, something that does not include your internet link.  That way you can rule out the link, perhaps it is a VM issue?  Lastly, you don't need VMware tools installed on your guests.  It just helps improve performance when using the console inside the VIC as well as feed the host info about the guest, such as computer name, IP address, etc.

I do.
If he's still on the default repos, apt-get speed will be poor

I misread the question; I didn't understand it was only Ubuntu updates that were slow, but a general internet slowness through his VM.
Your help has saved me hundreds of hours of internet surfing.

It was just downloading the updates that were slow.
Sorry for all the troubles I caused you all.
I was just impatient with the slowness of Ubuntu.
I just wanted to know why that was.
Thank you all.

I explained what may be wrong with your connection.
Tell me the nation in which you live and what is the content of /etc/apt/sources.list file

I no longer have Ubuntu operating system installed on any of my computers.
Thank you all.
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.

VMware Workstation 30 day trial period has ended.

So what? You asked a question on a Linux matter (because it was not a VMWare issue, as a Linux misconfiguration) and you had an answer (notwithstanding your lack of collaboration), it's #23770588
Michael Eager

I agree with ai_ja_nai.  The author asked a question, although it was unclear and never clarified that he was having problems with access to a repository, not all network connections.  Several people offered assistance.

The fact that the author has an unrelated issue (VMware trial period ending) has little to do with the question or the answers.  The author delayed responding to the answer for three weeks.  
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy