I'm running Clojure code on an early Mac Pro with OS X 10.5 and Java 1.6. It has two dual-core Xeon 5150s and 5GB of memory.
I'm not getting the performance I expected despite top reporting 390% steady-state CPU use, so I wrote some trivial tests to see if I was actually getting the benefit of all four cores. It runs about twice as fast with four cores as with one, and only slightly faster with three or four than with two. This code being trivially parallel, I was expecting nearly 4x the speed with four cores. Here are the tests and results: http://gist.github.com/418631 I'd appreciate it if anybody could a. point out any problems with my code that might be hurting performance b. try this out on your own 3+ core machine and see if you have better results -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en