etc-gentoo/hprofile/profiles/disk/post-start

18 lines
350 B
Plaintext
Raw Normal View History

#
# disk/post-start
#
2015-07-31 00:34:53 +00:00
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
2015-07-31 00:34:53 +00:00
unset dev
#
# vim:fenc=utf-8:ft=sh:ci:pi:sts=0:sw=4:ts=4:
#