Skip to content

Commit

Permalink
Added(autotune-reductor): optional automatic RSS tune
Browse files Browse the repository at this point in the history
Also autorps doesn't hide his stderr anymore (because errors now human-readable)
  • Loading branch information
strizhechenko committed Jan 21, 2019
1 parent 5347c12 commit 1cbbbef
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion utils/autotune-reductor
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,13 @@ main() {
set -eu
fi
maximize-cpu-freq || true
. "$CONFIG"
for device in $(mirror_devices); do
echo "$0 $@ [$$] Настройка $device" >&2
autorps "$device" 2>/dev/null || true
autorps "$device" || true
if [ "${misc['rss']:-0}" = '1' ]; then
rss-ladder "$device" || true
fi
rx-buffers-increase "$device" || true
done
if [ ! -f /cfg/config ]; then
Expand Down

0 comments on commit 1cbbbef

Please sign in to comment.