FreeBSD src
Go to file
John Dyson 38efa82b23 This commit does a couple of things:
Re-enables the RSS limiting, and the routine is now tail-recursive,
	making it much more safe (eliminates the possiblity of kernel stack
	overflow.) Also, the RSS limiting is a little more intelligent about
	finding the likely objects that are pushing the process over the limit.

	Added some sysctls that help with VM system tuning.

New sysctl features:
	1)	Enable/disable lru pageout algorithm.
		vm.pageout_algorithm = 0, default algorithm that works
			well, especially using X windows and heavy
			memory loading.  Can have adverse effects,
			sometimes slowing down program loading.

		vm.pageout_algorithm = 1, close to true LRU.  Works much
			better than clock, etc.  Does not work as well as
			the default algorithm in general.  Certain memory
			"malloc" type benchmarks work a little better with
			this setting.

		Please give me feedback on the performance results
		associated with these.

	2)	Enable/disable swapping.
		vm.swapping_enabled = 1, default.

		vm.swapping_enabled = 0, useful for cases where swapping
			degrades performance.

		The config option "NO_SWAPPING" is still operative, and
		takes precedence over the sysctl.  If "NO_SWAPPING" is
		specified, the sysctl still exists, but "vm.swapping_enabled"
		is hard-wired to "0".

Each of these can be changed "on the fly."
1996-06-26 05:39:27 +00:00
bin Bring in my changes for removing the pestilent obj links (unless you 1996-06-24 04:26:21 +00:00
eBones Bring in my changes for removing the pestilent obj links (unless you 1996-06-24 04:26:21 +00:00
etc The way sendmail.cf is installed here is gross and needs to be totally 1996-06-25 18:05:58 +00:00
games Bring in my changes for removing the pestilent obj links (unless you 1996-06-24 04:26:21 +00:00
gnu Bring in my changes for removing the pestilent obj links (unless you 1996-06-24 04:26:21 +00:00
include Add `netkey' to list of kernel directories to include in /usr/include. 1996-06-15 18:05:36 +00:00
lib Fixed comparisons so that preposterously large (>= 0x80000000) brk values 1996-06-25 18:54:42 +00:00
libexec Turn on mknetid. 1996-06-25 20:32:30 +00:00
lkm Fixed the `machine' link. It pointed to the wrong place, and was created 1996-06-25 20:13:12 +00:00
release Fix another obj-misusage bogon. This will all get revisited for 1996-06-26 01:24:54 +00:00
sbin Fix address mask calculation when using ':' syntax. Allow a mask 1996-06-23 20:47:51 +00:00
secure Bring in my changes for removing the pestilent obj links (unless you 1996-06-24 04:26:21 +00:00
share Add some formatting bug work-arounds. 1996-06-26 03:28:51 +00:00
sys This commit does a couple of things: 1996-06-26 05:39:27 +00:00
tools Don't look in libkern, it went away. 1995-12-29 01:51:23 +00:00
usr.bin This commit was generated by cvs2svn to compensate for changes in r16748, 1996-06-26 05:36:21 +00:00
usr.sbin Don't print number (garbadge) if media catalog is inactive 1996-06-25 21:01:27 +00:00
COPYRIGHT This is the official 4.4 Lite copyright. 1994-09-11 07:53:28 +00:00
Makefile Bring in my changes for removing the pestilent obj links (unless you 1996-06-24 04:26:21 +00:00