Merge lp:~mthaddon/charms/trusty/swift-storage/workers-threads-per-disk into lp:~openstack-charmers-archive/charms/trusty/swift-storage/trunk

Proposed by Tom Haddon
Status: Rejected
Rejected by: Tom Haddon
Proposed branch: lp:~mthaddon/charms/trusty/swift-storage/workers-threads-per-disk
Merge into: lp:~openstack-charmers-archive/charms/trusty/swift-storage/trunk
Diff against target: 90 lines (+30/-4)
5 files modified
config.yaml (+21/-1)
hooks/swift_storage_context.py (+5/-0)
templates/account-server.conf (+1/-1)
templates/container-server.conf (+1/-1)
templates/object-server.conf (+2/-1)
To merge this branch: bzr merge lp:~mthaddon/charms/trusty/swift-storage/workers-threads-per-disk
Reviewer Review Type Date Requested Status
OpenStack Charmers Pending
Review via email: mp+223069@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Tom Haddon (mthaddon) wrote :

Taking a different approach

Unmerged revisions

28. By Tom Haddon

Merge to trusty

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'config.yaml'
--- config.yaml 2012-12-19 23:09:13 +0000
+++ config.yaml 2014-06-13 13:15:29 +0000
@@ -49,4 +49,24 @@
49 default: 600249 default: 6002
50 type: int50 type: int
51 description: Listening port of the swift-account-server.51 description: Listening port of the swift-account-server.
5252 object-server-workers:
53 default: 2
54 type: int
55 description: Number of workers of the swift-object-server.
56 container-server-workers:
57 default: 2
58 type: int
59 description: Number of workers of the swift-container-server.
60 account-server-workers:
61 default: 2
62 type: int
63 description: Number of workers of the swift-account-server.
64 object-server-threads-per-disk:
65 default: 0
66 type: int
67 description: |
68 Size of the per-disk thread pool used for performing disk I/O. The
69 default of 0 means to not use a per-disk thread pool. It is
70 recommended to keep this value small, as large values can result in
71 high read latencies due to large queue depths. A good starting point
72 is 4 threads per disk.
5373
=== modified file 'hooks/swift_storage_context.py'
--- hooks/swift_storage_context.py 2013-08-16 20:38:32 +0000
+++ hooks/swift_storage_context.py 2014-06-13 13:15:29 +0000
@@ -66,5 +66,10 @@
66 'account_server_port': config('account-server-port'),66 'account_server_port': config('account-server-port'),
67 'container_server_port': config('container-server-port'),67 'container_server_port': config('container-server-port'),
68 'object_server_port': config('object-server-port'),68 'object_server_port': config('object-server-port'),
69 'account_server_workers': config('account-server-workers'),
70 'container_server_workers': config('container-server-workers'),
71 'object_server_workers': config('object-server-workers'),
72 'object_server_threads_per_disk': config(
73 'object-server-threads-per-disk'),
69 }74 }
70 return ctxt75 return ctxt
7176
=== modified file 'templates/account-server.conf'
--- templates/account-server.conf 2013-09-30 13:29:32 +0000
+++ templates/account-server.conf 2014-06-13 13:15:29 +0000
@@ -1,7 +1,7 @@
1[DEFAULT]1[DEFAULT]
2bind_ip = 0.0.0.02bind_ip = 0.0.0.0
3bind_port = {{ account_server_port }}3bind_port = {{ account_server_port }}
4workers = 24workers = {{ account_server_workers }}
55
6[pipeline:main]6[pipeline:main]
7pipeline = recon account-server7pipeline = recon account-server
88
=== modified file 'templates/container-server.conf'
--- templates/container-server.conf 2014-04-02 12:49:56 +0000
+++ templates/container-server.conf 2014-06-13 13:15:29 +0000
@@ -1,7 +1,7 @@
1[DEFAULT]1[DEFAULT]
2bind_ip = 0.0.0.02bind_ip = 0.0.0.0
3bind_port = {{ container_server_port }}3bind_port = {{ container_server_port }}
4workers = 24workers = {{ container_server_workers }}
55
6[pipeline:main]6[pipeline:main]
7pipeline = recon container-server7pipeline = recon container-server
88
=== modified file 'templates/object-server.conf'
--- templates/object-server.conf 2013-09-30 13:29:32 +0000
+++ templates/object-server.conf 2014-06-13 13:15:29 +0000
@@ -1,7 +1,7 @@
1[DEFAULT]1[DEFAULT]
2bind_ip = 0.0.0.02bind_ip = 0.0.0.0
3bind_port = {{ object_server_port }}3bind_port = {{ object_server_port }}
4workers = 24workers = {{ object_server_workers }}
55
6[pipeline:main]6[pipeline:main]
7pipeline = recon object-server7pipeline = recon object-server
@@ -12,6 +12,7 @@
1212
13[app:object-server]13[app:object-server]
14use = egg:swift#object14use = egg:swift#object
15threads_per_disk = {{ object_server_threads_per_disk }}
1516
16[object-replicator]17[object-replicator]
1718

Subscribers

People subscribed via source and target branches