Lines Matching refs:fsspri

152  *                  fsspri * fss_nice_decay[nice_value])
153 * fsspri = ------------------------------------
164 * The process's new internal fsspri is calculated using the following
168 * fsspri += shusage * nrunnable * ticks
178 * (fsspri * umdprirange)
184 * - maxfsspri is the largest fsspri seen so far, as we're iterating all
187 * Thus, a higher internal priority (fsspri) leads to a lower user-mode
188 * priority which means the thread runs less. The fsspri is higher when
327 #define FSS_DECAY_MIN 83 /* fsspri decay pct for threads w/ nice -20 */
328 #define FSS_DECAY_MAX 108 /* fsspri decay pct for threads w/ nice +19 */
872 * The fsspri decay is slower at positive nice values. fsspri values
907 * In this case, because the newly calculated fsspri value is much smaller
914 * to run for many quanta (totaling many seconds) before the thread's fsspri
935 fsspri_t fsspri, maxfsspri;
975 fsspri = maxfsspri;
978 * fsspri += fssp_shusage * nrunnable * ticks
983 fsspri = fssproc->fss_fsspri;
984 fsspri += fssproj->fssp_shusage * n_runnable * ticks;
987 fssproc->fss_fsspri = fsspri;
996 if (fsspri < fss_maxumdpri)
997 fsspri = fss_maxumdpri; /* so that maxfsspri is != 0 */
1002 * (fsspri * umdprirange)
1006 * If this thread's fsspri is greater than the previous largest
1007 * fsspri, then record it as the new high and priority for this
1019 if (fsspri >= maxfsspri) {
1020 fsspset->fssps_maxfsspri = fsspri;
1025 invpri = (fsspri * (fss_maxumdpri - 1)) / maxfsspri;
1173 * for fsspri increments for the next second.
1357 fsspri_t fsspri;
1385 * Decay fsspri value.
1387 fsspri = fssproc->fss_fsspri;
1388 fsspri = (fsspri * fss_nice_decay[fssproc->fss_nice]) /
1390 fssproc->fss_fsspri = fsspri;