OpenTP1 Version 7 Operation

[Contents][Index][Back][Next]

Appendix H.6 Estimating the size of a DAM file

This section describes the formula for estimating the size of a DAM file.

The maximum size of a DAM file is determined as follows:

Maximum size of a DAM file = maximum value satisfying F - D > 0

Legend:
Msize: Value specified in the -n option of the filmkfs command
Fnum: Value specified in the -l option of the filmkfs command
Ssize: Value specified in the -s option of the filmkfs command
Blen: Length of a DAM file block to be created (unit: bytes)
Bnum: Number of DAM file blocks to be created
[Figure] [Figure]: Decimals are rounded up to a whole number.

For the command arguments of the damload command, specify values of Blen (block length) and Bnum (number of blocks) that satisfy the above formula.

In a DAM file, the size available to users is determined by Blen (block length) x Bnum (number of blocks) (unit: bytes).