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

RE: Easter sermon: Of kernels and slocate [was: Slocate hates me (was:Prelink hates me)]



> We have a similar problem with databases: reports that need to scan an
> entire database fill the database cache with unnecessary data, while
> only a fraction of the database is usually active.  In the database
> package I am familiar with, you can set a parameter that limits how much
> database cache the reports are allowed to use.  It seems like a similar
> parameter for file system cache could be created for programs like
> slocate.

what you mention actually exists, it's called O_DIRECT.
however that only works for data, not filesystem metadata. slocate only
does metadata so it doesn't gain from this....

Attachment: signature.asc
Description: This is a digitally signed message part


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