high cpu usage on download (not optimised SHA256, SHA512, SHA1)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt (Ubuntu) |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
http process takes about 20% on intel i5-3317. Here is output of ps aux:
root 4309 21.7 0.0 37108 2344 pts/2 S+ 18:17 0:01 /usr/lib/
it can be easy reproduces with "apt-get download firefox-dbg" or any other upgrade realted command.
The reason of this overhead are this functions:
22,34% http libapt-
14,81% http libapt-
8,11% http libapt-
5,62% http libapt-
libapt uses own implementation of this hasches without any optimisation. Are there any reason why libapt do not use
openssl? Beside current version of openssl has AVX optimised SHA* implementations.
ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: apt 0.9.7.7ubuntu1
ProcVersionSign
Uname: Linux 3.8.0-4-generic x86_64
ApportVersion: 2.8-0ubuntu4
Architecture: amd64
Date: Tue Feb 12 18:12:33 2013
InstallationDate: Installed on 2012-09-13 (152 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Alpha amd64 (20120913.1)
MarkForUpload: True
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_
LANG=de_DE.UTF-8
SHELL=/bin/bash
SourcePackage: apt
UpgradeStatus: Upgraded to raring on 2013-02-06 (5 days ago)
Changed in apt (Ubuntu): | |
importance: | Undecided → Medium |
tags: |
added: xenial removed: raring vivid |
also get that issue on Vivid i386; mainly when the index is rebuilt when using synaptic