tech-kern archive

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

Re: serious performance regression in .41



christos%astron.com@localhost (Christos Zoulas) wrote:
> <...>
> 
> I still feel that for low power machines the filtering iterator is
> a much better answer, since it avoids a lot of extra work. Why
> lock and unlock the mntvnode lock and vget() something you are not
> going to use. At least add the ability via flags to skip the
> uninteresting vnodes in the iterator.

While locking/unlocking in such loop already has significant cost,
vget()ing on all vnodes additionally has cache thrashing effect.
That is indeed undesirable.

-- 
Mindaugas


Home | Main Index | Thread Index | Old Index