Re: parallel execution

2010-08-27 Thread nchubrich
I ended up using pmap; I found that on a 2-core machine, it led to about a 1.6 time speedup; on an 8-core, it led to a 3 time speedup, which I found somewhat surprising; maybe all the cores are not being utilized. -- You received this message because you are subscribed to the Google Groups "Cloju

Re: parallel execution

2010-08-23 Thread Meikel Brandmeyer
Hi, maybe work is of interest to you: http://measuringmeasures.com/blog/2010/8/16/clojure-workers-and-large-scale-http-fetching.html Sincerely Meikel -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@google

Re: parallel execution

2010-08-23 Thread Nicolas Oury
>> This seemed to be in clojure.parallel, but parallel is deprecated.  Why is >> it deprecated, >> and what's the replacement for it? > > I'd like to know that as well! I am not sure, so don't believe this blindly. I think it is due to changes in the plan for Java 7 and JSR266y. Some of the depe

Re: parallel execution

2010-08-23 Thread Konrad Hinsen
On 23.08.2010, at 04:45, nchubrich wrote: > I have a simulation program that runs a Number of random Simulations > and then Averages them. It basically looks like this: > > (reduce Average (repeatedly Number Simulate)) I guess that Simulate is a function and that Average calls functions and