CDMAXP2X parameter

From m204wiki
Jump to navigation Jump to search

Maximum constraints pages power of 2


Default value
Parameter type
Where set
On User 0's parameter line
Related products
Model 204 V6.1


The CDMAXP2X parameter indicates the maximum number, in powers of 2, of 6K pages allocated in virtual storage that will be used for the TBO constraints log, and in CCATEMP, if CDMAXP2X is greater than CDMINP2X. These pages are permanently allocated during initialization. Pages are compacted until their number exceeds CDMAXP2X.

When a constraints page becomes almost full, it is split into two pages. When the number of pages exceeds 2**CDMAXP2X, the splitting process stops and records grow into overflow pages that never split, but may be merged when they become too empty. Overflow pages are not compacted because they do not have basic records and thus do not participate in hashing. The only way to find data on overflow pages is to look through all cells.

For example:

  • CDMAXP2X=0 sets the maximum number of pages to compact to one.
  • CDMAXP2X=8 sets the maximum number of pages to compact to 256.

The minimum value is zero and maximum value is 16, which corresponds to 64K pages. The parameter is not resettable.

However, during initialization, if the value of CDMAXP2X is less than the value of CDMINP2X, then CDMAXP2X is automatically reset to the larger value of CDMINP2X. The following message is also issued:


Increasing the number of compacted pages might save CCATEMP pages; however, compacting more pages might consume more CPU time. Rocket Software Technical Support recommends setting the value of CDMAXP2X between 7 and 9 and testing your results.