oneiric have reached EOL now ; closing that report. Feel free to report
against a newer version if needed, with ubuntu-bug
** Changed in: software-center (Ubuntu)
Status: Confirmed = Invalid
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is
Sorry my last post was a bit vague as to the triggers for the
bottlenecks.
To follow up my last entry:
the get_mset() calls are actually made in _get_estimate_nr_apps_and_nr_pkgs
which is called from _blocking_perform_search()
These are Triggered by _build_homepage_view in
ok, so it seems another big bottleneck in startup is Xapian calls.
Specifically calls to get_mset() these calls take over 4 seconds in
total on my machine.
Most of these calls are made from _blocking_perform_search() in
softwarecenter/db/enquire.py
Again aside from upstream optimizations to
I just couldn't leave this one alone. The cataloged_times is just a dictionary
so there is no real need to use pickle to serialise it. I loaded the file into
python and created a serialise file using msgpack instead.
This reduced the file size from 3.1MB to 1.7MB. I then changed software center
I've filled my suggested improvement in the debian bug system for apt-
xapian-index I guess its now up to upstream to agree.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=689717
** Bug watch added: Debian Bug tracker #689717
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=689717
--
You
Ran a quick performance test here is the result:
2012-10-04 22:23:11,027 - softwarecenter.performance - DEBUG - _parse_menu_tag:
1.55758905411
2012-10-04 22:23:11,324 - softwarecenter.performance - DEBUG -
cat_parser.parse_applications_menu(): 1.86049294472
So there is definitely over a second
Ok, turns out the xml parsing isn't to bad after all. I tracked this one
all the way back to:
# get cataloged_times
cataloged_times = {}
CF = /var/lib/apt-xapian-index/cataloged_times.p
if os.path.exists(CF):
try:
cataloged_times = pickle.load(open(CF))
except Exception as e:
It seems with the latest speedup2 code changes in 5.3.14.2 Software
Center gets to main window visible faster but is slower elsewhere. Here
the output from my machine.
timothy@timothy-1005P:~$ software-center --measure-startup-time
2012-10-03 21:31:15,025 - softwarecenter.performance - DEBUG -
Python is not good choice for desktop systems. It's too slow for it.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/845579
Title:
software-center terribly slow, ubuntu freezing
To manage
I still have to verify this with actual benchmarking but one place that
looks like it will benefit from optimising is here:
softwarecenter.performance - DEBUG -
cat_parser.parse_applications_menu(): 1.73268795013
The code called is in /softwarecenter/db/categories.py and from a quick
scan over
Running software-center with --measure-startup-time I get the following:
software-center --measure-startup-time
2012-09-08 18:10:08,170 - softwarecenter.performance - DEBUG - opening the
pkginfo: 0.0926611423492
2012-09-08 18:10:08,315 - softwarecenter.performance - DEBUG - opening the
Nogero, that is obviously a different bug. Please report it separately.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/845579
Title:
software-center terribly slow, ubuntu freezing
To manage
Yes, Ubuntu Software center is horribly slow, inconsistent, hangs,
poorly designed and confusing. The add-on section is weird too. If you
click Aply changes in the addon section it just goes ahead and starts
installing the software without confirmation. Who designed/wrote this
stuff and how did
Take a Geany for example - clicking on any additional package freezes
Ubuntu Software Center for 30~60 seconds... additionally at that time
compiz and Xorg consumes suspiciously lot of processor time.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is
Same here
any clue?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/845579
Title:
software-center terribly slow, ubuntu freezing
To manage notifications about this bug go to:
Any movement on this.
Is there a reason that it takes so long to be usable?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/845579
Title:
software-center terribly slow, ubuntu freezing
To manage
Yes, it's really slow.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/845579
Title:
software-center terribly slow, ubuntu freezing
To manage notifications about this bug go to:
From a cold boot SC takes 15 seconds to be usable. Also installing
software takes much longer than synaptic.
64 bit. AMD athlon 64 x2 dual core 5200+
2 gig ram.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
Here I use if a i5 2410M, 4 GB of Ram 64bit and takes 12 seconds to
fully load and go.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/845579
Title:
software-center terribly slow, ubuntu freezing
To
** Changed in: software-center (Ubuntu)
Status: New = Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/845579
Title:
software-center terribly slow, ubuntu freezing
To manage
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/845579
Title:
software-center terribly slow, ubuntu freezing
To manage notifications about this bug go to:
I think the same issue happened in the Bug #556375. and according to the
that bug this bug must be modified before.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/845579
Title:
software-center
22 matches
Mail list logo