Reduce swift audit rate to save IO

Change-Id: I48f080ad6a49f3906a304bc4553e8f19e46b6f3c
This commit is contained in:
Jianghua Wang 2016-12-08 11:36:49 +08:00
parent b2eb56f2a0
commit d8db8ad884

View File

@ -257,6 +257,18 @@ lvm_type = thin
EOF
)
# reduce the object audit rate to save IO.
(
localconf="/opt/stack/new/devstack/local.conf"
cat <<EOF >>"$localconf"
[[post-config|/etc/swift/object-server/1.conf]]
[object-auditor]
files_per_second = 1
bytes_per_second = 65536
interval = 3000
EOF
)
## config interface and localrc for neutron network
(
if [ "$DEVSTACK_GATE_NEUTRON" -eq "1" ]; then