Subject Re: [ib-support] Allocating Memory
Author Paul Reeves
On Thu, 16 May 2002 09:01:12 +1200, Sandeep wrote:
>How do I allocate memory to FB server on a linux machine?

You can control how much cache is available to each running process.

Under CS this figure must be kept low, as CS creates a separate process for each connection.

Under SS this figure can be considerably higher as the cache is shared across all connections. However, beyond 10,000 pages there is likely to be a deterioration in performance. You really need to do tests with a particular configuration to find the right value.

Under NT there are supposed to be settings that control how much of the server memory allocation will be retained in RAM and how much is allowed to be swapped out by the OS. I've never been too sure that this works properly and gave up worrying about it long ago. There is not, to my knowledge, a similar option for Linux.

Paul Reeves
Supporting users of Firebird and InterBase