You are not logged in.
Hi!
I have a homebuild NAS with a SSD for OS and /home and a RAID controllor with 4 HD configured with md/lvm.
On the SSD I want to specify the the scheduler to deadline, on the HD it should stay cfq.
In https://wiki.archlinux.org/index.php/So … _Scheduler it is explained how to do that persistantly with rc.local but since systemd that is not the way to go anymore. (don't want to have a mixed initscripts/systemd system).
What is the recommended way to set the scheduler on a multi device system?
archlinux on a Gigabyte C1037UN-EU, 16GiB
a Promise PDC40718 based ZFS set
root on a Samsung SSD PB22-J
running LogitechMediaServer(-git), Samba, MiniDLNA, TOR
Offline
Hmm... wiki is dated if recommending rc.local... use tmpfiles.
% cat /etc/tmpfiles.d/IO_scheduler.conf
w /sys/block/sda/queue/scheduler - - - - deadline
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Thanks graysky. Works as breeze.
the one problem I might still have is that the devices are not always recognized in the same order. So I need somehow to find out how to target the SSD only even when it is not on sde as it is currently.
archlinux on a Gigabyte C1037UN-EU, 16GiB
a Promise PDC40718 based ZFS set
root on a Samsung SSD PB22-J
running LogitechMediaServer(-git), Samba, MiniDLNA, TOR
Offline
I believe the udev solution on the wiki will do this but it just needs to be started with a systemd service.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline