Re: [Tracker] About "Linux Kernel file notification" support



Jamie, in the past you suggested the possibility to just avoid to do the
scanning of dirs at start up, and I thought it was a good enough idea.

This just because one can assume that it's simply unnecessary to re-scan
everything each time, especially in a system where Tracker is
automatically launched at each login or otherwise consistently used.

You proposed to completely avoid the scan, like Spotlight does in OSX
(please correct me if I'm wrong). Another possible solution could be to
just delay it and make it more "gentle" on the resources (CPU/HD/RAM).
I'd like to know your thoughts and/or plans on this.

Regards

Il giorno mer, 11/07/2007 alle 10.18 +0100, jamie ha scritto:
On Wed, 2007-07-11 at 11:00 +0800, Jerry Tan wrote:
Are you talking about fam or inotify?it is already there.

If enable fam or inotify, whenever a file under watched is modified.
tracker deamon will be notified to re index it again.

 no we need a watchless system which is more efficient for mass watching
large numbers of directories

(inotify uses a linked list so watching 10,000 directories would be
really slow)

OS/X and FreeBSD have such a system so it would be nice to have similar
on linux and other systems. There was talk of using a ring buffer file
which the kernel uses to log all changes to files.

jamie




 
 
 --
 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 
 Sponsor:
 Puliziashop: tutto quello che cerchi a portata di click, vieni a vedere
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=6758&d=11-7



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]