1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-23 11:18:54 +00:00
freebsd/sys/boot/alpha
Mike Smith af1f6e0673 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
..
boot1 * Extend the memory available for the heap from 256k to 512k. 1998-10-31 17:12:32 +00:00
boot2 * Extend the memory available for the heap from 256k to 512k. 1998-10-31 17:12:32 +00:00
common Implement a simple LRU block cache. By default this is initialised to 16k, 1998-11-02 23:28:11 +00:00
libalpha Implement a simple LRU block cache. By default this is initialised to 16k, 1998-11-02 23:28:11 +00:00
netboot * Extend the memory available for the heap from 256k to 512k. 1998-10-31 17:12:32 +00:00
Makefile
Makefile.inc * Extend the memory available for the heap from 256k to 512k. 1998-10-31 17:12:32 +00:00