Lots of IO during startup

Bug #1066816 reported by Michal Hruby
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
unity-lens-applications
Fix Committed
Medium
Michal Hruby
6.0
Fix Committed
Medium
Michal Hruby
unity-lens-applications (Ubuntu)
Fix Released
Undecided
Unassigned
Quantal
Fix Released
Undecided
Unassigned

Bug Description

[Impact]

Applications lens often loads very slowly, this is partially caused by doing lots of IO reading from the Software center's databases.

[Test Case]

There's no easy way to test this, with the fix, apps lens should start up to 15% faster, but this is hardware specific. Therefore the testing needs to ensure the applications lens can still be used as it used to before the fix.

[Regression potential]

- Previewing applications doesn't work
- Application rating is not displayed in the previews (or always shows 0 reviews).

=====================
Original description:

When the system is starting up and lenses are launched, apps lens spends lots of time doing IO - opening the software center's xapian databases plus the ratings database.

Since the ratings filter was removed from apps lens, we now need the ratings database only when creating previews - therefore the ratings database is ideal candidate for lazy initialization (only when a preview is requested), which will improve the bad IO situation.

Related branches

Michal Hruby (mhr3)
Changed in unity-lens-applications:
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Michal Hruby (mhr3)
Changed in unity-lens-applications:
milestone: none → 6.10.0
Michal Hruby (mhr3)
Changed in unity-lens-applications:
milestone: 6.10.0 → 7.0.0
Michal Hruby (mhr3)
description: updated
Changed in unity-lens-applications:
status: In Progress → Fix Committed
description: updated
Revision history for this message
Chris Halse Rogers (raof) wrote : Please test proposed package

Hello Michal, or anyone else affected,

Accepted unity-lens-applications into quantal-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/unity-lens-applications/6.10.0-0ubuntu1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please change the bug tag from verification-needed to verification-done. If it does not, change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in unity-lens-applications (Ubuntu Quantal):
status: New → Fix Committed
tags: added: verification-needed
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

Seems to work fine without regressions.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in unity-lens-applications (Ubuntu):
status: New → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity-lens-applications - 6.10.0-0ubuntu1

---------------
unity-lens-applications (6.10.0-0ubuntu1) quantal-proposed; urgency=low

  * New upstream release.
    - Dash - 'More suggestions' icons in App Lens are too large (LP: #1052513)
    - The look of price on 'Buy' button in the preview is inconsistent with
      other lenses (LP: #1061630)
    - Lots of IO during startup (LP: #1066816)
 -- Lukasz 'sil2100' Zemczak <email address hidden> Tue, 16 Oct 2012 13:47:18 +0200

Changed in unity-lens-applications (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Clint Byrum (clint-fewbar) wrote : Update Released

The verification of this Stable Release Update has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regresssions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity-lens-applications - 6.10.0-0ubuntu1

---------------
unity-lens-applications (6.10.0-0ubuntu1) quantal-proposed; urgency=low

  * New upstream release.
    - Dash - 'More suggestions' icons in App Lens are too large (LP: #1052513)
    - The look of price on 'Buy' button in the preview is inconsistent with
      other lenses (LP: #1061630)
    - Lots of IO during startup (LP: #1066816)
 -- Lukasz 'sil2100' Zemczak <email address hidden> Tue, 16 Oct 2012 13:47:18 +0200

Changed in unity-lens-applications (Ubuntu Quantal):
status: Fix Committed → Fix Released
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.