Performance Tuning Ultrix 4.1

Corey Satten corey at milton.u.washington.edu
Wed May 8 02:06:30 AEST 1991


In article <12792 at dog.ee.lbl.gov> torek at elf.ee.lbl.gov (Chris Torek) writes:
>In article <1991May2.231911.23612 at milton.u.washington.edu>
>corey at milton.u.washington.edu (Corey Satten) writes:
>>however I believe that code never executed on Ultrix or BSD because of
>>the code a few lines before (BSD code fragment):
>>
>>		if ((rp->p_flag & (SSEQL|SUANOM)) == 0 &&
>>		    rp->p_rssize <= rp->p_maxrss)
>>			return (0);
>>
>>which the front hand does for valid pages.  I think this means that unless
>>the process has executed a vadvise() to warn of sequential or anomalous
>>paging behavior, the front hand never invalidates data pages.
>
>Not in the old BSD kernel.  The code path is, for the front hand (on
>the VAX):

Chris, I stand corrected for both BSD *and* for Ultrix.  The fragment where
I force all processes to behave as if SEQL or SUANOM was set is (as you
point out) not required to get data pages to page out -- so on Ultrix, only
the signed comparison fix is really required in vm_page.c.  However...

On our Ultrix system, since I have the SUANOM test anded with a global I
can poke while the system is running, I can experiment with turning it on
and off.  I find that without my (technically unnecessary) "fix", our
system can't free enough pages to keep from swapping continuously unless
the scan rate is increased very substantially, and on one of our smaller,
more memory starved systems, the highest scan rate achievable (by poking
fastscan=1 and slowscan=2) is insufficient.  I'm still unsure exactly how
to interpret this, (especially in light of the fact that the number of
dirty pages written to disk is limited to a rather small number per second)
but now that I've experimentally confirmed this, I did want to correct my
earlier posting before everyone forgets what we're talking about.

Thanks again for taking the time to look this over with me.

--------
Corey Satten, corey at cac.washington.edu
Networks and Distributed Computing
University of Washington
(206)543-5611



More information about the Comp.unix.wizards mailing list