Date: Mon, 22 Feb 2021 16:42:20 +0200 From: Konstantin Belousov <kostikbel@gmail.com> To: arch@freebsd.org Subject: Shrink struct vnode by 124 bytes Message-ID: <YDPCzM8gbif1EzaM@kib.kiev.ua>
next in thread | raw e-mail | index | archive | help
Hello arch@, I wrote a series of patches that shrink the struct vnode by 124 bytes, that is, the sizeof(struct bufobj), for filesystems that do not use buffer cache. For them, embedded struct bufobj is a wasted memory, which is, with typical 10,000,000 or more vnodes on today busy fileserver, is quite significant kernel memory save. See the review https://reviews.freebsd.org/D28856 giving the cumulative diff over the branch, and individual commits with more detailed explanations for each change at https://kib.kiev.ua/git/gitweb.cgi?p=deviant3.git;a=shortlog;h=refs/heads/vn_clusterw Please review and comment.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YDPCzM8gbif1EzaM>