On 28/04/11 20:55, Niels Mayer wrote:
Although I intend to investigate all the features tracker provides in
MeeGo, I don't want to do it right now. And it was unpredictably
taking up precious CPU cycles on this wee Atom N455, every drop of
which is needed for processing multimedia happening "right now."
In /etc/xdg/autostart/ note the following files which start up tracker
and other services after the system reaches runlevel 5:
...............
-rw-r--r-- 1 root root 281 2011-04-14 04:30 anerley-account-starter.desktop
-rw-r--r-- 1 root root 2619 2011-04-15 06:31 bluetooth-panel.desktop
-rw-r--r-- 1 root root 2135 2011-02-25 05:05 carrick.desktop
-rw-r--r-- 1 root root 4273 2011-04-27 04:55 evolution-alarm-notify.desktop
-rw-r--r-- 1 root root 5078 2011-04-26 05:16 gnome-keyring-pkcs11.desktop
-rw-r--r-- 1 root root 4785 2011-04-26 05:16 gnome-keyring-secrets.desktop
-rw-r--r-- 1 root root 3892 2011-04-26 05:16 gnome-keyring-ssh.desktop
-rw-r--r-- 1 root root 7372 2011-03-16 16:44 gnome-screensaver.desktop
-rw-r--r-- 1 root root 2892 2011-04-14 04:43 gnome-settings-daemon.desktop
-rw-r--r-- 1 root root 9052 2011-04-20 05:50 gpk-update-icon.desktop
-rw-r--r-- 1 root root 365 2011-02-21 20:56 matchbox-panel.desktop
-rw-r--r-- 1 root root 1180 2011-04-20 04:34 meego-panel-myzone.desktop
-rw-r--r-- 1 root root 608 2011-04-12 13:13 meego-power-icon.desktop
-rw-r--r-- 1 root root 88 2010-09-29 00:43 messageserver.desktop
-rw-r--r-- 1 root root 82 2011-02-02 03:53 msyncd.desktop
-rw-r--r-- 1 root root 69 2010-10-15 05:55 mthemedaemon.desktop
-rw-r--r-- 1 root root 6296 2011-02-21 21:36 print-applet.desktop
-rw-r--r-- 1 root root 3459 2011-04-22 04:46 pulseaudio.desktop
-rw-r--r-- 1 root root 82 2011-02-16 18:46 sample-media-install.desktop
-rw-r--r-- 1 root root 156 2011-04-27 07:03 syncevo-dbus-server.desktop
-rw-r--r-- 1 root root 2466 2011-04-27 05:56 tracker-miner-fs.desktop
-rw-r--r-- 1 root root 2256 2011-04-27 05:56 tracker-store.desktop
-rw-r--r-- 1 root root 4006 2011-02-21 20:56 user-dirs-update-gtk.desktop
...............
To prevent these (or any other) global autostarts, place a small file
in one's own autostart (see
http://standards.freedesktop.org/autostart-spec/autostart-spec-latest.html#id2452149
):
...............
$ cat ~/.config/autostart/tracker-miner-fs.desktop
[Desktop Entry]
Hidden=true
Name=Tracker File System Miner
$ cat ~/.config/autostart/tracker-store.desktop
[Desktop Entry]
Hidden=true
Name=Tracker Store
...............
Then log out/in or reboot.
Niels
http://nielsmayer.com
PS: So what can I expect to break with tracker not running on the
netbook? Is it something that can run from a cron job or as a
"screensaver" (so that it's busy when the desktop is idle, drawing
pretty 3d-visualizations of the data it is collecting ).
Well, you can expect it to return out of date search results when
looking up files in your applications. Especially if those files are the
multimedia you're wanting to process.
Depending on your version on the device, this situation has been
improved recently.
We've added some measures like:
tracker-miner-fs --no-daemon
(which exits when everything is up to date, added in 0.10.5)
tracker-miner-fs.cfg option "CrawlingInterval"
(recently made more flexible regarding when we crawl, since 0.10.x)
There is an API (via dbus or C libraries) to pause the miners in cases
like to this. It is more preferable and can avoid you loosing data
(because monitors for file changes on directories are still active). For
more information see:
http://developer.gnome.org/libtracker-miner/unstable/libtracker-miner-tracker-miner.html
and
http://developer.gnome.org/libtracker-miner/unstable/TrackerMinerManager.html#tracker-miner-manager-pause
These APIs are what the tracker-control command line utility uses. You
can see this in action using:
$ tracker-control --pause="Watching Movie" --miner=Files
Attempting to pause miner 'Files' with reason 'Watching Movie'
Cookie is 5
$ tracker-control --pause-details
Miners:
File System:
Application: 'tracker-control', Reason: 'Watching Movie'
$ tracker-control --resume=5 --miner=Files
Attempting to resume miner Files with cookie 5
Done
Running tracker-control on its own should also tell you if any miner is
paused for whatever reason. Pauses reasons can accumulate (similarly to
how the screensaver can have n reasons to not come on).
--
I am concerned about your report of ill performance from Tracker though.
It's not what we've experienced in Harmattan for some time now. Can you
provide more details (perhaps in a bug report) to try to improve the
situation?
What version of Tracker are you using there?
What makes you think it is Tracker which is causing the problems and not
some other process?
--
Hope this helps,
--
Regards,
Martyn
_______________________________________________
MeeGo-dev mailing list
[email protected]
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines