Date: Sun, 12 Jan 2020 13:21:14 +0100 (CET) From: Wojciech Puchar <wojtek@puchar.net> To: freebsd-hackers@freebsd.org Subject: adding some smartness in file cache Message-ID: <alpine.BSF.2.20.2001121317290.60545@puchar.net>
next in thread | raw e-mail | index | archive | help
FreeBSD uses unified cache which is generally great but have some disadventages. One common is case of linear reading or writing of large files. This wipes out other things from memory very quickly. Can cache be made to drop every full block (MAXPHYS) from cache instantly after is fully read by user program or is wrote to disk. This way memory would be much better utilized in caching small I/O.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.20.2001121317290.60545>