..And if you buy more RAM someday remember that the buffer cache is
limited to 32 bits currently i.e. <4GB in total size. I trust that limit
will be lifted someday.
On 2016-04-17 11:50, Tinker wrote:
Just set it to 90??
(And ensure you set the right thing i.e. kern.bufcachepercent rightly
spelled.)
On 2016-04-17 11:43, Predrag Punosevac wrote:
I rm -rf /usr/ports on the newly upgraded laptop running generic 5.9
amd
MP kernel. /usr is mounted with the option softdep. It took ages for
rm
to finish. Laptop has 4GB of RAM. The HDD is SSD with the capacity 931
GB and fully encrypted.
Playing little bit with
sysctl bufcacheparcent
and BUFCACHEPERCENT in
/sys/conf/param.c
I noticed that it is at least somewhat faster using value 10 instead
of
default value 20. Has anybody noticed anything strange with rm and du
-h
-s on the directories with lots of small files. Any suggestions how to
speed things up?
Predrag