http://bugzilla.novell.com/show_bug.cgi?id=537870 User poeml@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=537870#c2 Summary: download speed seems grossly underestimated Classification: openSUSE Product: openSUSE 11.2 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: libzypp AssignedTo: zypp-maintainers@forge.provo.novell.com ReportedBy: poeml@novell.com QAContact: qa@suse.de Found By: --- When downloading packages, zypper seems to report a much lower speed than what's actually the case. I was noticing this when discussing too slow downloads and non-saturated links. When comparing the wall clock time that it takes to download a large package, the download via zypper isn't actually much slower than the speed I get with a manual aria2c call. There is a slight difference, but not one that large as the number printed by zypper would account for. root@linux-7q6o:~ # rm kernel-source-2.6.31-7.1.noarch.rpm* root@linux-7q6o:~ # time aria2c --follow-metalink=mem --check-integrity=true --file-allocation=none --server-stat-of=/var/cache/zypp/aria2.stats --server-stat-if=/var/cache/zypp/aria2.stats --uri-selector=adaptive --use-head=false --max-tries=5 --max-concurrent-downloads=2 --header="X-ZYpp-AnonymousId: da93627e-e5ca-42ba-8ebc-122fe15c9a8d" --header="X-ZYpp-DistributionFlavor: ftp" --header=Pragma: --connect-timeout=180 http://download.opensuse.org/factory/repo/oss/suse/noarch/kernel-source-2.6.... 2009-09-08 19:17:00.633052 NOTICE - ServerStat file /var/cache/zypp/aria2.stats loaded successfully. 2009-09-08 19:17:00.777625 NOTICE - Download complete: /root/kernel-source-2.6.31-7.1.noarch.rpm.metalink 2009-09-08 19:17:00.860744 ERROR - Checksum error detected. file=/root/kernel-source-2.6.31-7.1.noarch.rpm [#2 SIZE:66.2MiB/67.2MiB(98%) CN:5 SPD:1.5MiBs] 2009-09-08 19:17:28.774711 NOTICE - Download complete: /root/kernel-source-2.6.31-7.1.noarch.rpm 2009-09-08 19:17:28.802228 NOTICE - ServerStat file /var/cache/zypp/aria2.stats saved successfully. Download Results: gid|stat|avg speed |path/URI ===+====+===========+=========================================================== 1| OK| n/a|[MEMORY]kernel-source-2.6.31-7.1.noarch.rpm.metalink 2| OK| 2.4MiB/s|/root/kernel-source-2.6.31-7.1.noarch.rpm Status Legend: (OK):download completed. aria2c --follow-metalink=mem --check-integrity=true --file-allocation=none 0.46s user 23.55s system 84% cpu 28.312 total aria2c shows 1.5 MB/s being transferred, and is done after 30 seconds. root@linux-7q6o:~ # rm -r /var/cache/zypp/packages/factory root@linux-7q6o:~ # time zypper in -f -d kernel-source Loading repository data... Reading installed packages... Resolving package dependencies... The following NEW package is going to be installed: kernel-source 1 new package to install. Overall download size: 67.3 MiB. After the operation, additional 334.1 MiB will be used. Continue? [y/n/?] (y): y Retrieving package kernel-source-2.6.31-7.1.noarch (1/1), 67.3 MiB (334.1 MiB unpacked) Retrieving: kernel-source-2.6.31-7.1.noarch.rpm [done (16.5 KiB/s)] zypper in -f -d kernel-source 1.32s user 32.19s system 75% cpu 44.538 total zypper shows 16.5 kb/s being transferred, and is done after 44 seconds (some the time is zypper startup time). -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.