QNX4 Fsys and cache

Does anyone know if setting the cache option in Fsys to zero results in no
cache being used or if it reverts to the default. I’m talking about setting
the -c option to 0m or 0k. TIA

Ivan Bannon
RJG Inc.

Ivan Bannon wrote:

Does anyone know if setting the cache option in Fsys to zero results in no
cache being used or if it reverts to the default. I’m talking about setting
the -c option to 0m or 0k. TIA

It will never use “no cache”, there must always be some in-memory
buffers in which to read the disk sectors prior to message reply to
client. It will be a minimum of 8k per thread/coroutine (’-t’,
default 4), thus 32 kB of buffer cache is minimum. However, file
system performance will degrade quite markedly there (very little
caching or room for read-ahead/write-behind blocks) although you
may not necessarily need the 1/8th default either.