Annotation of 40BSD/sys/h/vmtune.h, revision 1.1

1.1     ! root        1: /*     vmtune.h        4.1     11/9/80 */
        !             2: 
        !             3: /*
        !             4:  * Tunable performance parameters
        !             5:  *
        !             6:  * These may vary per-cpu due to configuration as well as the flavor of
        !             7:  * the local job mix.  MAXPGIO in multiplied by the number of swap devices
        !             8:  * available (nswdev) at boot time.
        !             9:  */
        !            10: #define        LOOPSIZ         ((maxfree - firstfree) / CLSIZE)
        !            11:                                        /* loop circumference */
        !            12: #define        LOTSFREE        ((maxfree - firstfree) / 4)
        !            13:                                        /* very high mark to freeze scans */
        !            14: #define        DESFREE         200             /* minimum desirable free memory */
        !            15: #define        MINFREE         64              /* water mark to run swap daemon */
        !            16: #define        MAXSLP          20              /* max blocked time (in seconds) allowed
        !            17:                                           before being very swappable */
        !            18: #define        SLOWSCAN        25              /* seconds per loop when memory easy */
        !            19: #define        FASTSCAN        15              /* seconds per loop when memory tight */
        !            20: #define        SAFERSS         32              /* nominal ``small'' resident set size
        !            21:                                           protected against replacement */
        !            22: #define        MAXPGIO         50              /* max desired paging i/o per second
        !            23:                                           per paging device, controls max
        !            24:                                           paging ops per second */
        !            25: /* WITH MAXPGIO SET TO 50, IT RARELY TAKES OVER */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.