: : I notice that this option is off by default. Can you give a general idea :of when it should be enabled, when it should be disabled, and what bad :things might result with it on? : :Thanks, : :Doug There's no downside, really. The directory cache is so tiny without it that you can't lose. Even the wasteage from caching small directories becomes irrelevant -- for several reasons. First, wasting a little bit of ram is worth it if it saves a disk seek. It saves lots of disk seeks. Second, people forget that the namei cache is the first line of defense for the system, not the directory block cache. Most programmatic small directory accesses directly reference specific files rather then scan the directory. Human-based accesses often scan the directory (do an 'ls'), but the memory footprint for a human is huge in comparison to a single page of directory cache. Scanning whole filesystems with 'find' tend to not be cacheable anyway, and since the cache pages get recycled you don't actually waste any more ram for that case either. -Matt To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
- Re: FW: Filesystem gets a huge performance boost Brian Somers
- Re: FW: Filesystem gets a huge performance boost Matt Dillon
- Re: FW: Filesystem gets a huge performance boost Alex Zepeda
- Re[2]: FW: Filesystem gets a huge performance boost David Xu
- Re: FW: Filesystem gets a huge performance boost Doug Barton
- Re: FW: Filesystem gets a huge performance boost Justin T. Gibbs
- Re: FW: Filesystem gets a huge performance boost Peter Wemm
- Re: FW: Filesystem gets a huge performance b... Matt Dillon
- Re: FW: Filesystem gets a huge performance boost Matt Dillon
- Re: FW: Filesystem gets a huge performance boost Justin T. Gibbs
- Re: FW: Filesystem gets a huge performance b... Matt Dillon
- Re: FW: Filesystem gets a huge performance b... Justin T. Gibbs
- Re: FW: Filesystem gets a huge performance b... Matt Dillon
- Re: FW: Filesystem gets a huge performance b... Doug Barton
- Re: FW: Filesystem gets a huge performance b... Alfred Perlstein
- Re: FW: Filesystem gets a huge performance b... Doug Barton
- Re: sysctl optimisations (was: Filesystem g... Brian Somers
- Re: FW: Filesystem gets a huge performance b... Doug White
- Re: FW: Filesystem gets a huge performance b... Maxim Sobolev