mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-20 11:11:24 +00:00
af1f6e0673
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. |
||
---|---|---|
.. | ||
alpha_copy.c | ||
alpha_module.c | ||
bbinfo.h | ||
bootinfo.c | ||
common.h | ||
delay.c | ||
devicename.c | ||
elf_freebsd.c | ||
getsecs.c | ||
libalpha.h | ||
Makefile | ||
OSFpal.c | ||
pal.S | ||
prom_disp.S | ||
prom_swpal.S | ||
prom.c | ||
reboot.c | ||
srmdisk.c | ||
srmnet.c | ||
start.S | ||
time.c |