You have been subscribed to a public bug:
When I type into the dash HUD the performance is terrible to the point
of making the HUD unusable. I ran top while I was typing and I watched
dash start up multiple copies of 'locate' as I typed into the HUD.
Look at how much CPU time locate takes on my file system for a non
existent string.....
jonsmirl@terra:/var/lib/mlocate$ time locate dkdkdkddk
real 0m4.913s
user 0m4.864s
sys 0m0.032s
As I type three or four copies of 'locate' are getting spawned as the
letters are typed in or I hit back space. The effect of this is to
completely saturate my I7 CPU to the point of making the system
unresponsive.
1) don't start these incremental searches over the entire file system
until you have at least four letters to work with. The results from less
than four letters are useless because they will match too many files.
Limit the short string searches to only installed applications.
2) don't let multiple 'locate' commands get started. If you want to
change the string make sure the prior locate is killed first.
3) Get a project started for Ubuntu 13 where an incremental search
feature is added to the 'locate' command.
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: dash 0.5.7-3ubuntu1
ProcVersionSignature: Ubuntu 3.5.0-17.27-generic 3.5.5
Uname: Linux 3.5.0-17-generic x86_64
ApportVersion: 2.6.1-0ubuntu1
Architecture: amd64
Date: Sun Oct 7 15:22:25 2012
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
SourcePackage: dash
UpgradeStatus: Upgraded to quantal on 2012-09-18 (19 days ago)
** Affects: unity (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug quantal running-unity
--
dash is forking multiple copies of 'locate' ruining performance
https://bugs.launchpad.net/bugs/1063394
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to unity in Ubuntu.
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp