> Mathopd reads files in chunks of BufSize, so the larger your BufSize, the > smaller the number of read() system calls. Also a large buffer size may > help reduce the number of send() calls to the client, although there is a > certain cut-off point above which BufSize no longer has any effect.
So if my BufSize is set to 32k, and my image sizes are typically 10k or less, would it make more sense to use a 10k buffer instead of 32k? Any disadvantage of leaving it at 32k? Also, "top" show mathopd is using 16MB. If this memory isn't cache, what is it? Is it just the temporary memory space as images are read from the file system and sent on the web? Or am I just wasting RAM if my image sizes are typically under 10k anyway? Tim
