etc-gentoo/hprofile/profiles/disk/post-start
Hans Wurst 4d9533ca0a Blah
2015-07-31 02:34:53 +02:00

18 lines
350 B
Bash

#
# disk/post-start
#
for dev in $(ata.bash); do
echo cfq >$dev/queue/scheduler
echo 0 >$dev/queue/iosched/slice_idle
echo 64 >$dev/queue/iosched/quantum
# more opitmizations with ncq
echo 1024 >$dev/queue/nr_requests
echo 2 >$dev/device/queue_depth
done
unset dev
#
# vim:fenc=utf-8:ft=sh:ci:pi:sts=0:sw=4:ts=4:
#