etc-gentoo/hprofile/profiles/disk/._cfg0000_post-start

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:
#