Quantcast
Channel: Caching/preloading files on Linux into RAM - Server Fault
Viewing all articles
Browse latest Browse all 19

Answer by cagenut for Caching/preloading files on Linux into RAM

$
0
0

A poor man's trick for getting stuff into the filesystem cache is to simply cat it and redirect that to /dev/null.

This is an example:-

cat /path/myfile.db > /dev/null 

Viewing all articles
Browse latest Browse all 19

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>