summaryrefslogtreecommitdiffstats
path: root/ufo/etc/object-server/1.conf-gluster
diff options
context:
space:
mode:
authorMohammed Junaid <junaid@redhat.com>2013-04-12 06:41:29 +0530
committerPeter Portante <peter.portante@redhat.com>2013-04-29 16:35:57 -0400
commit12f7a3b0de56b9da33f11183b1f046b511ab5073 (patch)
tree97344b09f1d252e2e47a7502179c2c269e973c76 /ufo/etc/object-server/1.conf-gluster
parent3a8c35fc2451bcef0e2dc6f651fc0bc1334bc753 (diff)
object-storage: provide more common cfg defaults
Provide more common configuration defaults, as seen and recommended across many large customer installations, as well as provide some guidance on how to set the parameters. See BZ 904629 (https://bugzilla.redhat.com/show_bug.cgi?id=904629). Change-Id: Id9f20aafd75f2a0b589c67654dce87534bf80c33 BUG: 904629 Signed-off-by: Mohammed Junaid <junaid@redhat.com> Reviewed-on: http://review.gluster.org/4789 Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'ufo/etc/object-server/1.conf-gluster')
-rw-r--r--ufo/etc/object-server/1.conf-gluster21
1 files changed, 19 insertions, 2 deletions
diff --git a/ufo/etc/object-server/1.conf-gluster b/ufo/etc/object-server/1.conf-gluster
index fe157a9..0d85546 100644
--- a/ufo/etc/object-server/1.conf-gluster
+++ b/ufo/etc/object-server/1.conf-gluster
@@ -2,14 +2,31 @@
devices = /mnt/gluster-object
mount_check = true
bind_port = 6010
-user = root
-log_facility = LOG_LOCAL2
+# If not doing the above, setting this value initially to match the number of
+# CPUs is a good starting point for determining the right value.
+workers = 1
[pipeline:main]
pipeline = object-server
[app:object-server]
use = egg:gluster_swift_ufo#object
+user = root
+log_facility = LOG_LOCAL2
+# Timeout clients that don't read or write to the proxy server after 5
+# seconds.
+conn_timeout = 5
+# For high load situations, once connected to a container server, allow for
+# delays communicating with it.
+node_timeout = 60
+# Adjust this value to match the stripe width of the underlying storage array
+# (not the stripe element size). This will provide a reasonable starting point
+# for tuning this value.
+disk_chunk_size = 65536
+# Adjust this value match whatever is set for the disk_chunk_size
+# initially. This will provide a reasonable starting point for tuning this
+# value.
+network_chunk_size = 65556
[object-replicator]
vm_test_mode = yes