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.
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
Hi,
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
wmp
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.
ai_ja_nai
>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
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
Sung71
ASKER
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?
ai_ja_nai
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
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
ai_ja_nai
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?
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.
ai_ja_nai
I do.
If he's still on the default repos, apt-get speed will be poor
stephenhoekstra
I misread the question; I didn't understand it was only Ubuntu updates that were slow, but a general internet slowness through his VM.
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.
ai_ja_nai
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
Sung71
ASKER
I no longer have Ubuntu operating system installed on any of my computers.
Thank you all.
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.
If you don't know how to do this,
follow this link