Disk Compaction Strategy for the Command Central Cache
com.tc.frs.compactor.policy
Configure for OSGI-CCE. Specifies the disk compaction strategy that Command Central uses
when storing files in the
IBMwebMethods_directory
/profiles/CCE/data/cache/persistence directory. By default, this
property is set to LSNGapCompactionPolicy, which favors performance to disk
storage requirements. However, when required, you can update the disk compaction policy to
size-based, which favors predictable disk usage to performance, by setting:
com.tc.frs.compactor.policy=SizeBasedCompactionPolicy
Default: LSNGapCompactionPolicy
com.tc.frs.io.nio.segmentSize
Configure for OSGI-CCE. Specify only when
com.tc.frs.compactor.policy=SizeBasedCompactionPolicy. Controls the size
of the FRS files in bytes. The default size is 1 MB (1048576 bytes). In the example above
the segment size is set to 100 MB (100 x 1024 x 1024). If you update the default value, keep
in mind that when you reduce the maximum size of the FRS files, the system will create more
files, which might lead to more wasted disk space.
For example, to set the size of the FRS files to 100 MB (100 x 1024 x 1024 bytes):
com.tc.frs.io.nio.segmentSize=104857600
Default: 1048576 (equivalent to 1 MB)
com.tc.frs.compactor.sizeBased.threshold
Configure for OSGI-CCE. Specify only when
com.tc.frs.compactor.policy=SizeBasedCompactionPolicy. Sets when to start
the on-disk data compaction process. Specify the threshold for starting the disk compaction
as a decimal number, representing the percentage of disk space that the in-memory data is
using. For example, to set the compaction process to start when the in-memory data is using
50% of the disk space:
com.tc.frs.compactor.sizeBased.threshold=0.50
Default: 0.50
com.tc.frs.compactor.sizeBased.amount
Configure for OSGI-CCE. Specify only when
com.tc.frs.compactor.policy=SizeBasedCompactionPolicy. Controls the
amount of data to be compacted at a time. Specify the amount of data as a decimal number,
representing a percentage of the total amount of data. For example, to specify that 5% of
the data should be compacted at a time:
com.tc.frs.compactor.sizeBased.amount=0.05
Default: 0.05