Date: Fri, 27 Dec 2002 12:11:43 +0100 From: phk@freebsd.org To: current@freebsd.org Subject: Re: cvs commit: src/sys/ufs/ffs ffs_vfsops.c Message-ID: <36427.1040987503@critter.freebsd.dk> In-Reply-To: Your message of "Fri, 27 Dec 2002 03:05:05 PST." <200212271105.gBRB55EV095534@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <200212271105.gBRB55EV095534@repoman.freebsd.org>, Poul-Henning Kamp writes: >phk 2002/12/27 03:05:05 PST > > Modified files: > sys/ufs/ffs ffs_vfsops.c > Log: > Use three UMA zones for FFS/UFS inodes instead of malloc space. > Since inodes are currently 144 bytes, this will save 112 bytes per > inode. This can amount to up to 10MByte on large systems. All things considered, I have a hard time telling if this will result in a performance improvement (apart from the memory savings) or not. There are a lot of indications which point in opposite directions so I think it will be a wash. I considered making the zones per mountpoint, but decided against it for now, so for now all FFS/UFS filesystms share these three zones. You can monitor these zones with: syv# sysctl vm.zone | sed -n -e 2p -e /FFS/p ITEM SIZE LIMIT USED FREE REQUESTS FFS2 dinode: 256, 0, 17200, 95, 97431 FFS1 dinode: 128, 0, 0, 0, 0 FFS inode: 144, 0, 17200, 104, 97431 But be aware that the USED count is number of items in the zone, not number of items allocated from the zone. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36427.1040987503>
