SUMMARY *FREE* in /usr/sys/sun4c/vmparam.h

From: Jacques Beigbeder (Jacques.Beigbeder@ens.ens.fr)
Date: Tue Dec 15 1992 - 16:00:31 CST


The question was:

>>During a course at Sun, we were told to change the following parameters
>>in /usr/sys/sun4c/vmparam.c:
>>
>>/*
>> * Paging thresholds (see vm_pageout.c).
>> * Strategy of 3/17/83:
>> * lotsfree is 256k bytes, but at most 1/8 of memory
>> * desfree is 100k bytes, but at most 1/16 of memory
>> * minfree is 32k bytes, but at most 1/2 of desfree
>> */
>>#define LOTSFREE (256 * 1024)
>>#define LOTSFREEFRACT 8
>>#define DESFREE (100 * 1024)
>>#define DESFREEFRACT 16
>>#define MINFREE (32 * 1024)
>>#define MINFREEFRACT 2
>>
>>Do sun-managers have hints on the way to change these parameters
>>for memory larger than 2Mb? Do I simply multiply by 8 for a 16Mb memory?

The answer is in SunOS 4.1.3:

 * Modified on 9/24/90: (seven YEARS later?????)
 * Memory systems are bigger, processors are faster; we
 * probably need more elbowroom. Multiplied all the
 * default values by eight.
 */
#define LOTSFREE (2048 * 1024)
#define LOTSFREEFRACT 8
#define DESFREE (800 * 1024)
#define DESFREEFRACT 16
#define MINFREE (512 * 1024)
#define MINFREEFRACT 2

Jacques Beigbeder | Internet: beig@ens.fr
Service de Prestations Informatiques | Bitnet : beig@frulm63
Ecole Normale Superieure | Tel : (33-1) 44-32-37-96
F75230 Paris Cedex 05 | Fax : (33-1) 44-32-20-80



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:06:54 CDT