Home
Developer Resources
QNX RTOS v4
QNX RTOS v4 Knowledge Base

QNX RTOS v4 Knowledge Base

Foundry27
Foundry27
QNX RTOS v4 project
Resources

QNX RTOS v4 Knowledge Base

Title Minimizing RAM usage in QNX4
Ref. No. QNX.000009632
Category(ies) Installation, Filesystem, Configuration
Issue What steps can be taken to minimize RAM usage?

Solution From "use Fsys" notice that the options '-c', '-f', '-i', '-l', '-t', and '-C' will configure the memory usage of Fsys.

Run the system (or model thereof) with the default Fsys configuration, use it under normal/peak loads,and then use the results from "fsysinfo" to see what the maximum usage of inodes, files, locks, and threads were, and use these as a hint to configure lower values for the target.  File locking ('-l') is usually a good candidate for shrinking.

Using '-c0' will still make a 32k cache by default, but even this is probably too small to be of much use, and if you can afford 64-128k it is usually a good assignment for memory.