[email protected] (=?UTF-8?Q?BERTRAND_Jo=c3=abl?=) writes: > Since I use NetBSD, I believed that disk strategies were persistent. >Should I add these parameters in /etc/rc.local ?
Disk strategies are not persistent. The default for real disk devices (sd, wd, ld, ...) is to use the strategy with the highest priority of the loaded modules: fcfs 10 disksort 20 readprio 30 priocscan 40 So, with all strategies compiled into the kernel, that's prioscan. Layered pseudo disks like ccd, cgd, fss and dk use "fcfs" because the queue of lower drivers will reorder the requests anyway. The md driver uses "fcfs", sorting is useless for a RAM disk. The vnd driver traditionally uses "disksort". The dm driver (LVM) doesn't support a queue but passes requests directly to the lower driver:
