[1741] in Release_Engineering

home help back first fref pref prev next nref lref last post

MAXDSIZE in pvax kernel

daemon@ATHENA.MIT.EDU (John Carr)
Fri Oct 6 15:59:51 1989

Cc: akagerry@ATHENA.MIT.EDU
To: rel-eng@ATHENA.MIT.EDU
Date: Fri, 06 Oct 89 15:59:18 EDT
From: John Carr <jfc@ATHENA.MIT.EDU>

With 40 meg swap, a 16 meg max data size in the pvax kernel seems
small.  The following patch to sys/vm_page.c will allow the kernel
config file to set the max data size (DMMAX is currently too small to
allow data size much greater than 16 meg):

*** /paris/source/vax/sys/machine/vmparam.h	Mon Dec 19 12:44:55 1988
--- vmparam.h	Fri Oct  6 15:55:14 1989
***************
*** 54,60 ****
--- 54,62 ----
   * With MAXDSIZ of 16Mb and NDMAP of 38, dmmax will be 1024.
   */
  #define	DMMIN	32			/* smallest swap allocation */
+ #if !defined(DMMAX)
  #define	DMMAX	4096			/* largest potential swap allocation */
+ #endif
  #define	DMTEXT	1024			/* swap allocation for text */
  
  /*

Then one need only add to the config file something like:

options		DMMAX=8192
options		MAXDSIZ=33554432

to allow greater data size.  

I have run an RT kernel with this change, and run binaries with > 20 M
data size.

home help back first fref pref prev next nref lref last post