Re: Shared libraries worth it?




Carlos Moreno wrote:

I have an application written in C++ that is more or less CPU-intensive
(it does a recursive tree-traversal trying all possible outcomes of
something, to choose the best option among a set of choices).

The thing is, at peak times (it's part of an online system), there may
be 200 to 300 instances of that application running simultaneously;
each of them takes about 1MB or memory.

I'm running FC4 on a P4 3GHz with 1GB of RAM.

This seems rather foolish. If you don't have 200 or 300 CPUs, what's
the point of running 200 or 300 instances of a CPU-intensive process?

DS

.