Print this page
13097 improve VM tunables for modern systems (fix mismerge)

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/i86pc/sys/vm_machparam.h
          +++ new/usr/src/uts/i86pc/sys/vm_machparam.h
↓ open down ↓ 122 lines elided ↑ open up ↑
 123  123   * protected against replacement
 124  124   */
 125  125  #define SAFERSS         3
 126  126  
 127  127  /*
 128  128   * DISKRPM is used to estimate the number of paging i/o operations
 129  129   * which one can expect from a single disk controller.
 130  130   *
 131  131   * XXX - The system doesn't account for multiple swap devices.
 132  132   */
 133      -#define DISKRPM         60
      133 +#define DISKRPM         600
 134  134  
 135  135  /*
 136  136   * The maximum value for handspreadpages which is the the distance
 137  137   * between the two clock hands in pages. This is only used when the page
 138  138   * scanner is first started.
 139  139   */
 140  140  #define MAXHANDSPREADPAGES      ((64 * 1024 * 1024) / PAGESIZE)
 141  141  
 142  142  /*
 143  143   * Paged text files that are less than PGTHRESH bytes
 144  144   * may be "prefaulted in" instead of demand paged.
 145  145   */
 146  146  #define PGTHRESH        (280 * 1024)
 147  147  
 148  148  #ifdef  __cplusplus
 149  149  }
 150  150  #endif
 151  151  
 152  152  #endif  /* _SYS_VM_MACHPARAM_H */
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX