>The fact is I have for example a 12x12 matrix with at most 144 agents
>running concurrently in each cell of the matrix, so the question 144
>threads are too much threads?

I believe 144 threads should work OK on the Linux JDK. If you are
using green threads, in theory there is no upper limit on the number
of threads you have. If you are using native threads, there is a
kernel limit (that you can change by recompiling) - I believe it's 512
threads.

If all 144 threads are trying to run all the time, it won't work very
well: Java doesn't multitask threads very effectively. I get by with
something similar (20-30 agents) because all of my agents either sleep
a lot or wait for input.

                                                  [EMAIL PROTECTED]
.       .      .     .    .   .  . . http://www.media.mit.edu/~nelson/


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to