3G download speed is very slow compared to Hardy on elderly PIII computers or Microsoft Windows OSs

Bug #525049 reported by Hans Hellén
54
This bug affects 12 people
Affects Status Importance Assigned to Milestone
Linux
Invalid
Undecided
Unassigned
linux (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: ppp

A mobile broadband download is very slow (only 10–20 % of what it is supposed to be) in Jaunty, Karmic and Lucid Lynx Alpha 3 (and also in Hardy used in more modern computers, ie. P4->) 0.4–0.6 Mb/s, when the theoretical max. speed of the affected ISP's plan is 3.6 Mb/s (in practise the speed is about 3 Mb/s in Windows Vista).

To reproduce:
Download an Ubuntu iso-image from a nearest mirror. In Hardy used with elderly PIII laptop (see Comment #2 for lshw) download speed is 250–300 kB/s, which is a good five times faster than in Jaunty (about 60 kB/s).

This is a regression and performance issue related to download speed, which is at worst ten times slower on average compared to Windows OS's (40 kB/s vs. 400 kB/s). The extremely slow speed seems to be USB/3G modem independent (tested in Nokia CS-15, Huawei e1552, Huawei E230, Nokia cell phone 6220 classic, ...). Currently there is a Finnish discussions going on at
http://forum.ubuntu-fi.org/index.php?topic=31241.msg244415#msg244415
http://forum.ubuntu-fi.org/index.php?topic=31241.msg244345#msg244345
Karmic:
http://forum.ubuntu-fi.org/index.php?topic=29763.msg243897#msg243897

Interesting is that, when you download for example four Ubuntu distros in the same time, your download speed is approximately: 60 kB/s + 60 kB/s + 60 kB/s + 60 kB/s = 240 kB/s. When you cancel three of those downloads, you will continue with the "normal" Jaunty download speed that is surprisingly 60 kB/s. Some other day the individual download speed could be only about 40 kB/s. On the other hand, torrent download (several seeders) is quite fast: about 300 kB/s.

Tested both near the capital city centre of Helsinki and also at the very edge of the 3G field at countryside. There is no diffenrence between locations.

Tested with: NetworkManager and Wvdial (and by other people with umtsmon and vodavone-mobile-connect). No difference.

Most probably these speed / network bandwidth issues are related only to one internet service provider called Sonera (TeliaSonera) in Finland. Nevertheless, last autumn the "HelpDesk" at Sonera did not comment this issue.

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
ExecutablePath: /usr/sbin/pppd
Package: ppp 2.4.5~git20081126t100229-0ubuntu2
ProcAttrCurrent: unconfined
ProcEnviron: PATH=(custom, no user)
SourcePackage: ppp
Uname: Linux 2.6.28-18-generic i686

Revision history for this message
Hans Hellén (hans-hellen) wrote :
Revision history for this message
Hans Hellén (hans-hellen) wrote :

Very interesting findings: I found a hardware dependency!
The bandwidth is quite fast 270–290 kB/s (almost as fast as it is supposed to be in practice – eg. in M$ Vista even 400 kB/s. The nominal speed used in a bit false marketing is 3,6 Mb/s) using Hardy Live-CD with an old IBM laptop with Pentium III (800 MHz). In the same time, using Hardy Live-CD with a more recent IBM desktop with Pentium 4 (3.20 GHz) the speed is slow 80 kB/s (almost as slow as in Jaunty, ie. ~40–55 kB/s).

I did several download tests from Ubuntu servers during about two hours today. I Have also earlier found that Hardy Live-CD gives a bit faster download compared to Jaunty. Once, in the otherwise fast IBM laptop, the download started slower (about 120–150 kB/s), but that could have been a network or server "artefact", because when I immediately started a new download from other place the speed was again 270–290 kB/s.

Jaunty (others have tested Karmic, check the links on my earlier post) is slow (40–55 kB/s) also in Acer Aspire 3623wxci laptop with Intel Celeron M 370 (1,5 GHz) and HP Compaq Business Desktop dc7100 P4 540 (3,2 GHz Prescott Socket T).

Who can make conclusion? Should this bug report be extended to affect several packages?

Revision history for this message
Hans Hellén (hans-hellen) wrote :
Revision history for this message
Hans Hellén (hans-hellen) wrote :

With Fujitsu Siemens laptop the bandwidth was about

80 kB/s (Live-CD 8.04.3*)
60–80 kB/s (up to date Karmic installation with WVDIAL programme)
80–90 kB/s maybe, but the speed was interestingly widely fluctuating between 54–110 kB/sec (seen in Firefox Download window) and 34–129 KiB/s (seen in System Monitor). During my second download test the fluctuation was not so strong any more, resulting in about 70 kB/s on the average.

The most modern computer I have tested, the Compal JFL92 (T8100 Core 2 Duo; Intel Mobile PM965 Express Chipset) gave us some very slow speeds of about

20 kB/s (Live-CD Hardy)
50 kB/s, but for the first half a minute or less 20–80 kB/s (Lucid Lynx 10.04 alpha3 Live-CD)

* In the Hardy Live CD you have to manually install (eg. from USB memory stick) a newer NetworkManager and dependencies and then command “sudo /etc/init.d/dbus restart” and depending on your hardware, take care that jockey-gtk
, b43 and b43-fwcutter do not disturb you (stop them or rmmod). Then “sudo /etc/init.d/NetworkManager start” and launch (alt+F2) nm-applet. Finally, plug in the modem and do the Nokia installation from the USB stick itself.

Changed in ppp (Ubuntu):
status: New → Confirmed
Revision history for this message
Hans Hellén (hans-hellen) wrote :

Odd hardware related issue (see comment #2, PIII vs. P4).

affects: ppp (Ubuntu) → linux (Ubuntu)
tags: added: lucid
Changed in linux:
assignee: nobody → eetu.piki@gmail.com (eetu-piki)
status: New → Confirmed
assignee: eetu.piki@gmail.com (eetu-piki) → nobody
Revision history for this message
Pertti Nieminen (julaos) wrote :

Sonera 3g connection is very slow

Changed in linux (Ubuntu):
assignee: nobody → Pertti Nieminen (julaos)
description: updated
Changed in linux (Ubuntu):
assignee: Pertti Nieminen (julaos) → nobody
summary: - 3G download speed is very slow compared to Hardy or Microsoft Windows
- OSs
+ 3G download speed is very slow compared to Hardy on elderly PIII laptop
+ or Microsoft Windows OSs
Revision history for this message
Hans Hellén (hans-hellen) wrote : apport-collect data

Architecture: i386
DistroRelease: Ubuntu 9.04
HibernationDevice: RESUME=UUID=6553b48b-97a9-4a47-86c2-b484c4f6f23f
MachineType: Acer Aspire 3620
Package: linux-image-2.6.28-18-generic 2.6.28-18.59
PackageArchitecture: i386
ProcCmdLine: root=UUID=268dba69-3f21-41f7-a31d-deba1c021d91 ro quiet splash
ProcEnviron:
 SHELL=/bin/bash
 LANG=fi_FI.UTF-8
ProcVersionSignature: Ubuntu 2.6.28-18.59-generic
Uname: Linux 2.6.28-18-generic i686
UserGroups: adm admin audio cdrom dialout dip fuse lpadmin netdev plugdev sambashare video

Revision history for this message
Hans Hellén (hans-hellen) wrote : Re: 3G download speed is very slow compared to Hardy on elderly PIII laptop or Microsoft Windows OSs
Revision history for this message
Hans Hellén (hans-hellen) wrote :
Revision history for this message
Hans Hellén (hans-hellen) wrote :

Confirmed that the speed is faster with very old hardware:
With an old HP Vectra VL400 desktop with Pentium III (733 MHz) the speed is a quite lovely 270 kB/s. OS was an up to date Hardy Heron 8.04. Linux xxx 2.6.24-27-386 #1 Mon Feb 22 18:19:33 UTC 2010 i686 GNU/Linux.

summary: - 3G download speed is very slow compared to Hardy on elderly PIII laptop
- or Microsoft Windows OSs
+ 3G download speed is very slow compared to Hardy on elderly PIII
+ computers or Microsoft Windows OSs
Revision history for this message
Hans Hellén (hans-hellen) wrote :

Typing error at comment #4:
> 80–90 kB/s maybe, but the speed was interestingly widely fluctuating between 54–110 kB/sec (seen in Firefox
> Download window) and 34–129 KiB/s (seen in System Monitor). During my second download test the
> fluctuation was not so strong any more, resulting in about 70 kB/s on the average.

I forgot to mention here, that the fluctuation was observed using Ubuntu 10.04 LTS (Lucid Lynx) Alpha 3 live-CD.

description: updated
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

I'm affected as well. I narrowed the problem down to TCP connections. Indeed two (or more) TCP connections each get 15-20kB/s in the Sonera mobile network, but no more. UDP on the other hand apparently flows without problems, so somehow Sonera hardware/software manages to slow down all TCP connections.

I found out that:
echo 0 | sudo tee /proc/sys/net/ipv4/tcp_window_scaling

...ie. disabling TCP window scaling removes the problem with possible side-effects (nothing that severe compared to the benefits so far it seems, though). Another person I helped taking that into use reported that speedtest results rose from ca. 140kbps to 1,3Mbps. I can myself only test that indeed I'm now getting full 384kbit/s my subscription allows.

No other operators are affected, but somehow Sonera's hw/sw in its mobile network is intolerably incompatible with Linux at the moment. I'm not sure if Linux could do some detection or something better when it comes to TCP window scaling in that environment.

Revision history for this message
Hans Hellén (hans-hellen) wrote :

Now in Lucid Lynx the download speed seems to be the same as in Windows. Nowadays, there is no need to turn of the TCP window scaling. If you have done it, i'd recommend to turn it on again by commanding:

echo 1 | sudo tee /proc/sys/net/ipv4/tcp_window_scaling

Interestingly, turning of the TCP windows scaling did not have any (positive) effect on speed on elderly computers (described in the attachment: lshw-IBM-laptop-fast.txt).

Changed in linux:
status: Confirmed → Fix Committed
status: Fix Committed → Fix Released
Changed in linux (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Mehmet Zorba (meetmem) wrote :

Can you please share the fix with us. How did you overcome this issue?

Revision history for this message
Hans Hellén (hans-hellen) wrote :

I just compared the speed in up-to-date Lucid Lynx, in Jaunty Jackalope used by live-CD (and also Windows XP). Interestingly, there was no difference!

So, it has to be concluded that this issue was due to some unknown problems within the ISP (TeliaSonera or likely just the Finnish branch Sonera) itself. The "customer service" did not comment this issue a year ago... What a waste of time!

Changed in linux:
status: Fix Released → Invalid
Changed in linux (Ubuntu):
status: Fix Released → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.