"Wm. Josiah Erikson" <wmjos...@gmail.com> writes: > Then run, for instance: /usr/bin/time -f %E lein run > clojush.examples.benchmark-bowling > > and then, when that has finished, edit > src/clojush/examples/benchmark_bowling.clj and uncomment > ":use-single-thread true" and run it again. I think this is a > succinct, deterministic benchmark that clearly demonstrates the > problem and also doesn't use conj or reverse. We don't see slowdowns, > but I cannot get any better than around 2x speedup on any hardware > with this benchmark.
FWIW, I've just ran it with these results: - a dual-core intel notebook: + single-threaded: 4:00.09 + multi-threaded: 2:27.35 - an AMD Opteron 8-core machine [*] + single-threaded: 3:03.51 + multi-threaded: 1:31.58 So indeed, I also get only a speedup of factor 2. [*] I'm not exactly sure what for a machine that is. /proc/cpuinfo reports 8 processors, each being a "Quad-Core AMD Opteron(tm) Processor 8387". Well, that would make 32 cores, but actually htop shows just 8. But I think its some virtualized machine, so maybe the host has 8 4-cores, but the virtual machine gets only 8 of them... Bye, Tassilo -- 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