freebsd-skq/sys/boot/i386
msmith 7ff854a690 Implement a simple LRU block cache. By default this is initialised to 16k,
and will bypass transfers for more than 8k.  Blocks are invalidated after
2 seconds, so removable media should not confuse the cache.

The 8k threshold is a compromise; all UFS transfers performed by
libstand are 8k or less, so large file reads thrash the cache.
However many filesystem metadata operations are also performed using
8k blocks, so using a lower threshold gives poor performance.

Those of you with an eye for cache algorithms are welcome to tell me
how badly this one sucks; you can start with the 'bcachestats' command
which will print the contents of the cache and access statistics.
1998-11-02 23:28:11 +00:00
..
boot0 Make configurable (a) whether to use int 0x13 extensions; (b) timeout 1998-10-19 19:13:53 +00:00
boot2 Avoid interruptions while talking to keyboard controller. 1998-10-27 20:19:24 +00:00
btx Revise a few comments. 1998-11-02 17:53:08 +00:00
gptboot biosboot compatibility fix: change behavior of backspace in getstr(). 1998-10-27 20:16:36 +00:00
libi386 Implement a simple LRU block cache. By default this is initialised to 16k, 1998-11-02 23:28:11 +00:00
loader Implement a simple LRU block cache. By default this is initialised to 16k, 1998-11-02 23:28:11 +00:00
Makefile Activate boot2. 1998-10-14 20:40:56 +00:00