Ubuntu

apt compressed indexes seriously slow down synaptic

Reported by Harry on 2010-11-15
84
This bug affects 16 people
Affects Status Importance Assigned to Milestone
apt (Ubuntu)
Low
Unassigned

Bug Description

Binary package hint: apt

The new update to packages apt, apt-transport-https and apt-utils (v. 0.8.8ubuntu3) seriously slows down the newest synaptic (v. 0.70~pre2ubuntu1).
Scrolling synaptic is more or less impossible.
I have a fully upgraded Natty 64-bit setup and a NVidia GTX 285 graphics card.
I am using latest nvidia-current_260.19.21 driver.

Downgrading apt packages to the previous version 0.8.8ubuntu2 works and all is well.

Martin Pitt (pitti) wrote :

This happens when enabling compressed indexes (which ubuntu3 now does by default), I can reproduce this here.

Changed in apt (Ubuntu):
assignee: nobody → Martin Pitt (pitti)
importance: Undecided → High
status: New → In Progress
Martin Pitt (pitti) wrote :

BTW, it's still fast with ubuntu3 and uncompressed indexes in /var/lib/apt/lists, and still slow with compressed indexes and ubuntu2, so it's not a toolchain/C++ issue.

Harry (harry33) on 2010-11-16
description: updated
Harry (harry33) wrote :

New update 0.8.9ubuntu2 fixes this bug.
I do not know if the properties that caused this bug (enable of compressed indexes) was withdrawn.
Perhaps Martin Pitt can comment on this.

Changed in apt (Ubuntu):
status: In Progress → Fix Released
Martin Pitt (pitti) wrote :

Reopening. I didn't see anything in 0.8.9 which would have fixed this, and I can still reproduce it with this version. I assume something else was different for you, like you had a current xapian cache, or uncompressed apt lists, etc.

Changed in apt (Ubuntu):
status: Fix Released → In Progress
Harry (harry33) wrote :

Martin,
You are of course right about this.
My system only seemed to be OK. The speed lasted two boot ups.
After that, it was extremely slow again and I had to downgrade to the 0.8.8ubuntu2 version to recover this issue.
So this is definitely not fixed yet.

Harry (harry33) wrote :

Martin Pitt and Michael Vogt,
Does this (python-apt_0.7.100ubuntu1) update have something to do with this bug here?

It says:
 * tests/test_apt_cache.py:
    - fix tests to work if apt compressed indexes are enabled

Harry [2010-11-24 10:24 -0000]:
> Martin Pitt and Michael Vogt,
> Does this (python-apt_0.7.100ubuntu1) update have something to do with this bug here?

Only indirectly.
--
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)

Martin Pitt (pitti) on 2010-11-25
tags: added: apt-compressed-indexes
summary: - [Natty] apt_0.8.8ubuntu3 seriously slows down synaptic
+ apt compressed indexes seriously slow down synaptic
Martin Pitt (pitti) wrote :

This gets mitigated by disabling compressed apt index by default again for now. It's easy enough to reenable locally for reproducing the bug, so lowering the severity.

apt (0.8.9ubuntu4) natty; urgency=low

  [ Michael Vogt ]
  * cmdline/apt-key:
    - set timeout of wget for net-update to 90 seconds (thanks to \sh)

  [ Martin Pitt ]
  * Revert r1819 and r1820 to disable compressed indexes by default again.
    Testing has brought up a few places where this seriously degrades
    performance, mostly in applications which iterate through all available
    package records, like update-apt-xapian-index or synaptic. See
    https://bugs.launchpad.net/ubuntu/+bugs?field.tag=apt-compressed-indexes

 -- Martin Pitt <email address hidden> Thu, 25 Nov 2010 08:50:37 +0100

Changed in apt (Ubuntu):
importance: High → Low
status: In Progress → Triaged
Harry (harry33) wrote :

Confirmed, synaptic works fluently with the apt_0.8.9ubuntu4 flavour.

Martin Pitt (pitti) on 2011-11-23
Changed in apt (Ubuntu):
assignee: Martin Pitt (pitti) → nobody
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers