questions about superpages

Scott Bennett bennett at cs.niu.edu
Wed Dec 30 04:46:11 UTC 2009


     I poked around in the stuff in /sys/i386/vm looking for the threshholds
of process memory size for promotion to 4 MB pages and for demotion back to
4 KB pages, but didn't see them.  Can someone tell me what those threshholds
are?  I'm assuming there must be a larger threshhold for promotion than for
demotion on the basis that hysteresis is necessary to keep the VM system
continual oscillation of processes with memory requirements close to the
promotion thresshold.  If someone who knows can also point me toward the
place that these values appear in the source code, I'd appreciate that, too.
     Thanks in advance!


                                  Scott Bennett, Comm. ASMELG, CFIAG
**********************************************************************
* Internet:       bennett at cs.niu.edu                              *
*--------------------------------------------------------------------*
* "A well regulated and disciplined militia, is at all times a good  *
* objection to the introduction of that bane of all free governments *
* -- a standing army."                                               *
*    -- Gov. John Hancock, New York Journal, 28 January 1790         *
**********************************************************************


More information about the freebsd-questions mailing list