libvenus has asked for the wisdom of the Perl Monks concerning the following question:
I plan to make a threaded application which would run on a unix m/c with around 12 cpus ( Make - SunOS 5.8 Generic_117350-25 sun4u sparc SUNW,Ultra-Enterprise ).
What would be the ideal no of threads that i should be run at once ?
Should i go for forking multiple process instead ?
I know that the the OS allocates some memory to each process, but how can i see the amount of memory allocated. In threads i feel the memory of the same process would be divided equally amongst the threads.
Thanks
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Max no of Threads
by moritz (Cardinal) on Aug 22, 2008 at 07:53 UTC | |
by zentara (Cardinal) on Aug 22, 2008 at 13:14 UTC | |
by libvenus (Sexton) on Aug 22, 2008 at 08:22 UTC | |
by moritz (Cardinal) on Aug 22, 2008 at 08:38 UTC | |
by libvenus (Sexton) on Aug 22, 2008 at 09:54 UTC | |
by moritz (Cardinal) on Aug 22, 2008 at 10:17 UTC | |
|
Re: Max no of Threads
by Illuminatus (Curate) on Aug 22, 2008 at 12:13 UTC | |
|
Re: Max no of Threads
by cdarke (Prior) on Aug 22, 2008 at 08:53 UTC | |
|
Re: Max no of Threads
by perrin (Chancellor) on Aug 22, 2008 at 18:10 UTC |