tech-kern archive

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

Re: Vnode API change: add global vnode cache



Taylor R Campbell <campbell+netbsd-tech-kern%mumble.net@localhost> wrote:
>    Date: Mon, 7 Apr 2014 16:44:47 +0100
>    From: Mindaugas Rasiukevicius <rmind%netbsd.org@localhost>
> 
>    One concern though: can you benchmark ./build.sh on a machine with 8 or
>    more CPUs?  I fear that vcache.lock might be a bit contended and we
> ought to figure out how much.  If the contention is not significant, it
> should be fine for now.
> 
> I can do this if you really want, but I doubt it'll make a difference
> unless your src and obj trees are spread across multiple different
> types of file systems, because currently for ufs, ufs_ihashlock and
> ufs_hashlock are just as contended as vcache.lock would be.

Should be fine, but once tmpfs is switched to use vcache, it might become
a little bit more visible for some workloads..

-- 
Mindaugas


Home | Main Index | Thread Index | Old Index