> > > 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 > > maybe check how to up your operating systems buffers. a good os with a > well designed VM keeps your most used stuff in RAM on average. it would > have helped to have posted which os you're using.
FreeBSD v4.3, but my question was what the 16MB of mathopd RAM is used for, not if the OS caches the data or not. It appears the 16MB is just holding space for files as they're loaded and sent. Tim
