* Rene Herman <[email protected]> wrote:
> On 07/25/2007 10:28 AM, Ingo Molnar wrote:
>
> >>Regardless, I'll stand by "[by disabling updatedb] the problem will
> >>for a large part be solved" as I expect approximately 94.372 percent
> >>of Linux desktop users couldn't care less about locate.
> >
> > i think that approach is illogical: because Linux mis-handled a
> > mixed workload the answer is to ... remove a portion of that
> > workload?
>
> No. It got snipped but I introduced the comment by saying it was a
> "that's not the point" kind of thing. [...]
ok - with that qualification i understand.
still, especially for someone like me who frequently deals with source
code, 'locate' is indispensible.
and the fact is: updatedb discards a considerable portion of the cache
completely unnecessarily: on a reasonably complex box no way do all the
inodes and dentries fit into all of RAM, so we just trash everything.
Maybe the kernel could be extended with a method of opening files in a
'drop from the dcache after use' way. (beagled and backup tools could
make use of that facility too.) (Or some other sort of
file-cache-invalidation syscall that already exist, which would _also_
result in the immediate zapping of the dentry+inode from the dcache.)
Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]