Date: Mon, 27 Mar 2000 13:29:34 -0800 (PST) From: Matt Dillon <dillon@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/alpha/alpha machdep.c src/sys/i386/i386 machdep.c src/sys/kern vfs_bio.c src/sys/msdosfs msdosfs_vfsops.c src/sys/sys param.h Message-ID: <200003272129.NAA67748@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
dillon 2000/03/27 13:29:34 PST Modified files: sys/alpha/alpha machdep.c sys/i386/i386 machdep.c sys/kern vfs_bio.c sys/msdosfs msdosfs_vfsops.c sys/sys param.h Log: Commit the buffer cache cleanup patch to 4.x and 5.x. This patch fixes a fragmentation problem due to geteblk() reserving too much space for the buffer and imposes a larger granularity (16K) on KVA reservations for the buffer cache to avoid fragmentation issues. The buffer cache size calculations have been redone to simplify them (fewer defines, better comments, less chance of running out of KVA). The geteblk() fix solves a performance problem that DG was able reproduce. This patch does not completely fix the KVA fragmentation problems, but it goes a long way Mostly Reviewed by: bde and others Approved by: jkh Revision Changes Path 1.70 +15 -4 src/sys/alpha/alpha/machdep.c 1.387 +25 -3 src/sys/i386/i386/machdep.c 1.246 +139 -199 src/sys/kern/vfs_bio.c 1.61 +4 -2 src/sys/msdosfs/msdosfs_vfsops.c 1.63 +23 -14 src/sys/sys/param.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200003272129.NAA67748>