Go to file
thorpej 9a815ed696 A performance optimization, inspired by a conversation with Thor Simon:
- Keep a freelist of component buffer headers, defaulting
	  to 8 headers per component (tunable with the CCDNBUF
	  kernel compile option).
	- When allocating a component buffer, try to pull a header
	  off the freelist first, falling back on MALLOC() if the
	  freelist is empty.  Use MALLOC() rather than malloc(),
	  because it will attempt to short-cut the allocation before
	  actually making a full-blown malloc() call.
	- Keep statistics on how many component buffer headers have
	  been allocated and how many of those allocations have
	  resulted in freelist misses.

With these changes, I observed measurable decreases in system and
wall clock time on operations on an 8G ccd, as well as a measurable
drop in the time spent in ccdbuffer() (measured with kernel profiling).
1997-01-30 04:00:52 +00:00
bin Fix parsing problem introduced in the previous ${10} fix, where $#digit 1997-01-26 18:05:34 +00:00
distrib parens around macro value. (oops!) 1997-01-23 19:13:56 +00:00
etc don't need -E to ipf. 1997-01-28 06:33:36 +00:00
games fix typo in Napoleon's name 1997-01-23 06:06:29 +00:00
gnu Don't build games if it's not there. From Matthias Drochner, PR #3130. 1997-01-22 04:19:48 +00:00
include Install md4.h and md5.h 1997-01-30 01:05:58 +00:00
lib Functions were added to the C library; bump minor. 1997-01-30 01:02:45 +00:00
libexec Doh! MAXHOSTNAMELEN, not MAXHOSTNAME 1997-01-29 10:30:14 +00:00
regress merge DB 1.85 changes 1996-05-03 21:50:36 +00:00
sbin Cast -1 to an unsigned char for the test with fil.fr_icode as the fr_icode 1997-01-29 18:39:47 +00:00
share add support for COPTS, as in bsd.prog.mk 1997-01-28 03:38:40 +00:00
sys A performance optimization, inspired by a conversation with Thor Simon: 1997-01-30 04:00:52 +00:00
usr.bin Don't try to divide by zero in progressmeter(). 1997-01-30 03:36:26 +00:00
usr.sbin Cast -1 to an unsigned char for the test with fil.fr_icode as the fr_icode 1997-01-29 18:39:47 +00:00
Makefile All of domestic/lib now builds without errors, so we build it all. 1996-11-27 02:04:06 +00:00