Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Request: matrix_init function in Array
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Ranjan Bagchi <ranjan_bagchi@y...>
Subject: Re: [Caml-list] Re: feature priorities (multithreading)
I've been reading LtU lately (lambda.weblogs.com) and
came across this paper:
http://www.sics.se/~joe/apachevsyaws.html detailing a
high-performance web-server written in Erlang.

One point here is that the threads in Erlang uses a
ton of "microthreads" which don't use OS Threads at
all (and don't incur the overhead).  Stackless python
(www.stackless.com) does this too, and is able to
support massive concurrency.

Ranjan

--- cashin@cs.uga.edu wrote:
> James Leifer <James.Leifer@inria.fr> writes:
> 
> ...
> > What kind of multithreading features do you need? 
> It would be
> > interesting to understand what would be useful in
> Ocaml, especially
> > from people who have worked with Erlang, for
> example.
> 
> Personally, I try to avoid threads because they
> usually make my
> programs less portable and sometimes more complex. 
> But many people
> who do parallelizable computation, like scientific
> computations
> involving matrices, like to increase performance by
> taking advantage
> of SMP architectures.
> 
> If the threads in a program only run on one
> processor, then all you
> have is the overhead.  If they run on different
> processors at the same
> time, with access to the same main memory but with
> independent caches,
> then the performance benefits start to compensate
> for the extra
> complexity of multithreading.
> 
> -- 
> --Ed L Cashin            |   PGP public key:
>   ecashin@uga.edu        |  
> http://noserose.net/e/pgp/
> 
> -------------------
> To unsubscribe, mail caml-list-request@inria.fr
> Archives: http://caml.inria.fr
> Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ:
> http://caml.inria.fr/FAQ/
> Beginner's list:
> http://groups.yahoo.com/group/ocaml_beginners
> 
> 
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.yahoo.com
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners