tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: stat(2) performance



On Mon, Jun 15, 2020 at 09:31:48PM +0100, Robert Swindells wrote:
> 
> Doing a 'cvs update' feels really slow
> 
> Running it under ktrace(1) shows it doing a stat(2) for every metadata
> file in the tree. The machine sounds like it is hitting the disk for
> every one. Is there any kind of cache for the attribute information
> that stat needs ?
> 
> This is on a ffs filesystem mounted log,noatime.

Raise kern.maxvnodes?

Joerg


Home | Main Index | Thread Index | Old Index