Mercurial > hg > blitz_condensed
comparison config/blitz.config @ 30:5a2eeff2a043
Update configuration to cover optimistic batcher
author | Dan Creswell <dan.creswell@gmail.com> |
---|---|
date | Sat, 12 Jun 2010 10:41:30 +0100 |
parents | 3d83b0e0b75a |
children |
comparison
equal
deleted
inserted
replaced
29:e11623cfc457 | 30:5a2eeff2a043 |
---|---|
124 logCkpts = new Boolean(false); | 124 logCkpts = new Boolean(false); |
125 | 125 |
126 // Maximum number of entry instances to cache for a particular Entry type | 126 // Maximum number of entry instances to cache for a particular Entry type |
127 // | 127 // |
128 entryReposCacheSize = 4096; | 128 entryReposCacheSize = 4096; |
129 // entryReposCacheSize = 100; | 129 // entryReposCacheSize = 128; |
130 // entryReposCacheSize = 512; | 130 // entryReposCacheSize = 512; |
131 | |
132 cacheEntriesPerPartition = 32; | |
131 | 133 |
132 // Enable generic readahead for all types by setting this to non-zero. | 134 // Enable generic readahead for all types by setting this to non-zero. |
133 // Actual value determines how many Entry's will be loaded from disk | 135 // Actual value determines how many Entry's will be loaded from disk |
134 // when readahead is activated. Note this value should be smaller than | 136 // when readahead is activated. Note this value should be smaller than |
135 // cache size. As per cache size above, this can be set per Entry using | 137 // cache size. As per cache size above, this can be set per Entry using |
191 | 193 |
192 // Maximum number of task threads to be used in posting remote events | 194 // Maximum number of task threads to be used in posting remote events |
193 // and dispatching blocked takes or reads | 195 // and dispatching blocked takes or reads |
194 // | 196 // |
195 maxTaskThreads = 8; | 197 maxTaskThreads = 8; |
196 maxEventProcessors = 4; | 198 maxEventProcessors = 4; |
197 | 199 |
198 storageModel = new Transient(); | 200 storageModel = new Transient(); |
199 | 201 |
200 // storageModel = new TimeBarrierPersistent(true, true, 10000, 524288, 10000); | 202 // storageModel = new TimeBarrierPersistent(true, true, 10000, 524288, 5000); |
201 | 203 |
202 // Persistent storage settings | 204 // Persistent storage settings |
203 // Note: The third parameter (batching time) can radically affect | 205 // Note: The third parameter (batching time) can radically affect |
204 // throughput in concurrent conditions. You're advised to try various | 206 // throughput in concurrent conditions. You're advised to try various |
205 // settings for your desired load as variations in OS and hard-disk | 207 // settings for your desired load as variations in OS and hard-disk |
206 // performance determine what is appropriate for each machine. | 208 // performance determine what is appropriate for each machine. |
207 // | 209 // |
208 // A safe setting to start with is 10ms but you might also wish to try 0ms | 210 // Note: the fourth parameter has changed behaviour. Most users likely have this set to true |
209 // Use this setting for local/embedded usage | 211 // which will select the concurrent (production-tested) batcher and represents the stable option. |
210 // | 212 // Setting this parameter to false no longer selects the old (low performance) serial batcher, |
211 | 213 // rather it enables an optimistic batcher that gives even higher performance than the concurrent |
212 // For raw, single-threaded benchmarks, use 0 log buffering time | 214 // batcher. |
213 // storageModel = new Persistent(true, true, 0, true, 10000, 32768); | 215 // |
214 // notifytest storageModel = new Persistent(true, true, 0, true, 10, 32768); | 216 // storageModel = new Persistent(true, true, 0, 500000, true, 10000, 32768); |
215 | 217 // storageModel = new Persistent(true, true, 1, true, 10000, 32768); |
216 // For concurrent benchmark or application use non-zero log buffering time | 218 |
217 // storageModel = new Persistent(true, true, 10, true, 10000, 32768); | 219 statsDump = 60000; |
218 | |
219 statsDump = 60000; | |
220 | 220 |
221 // Enable standard destroy semantics - by default, Blitz does NOT | 221 // Enable standard destroy semantics - by default, Blitz does NOT |
222 // delete state at destroy. Enable that feature here and invoke | 222 // delete state at destroy. Enable that feature here and invoke |
223 // BlitzAdmin::shutdown to perform a shutdown whilst retaining state | 223 // BlitzAdmin::shutdown to perform a shutdown whilst retaining state |
224 compliantDestroy = new Boolean(false); | 224 compliantDestroy = new Boolean(false); |