From owner-cvs-all Mon Feb 25 18:37:51 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 1E39237B402; Mon, 25 Feb 2002 18:37:44 -0800 (PST) Received: (from jake@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g1Q2biY25704; Mon, 25 Feb 2002 18:37:44 -0800 (PST) (envelope-from jake) Message-Id: <200202260237.g1Q2biY25704@freefall.freebsd.org> From: Jake Burkholder Date: Mon, 25 Feb 2002 18:37:44 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sparc64/include tsb.h src/sys/sparc64/sparc64 pmap.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG jake 2002/02/25 18:37:43 PST Modified files: sys/sparc64/include tsb.h sys/sparc64/sparc64 pmap.c Log: Allow the user tsb to span multiple pages. Make the default 2 pages for now until we do some testing to see what's best. This gives a massive reduction in system time for processes with a relatively large working set. The size of the tsb directly affects the rss size that a user process can keep mapped. When it starts to get full replacements occur and the process takes a lot of soft vm faults. Increasing the default from 1 page to 2 gives the following before and after numbers for compiling vfs_bio.c: before: 14.27 real 6.56 user 5.69 sys after: 8.57 real 6.11 user 1.62 sys This should make self hosted builds more tolerable. Revision Changes Path 1.10 +3 -1 src/sys/sparc64/include/tsb.h 1.31 +27 -25 src/sys/sparc64/sparc64/pmap.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message