Poor performance while "Calculating changes"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
update-manager (Ubuntu) |
Fix Released
|
Medium
|
Michael Vogt |
Bug Description
I've found performance issue in Distribution Upgrade -> phase Setting new software channels -> Calculating the changes....
Writing in
* /var/log/
is IMHO done char by char.
When mounting
* sudo mount -t tmpfs -o size=256M tmpfs /var/log/
upgrade is much faster.
I found this inconvenience while upgrading Natty to Oneiric with broken dependencies. Upgrade couldn't solve manually installed ia32-libs with nspluginwrapper. When I was watching
* tail -f /var/log/
characters were added slowly one by one. Writing 42KB log shouldn't take almost a minute :).
Test results committed afterwards:
Conflicted on HDD 1min+
Conflicted on RAM 16sec
Successful on HDD 28sec
Successful on RAM 12sec
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: update-manager 1:0.150.3
ProcVersionSign
Uname: Linux 2.6.38-11-generic x86_64
NonfreeKernelMo
Architecture: amd64
Date: Fri Sep 16 20:39:48 2011
GConfNonDefault:
/apps/
/apps/
/apps/
/apps/
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100427.1)
PackageArchitec
SourcePackage: update-manager
UpgradeStatus: Upgraded to natty on 2011-09-16 (0 days ago)
Per mvo, this is probably in the apt code rather than in update-manager itself, since these are apt logs