NetBSD-Users archive

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

Re: vm.bufcache and git



Adam Hamsik <haaaad%gmail.com@localhost> writes:

> On May,Wednesday 26 2010, at 7:42 PM, Greg Troxel wrote:
>
>> On a system with big enough bufcache and maxvnodes, I found stat to take
>> about 4 us up to about 32 files, and then it starts to grow, reaching
>> 9-10 us around 4096-8192 files, and then it remains relatively constant.
>> 
>
> How many times have you repeated this test. Maybe there was some
> external influence (cron, other program etc.. ) who mixed with your
> results.

I ran it several times on several systems and the pattern was
consistent.  There is definitely a fair amount of measurement noise, but
I think the basic take-away that stat over many files takes longer is
accurate.  It's also not surprising, as more files causes the data to no
longer fit in caches.

I would be curious to see results on other systems.

Attachment: pgpoXQj0Om8Ce.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index