Object and directory sizes
Since PPS holds its objects in memory, they are small. Each object is allocated 32 kilobytes. This doesn't mean that each object uses 32 kilobytes of memory at run time; it uses only the amount of memory needed to internally represent its current attributes.
The number of PPS directories and objects is limited only by available memory. The depth of PPS directories is limited by the fact that the full pathnames of objects are stored in the persistent directory as files; the size of these pathnames is limited by the maximum filename size supported by the persistent filesystem used.
Note:
- PPS objects shouldn't be used as a dumping ground for large amounts of data. The size of most PPS objects should be measured in hundreds of bytes, not in kilobytes.
- PPS has been tested with the Power-Safe filesystem (fs-qnx6.so), using the default PPS options. This configuration supports a total pathname length of 517 bytes, with no individual pathname element longer than 508 bytes. That is, a nesting depth of 50 is possible on fs-qnx6.so, provided that the total length of the path is less than 517 bytes.
Page updated:
