[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [OT] Memory allocation in multi-threaded program on multi-proccessor



Alexander Indenbaum wrote:
> 
> Hi!
> 
> We have problem with program which fails to utilize all the CPUs on
> multi-proccessor machine. We suspect that all the threads wait on same
> mutex when they allocate memory since heap is shared.
> Is this true? How it can be solved?

Rewrite/modify your application to use PVM (parallel virtual machine).

PVM will run applications in parallel on the same or different systems.

Geoff.

-- 
Geoffrey S. Mendelson
Tel:  972-(0)3-6944-211  Fax: 972-(0)3-6944-225 Email: gmendelson@bloomberg.com

=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il