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