How to configure disk cache in linux kernel
the first parameter arametre that is displayed when this command is exceuted
cat /proc/meminfo |grep Cached
Cached: 250492 kB ( How to change this value?)
SwapCached: 4700 kB
Any comment is welcome
there is no fixed value. no memory is wasted, if you start more applications or allocate more application memory, cache size gets smaller. if you exit the applications or get them swapped out, or if you read many files, cache size will grow. there are some knobs for the balance in /proc/sys/vm/ , but most people get along with the default, it is easy to misconfigure.