Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Feb 2002 00:56:08 +0900
From:      Seigo Tanimura <tanimura@r.dl.itc.u-tokyo.ac.jp>
To:        arch@FreeBSD.org
Cc:        Seigo Tanimura <tanimura@r.dl.itc.u-tokyo.ac.jp>
Subject:   reclaiming v_data of free vnodes
Message-ID:  <200202231556.g1NFu9N9040749@silver.carrots.uucp.r.dl.itc.u-tokyo.ac.jp>

next in thread | raw e-mail | index | archive | help
Thanks to vnlru, cvsup.jp.FreeBSD.org is keeping the number of vnodes
to quite sane value. (about 330K out of which 190K are in use)

The next problem is the overuse of v_data. vmstat(1) at the uptime of
about 24 hours says:

        Type  InUse MemUse HighUse  Limit Requests Limit Limit Size(s)
     FFS node323549 80888K  80897K102400K 29347661    0     0  256

which is almost the same as the number of the total vnodes. (in
cvsup.jp.FreeBSD.org, almost all in-use vnodes are actually inodes)

This seems due to vrele() and vput() not calling VOP_RECLAIM(). One
solution is to always reclaim a vnode in vrele()/vput(), while we can
also run a kernel thread to scan the free vnodes and reclaim some of
them. Which one would be better, or are there any other ways?

Any comments are welcome.

-- 
Seigo Tanimura <tanimura@r.dl.itc.u-tokyo.ac.jp> <tanimura@FreeBSD.org>

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202231556.g1NFu9N9040749>