Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Mar 1999 22:16:36 +0900
From:      Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
To:        freebsd-alpha@freebsd.org
Subject:   nmbclusters on alpha
Message-ID:  <14079.32052.192353.54559H@ett.sat.t.u-tokyo.ac.jp>

next in thread | raw e-mail | index | archive | help

On alpha, We always allocate a fixed number of nmbclusters 
independently of maxusers.
The following patch(?) should fix the problem.
256 must be too small for most cases :-)

/\ Hidetoshi Shimokawa
\/  simokawa@sat.t.u-tokyo.ac.jp
PGP public key: finger -l simokawa@sat.t.u-tokyo.ac.jp

Index: param.h
===================================================================
RCS file: /pub/FreeBSD-CVS/src/sys/alpha/include/param.h,v
retrieving revision 1.9
diff -u -r1.9 param.h
--- param.h	1999/03/01 06:10:16	1.9
+++ param.h	1999/03/29 12:44:11
@@ -128,13 +128,6 @@
 #endif	/* MCLSHIFT */
 #define	MCLBYTES	(1 << MCLSHIFT)	/* size of a m_buf cluster */
 #define	MCLOFSET	(MCLBYTES - 1)
-#ifndef NMBCLUSTERS
-#ifdef GATEWAY
-#define	NMBCLUSTERS	512		/* map size, max cluster allocation */
-#else
-#define	NMBCLUSTERS	256		/* map size, max cluster allocation */
-#endif
-#endif
 
 /*
  * Size of kernel malloc arena in CLBYTES-sized logical pages


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




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