That's odd, as I have developped it on MacOSX 10.4.7 :D
Printable View
That's odd, as I have developped it on MacOSX 10.4.7 :D
Oh snap, forgot about this thread...
53.391 - E6600 @ 400x9 (3.6G)
57.375 s
specs below
here's an idea...
i've been playing with the JNI a bit at work because we have some java apps and some C++ apps that need to run each other's code.
so, it occurred to me that you could use the JNI for something like this to improve performance while keeping cross-platform interoperability.
basically you'd do the algorithm in C or C++ (probably C), and then you could either leave the console interface and the rest of the functionality in java (possibly even the threading, depending on how you've written the algorithm), or you could write a Super-Pi style swing gui for it, or whatever.
then you'd just need to compile the C code on each platform (not that big a deal, since there wouldn't be any platform-specific code in there), and then have the java portion detect the OS and pick the right native assembly to use... or you could just have seperate versions for each OS, if you'd prefer.
so, if you think that could be beneficial, let me know. i'd be glad to help out if you want, but the JNI is pretty straightforward stuff, there would just be the matter of converting the algorithm, which could be difficult, or could be a breeze, i can't say without looking at the code.
Celeron D @ 3,2GHz:
http://home.scarlet.be/wittekakker/multipis.jpg
My 2 cents :toast:
http://home.concepts.nl/~pc119488/multipi.jpg
Cheers!
Dead stock.
Oh rly? How 'bout this (4400 at 2.5GHz):
http://www.kingsasquatch.com/images/multipi.jpg
my conroe, finally!
http://img243.imageshack.us/img243/946/untitledgi7.jpg
\= 49s
I haven't played with JNI before but I will certainly appreciate the offer. Do you know whether you can control the thread priority of the forked C++ thread?Quote:
Originally Posted by eshbach
I'm troubled having to choose between a scientifical horrible method to calculate PI (MC), which does provide consistent benchmark results and is fun to bench (multiple cores give a nice boost, but still fun with single core), and using a solid scientific method to calculate PI effeciently, but which gives multi/quad cores a tremendous advantage.
What's the most important, a fun to bench benchapp that does a rather onorthodox computation, or a more scientific benchapp that may not be as fun, but actually calculates Pi to a gazillion numbers effeciently?
Keep it real man.Accuracy,i say.
What defines 'real'? if i'd use a scientific way to accuratly calculate pi, quadcores would completly obliterate all scores. It would take like 20 sec on a kentsfield and 4 minutes on a A64 3000+. This doesn't reflect real world performance, nor would it be fun to bench (imho).
Random number simulations are contemporary science if anything.
On the other hand, some of the desired effects might be possible also for the sum rules by clever indexing.
Anyways, i would vote for staying with mc. Taxing the cpu in a consistent manner is all that matters here imo. The results seemed to be surprisingly good in this respect.
I have:
Java 1.5_09, do I need another version? Im running Win XP x64. MultiPi says I dont have Java :confused:
http://img176.imageshack.us/img176/1812/hwpi1me8.png
Core 1 crashes out instantly....and I have more than enough memory in the system....maybe a Java setting?
here is a thread with a pair of opterons dual core systems
http://www.amdzone.com/index.php?nam...d8c2d0c#117419
Here you go. Shows how insecure JAVA is.
- edit by rb -
Bashing java because it's easy to decompile does not belong in this topic.
35.656 seconds on qx6700 @4.29Ghz
Second run was oveer 45 seconds
taskmanager in xp 32 bit states that java.exe is only using between 50 and 65% of cpu
Sometimes it starts core 2 before core 1 ???
strange results.....:banana:
Something is wrong with this :stick:
http://img212.imageshack.us/img212/8495/superpi6fs.jpg
You need to increase the amount of memory Java is using. If you open the .sh file included with multipi there is "java -Xmx512m -jar multipi-0.2.jar" -Xmx512m increases the maximum amount of memory Java is using and it'll stop that other core from crashing out.Quote:
Originally Posted by Vapor
I had trouble getting it working in the end I ran it through Terminal using the following;
java -Xmx512m -jar /users/james/multipi/multipi-0.2.jar
On my Dual 2Ghz G5 I got 1m 58.481s
Hey guys. I kno this is none pc related but i thought it would be interesting in this thread. I just downloaded a java virtual machine for the PSP which should hopefully be able to run this program. Will post results on how a 333Mhz psp cpu fairs up against C2D's and such
well, multipi is no longer under development (it has been replaced with wPrime, but this in windows only), but i'd still be interesting to see whether it runs on a PSP. :D