Federico Simoncelli has posted comments on this change.
Change subject: BZ#740887 Tune cache dirty ratio
......................................................................
Patch Set 3: (1 inline comment)
....................................................
File vdsm/vdsmd.in
Line 366: if [ $? -ne 0 ]; then
Line 367: echo $"Configuring sysctl for vdsm..."
Line 368: sed -e '/vm.dirty_ratio/d' \
Line 369: -e '/vm.dirty_background_ratio/d' \
Line 370: -e '/# VDSM section begin/,/# VDSM section end/d' \
I moved the parameters to sysctl.conf so the sysadmin will know right away where the
changes are coming from. It also supports versioning (if we decide to change the
parameters in the future we can).
Line 371: /etc/sysctl.conf > /etc/sysctl.conf.vdsm
Line 372: cat >> /etc/sysctl.conf.vdsm <<EOF
Line 373: $VDSM_SYSCTL_HEAD
Line 374: vm.dirty_ratio = 5
--
To view, visit
http://gerrit.usersys.redhat.com/970
To unsubscribe, visit
http://gerrit.usersys.redhat.com/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: Ibf5c8e4c0637c60092b89fba103b96b37bdafaa0
Gerrit-PatchSet: 3
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Federico Simoncelli <fsimonce(a)redhat.com>
Gerrit-Reviewer: Ayal Baron
Gerrit-Reviewer: Dan Kenigsberg <danken(a)redhat.com>
Gerrit-Reviewer: Federico Simoncelli <fsimonce(a)redhat.com>