Re: clojure not using CPU on binarytree benchmark

2011-03-15 Thread Nick Zbinden
I have to give some more background on this. Me and a friend are doing this for school we never did anything like it so we just make up as we go. My task is to write (at this point I changed to objective to improving the existing programm) the programm. His task was to do all the mesurements. I jus

Re: clojure not using CPU on binarytree benchmark

2011-03-15 Thread Timothy Baldridge
> By the way, I have submitted several Clojure programs to the web site, and am > happy to hear of someone else interested in finding faster Clojure programs > for those problems.  I definitely do not wish to discourage your efforts.  I > ask these questions because I'd like to help you get to a

Re: clojure not using CPU on binarytree benchmark

2011-03-15 Thread Andy Fingerhut
But aren't your Clojure memory use measurements significantly lower than those published on that web site? They show the program using over 500 Mbytes. They also show 100% CPU utilization for 1 core machines, and a total of a bit over 100% on 4 core machines. That seems quite different from wh

Re: clojure not using CPU on binarytree benchmark

2011-03-15 Thread Nick Zbinden
My programm finishes but its just slower. The prgramm I ran is simular (i changed the -main a little bit) but ran it with the same parameters java -server -jar Clojure_Programm_uberjar. Im pretty sure what I messured is correct because it reflects the messurments on the shootout. On Mar 15, 7:06

Re: clojure not using CPU on binarytree benchmark

2011-03-15 Thread Andy Fingerhut
Well, if the default max heap of your JVM is not enough to run the program successfully to completion, then I don't think that you will be very happy in getting the program to complete :-) Which JVM are you using, by the way? And what is the full command line you are using for the Java program

Re: clojure not using CPU on binarytree benchmark

2011-03-15 Thread Nick Zbinden
Hi, I did not mention that earlier but the benchmark sais no change in heapsize. See here: http://shootout.alioth.debian.org/u32/performance.php?test=binarytrees Does Clojure just have a much smaller heapsize in the standart case? On Mar 15, 5:19 am, Andy Fingerhut wrote: > On a MacBook Pro w

Re: clojure not using CPU on binarytree benchmark

2011-03-14 Thread Andy Fingerhut
On a MacBook Pro with 2.4 GHz Intel Core 2 Duo and 3 GB of RAM (although the program only used about half a gig at most), that program finished in about 33 seconds, using 38.5 sec of user + system CPU time. The average CPU utilization was 126% (all of one CPU core, and 26% of another, on averag

clojure not using CPU on binarytree benchmark

2011-03-14 Thread Nick Zbinden
Hi, I'm working with binarytree benchmark from the Language Shotout. http://shootout.alioth.debian.org/u64/program.php?test=binarytrees&lang=clojure&id=5 Its basiclly a port from the java version. http://shootout.alioth.debian.org/u64/program.php?test=binarytrees&lang=java&id=2 The Problem with