Added documentation for thread-pool-files config

This commit is contained in:
Martyn Taylor 2015-12-17 15:12:20 +00:00
parent 75267f90ca
commit a04bc8061c
2 changed files with 13 additions and 6 deletions

View File

@ -54,7 +54,7 @@ Name | Description
[journal-file-size](persistence.md) | the size (in bytes) of each journal file. Default=10485760 (10 MB)
[journal-max-io](persistence.md#configuring.message.journal.journal-max-io) | the maximum number of write requests that can be in the AIO queue at any one time. Default is 500 for AIO and 1 for NIO.
[journal-min-files](persistence.md#configuring.message.journal.journal-min-files) | how many journal files to pre-create. Default=2
[journal-pool-files](persistence.md#configuring.message.journal.journal-pool-files) | -1 (default) means no Limit. The system will create as many files as needed however when reclaiming files it will shrink back to the `journal-pool-files`
[journal-pool-files](persistence.md#configuring.message.journal.journal-pool-files) | The upper theshold of the journal file pool,-1 (default) means no Limit. The system will create as many files as needed however when reclaiming files it will shrink back to the `journal-pool-files`
[journal-sync-non-transactional](persistence.md) | if true wait for non transaction data to be synced to the journal before returning response to client. Default=true
[journal-sync-transactional](persistence.md) | if true wait for transaction data to be synchronized to the journal before returning response to client. Default=true
[journal-type](persistence.md) | the type of journal to use. Default=ASYNCIO

View File

@ -16,11 +16,18 @@ performance.
on separate volumes too.
- Minimum number of journal files. Set `journal-min-files` to a number
of files that would fit your average sustainable rate. If you see
new files being created on the journal data directory too often,
i.e. lots of data is being persisted, you need to increase the
minimal number of files, this way the journal would reuse more files
instead of creating new data files.
of files that would fit your average sustainable rate. This number
represents the lower threshold of the journal file pool.
- To set the upper threshold of the journal file pool. (`journal-min-files` being
the lower threshold). Set `journal-pool-files` to a number that represents
something near your maximum expected load. The journal will spill over
the pool should it need to, but will shrink back to the upper threshold,
when possible. This allows reuse of files, without taking up more disk
space than required. If you see new files being created on the journal
data directory too often, i.e. lots of data is being persisted,
you need to increase the journal-pool-size, this way the journal would
reuse more files instead of creating new data files, increasing performance
- Journal file size. The journal file size should be aligned to the
capacity of a cylinder on the disk. The default value 10MiB should