kuba roth <[email protected]> writes:
> I've got more examples for OSX which clearly shows that as soon as the
> number of tasks exceeds number of cores pmap performance suffers. It
> seems to me like there is no blocking taking place on threads and all
> the tasks are started at the same time.
There’s a still-open bug with `pmap` and chunked seqs which sounds like
it may what you’re seeing:
http://dev.clojure.org/jira/browse/CLJ-862
You can get `pmap` to work mostly-reasonably by unchunking input seqs
first, although I’ve found it doesn’t work well for many problems anyway
(no control over level of parallelism, FIFO ordering, etc).
-Marshall
--
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.