• Paladin of the Pegasos
    Paladin of the Pegasos
    koszer
    Posts: 1278 from 2004/2/8
    From: Poland
    Hi.

    Out of curiosity, I created a tiny "benchmark" program that's calculating an approximation of the Pi number using the Monte Carlo method. The result is not particularly accurate (due to only 1000000 points in the code and the fact that the RndF() function in Hollywood does not generate number 1). However, it does what it's supposed to do - it overloads the computer with nonsense calculations and gives the result in seconds at the end.

    To the point - somehow it's noticeably faster on the Mini. The G5 calculates the whole thing in about 24 seconds, while the G4 takes about 14 seconds. This is a huge difference, given the relative performance difference of these hardware.

    I have a tiny request to all of you - could someone equipped with a computer with a G4 and/or G5 repeat these calculations? I have a sneaking suspicion that the binary generated in Hollywood is simply optimized for the G4 (presumably Andreas only has a Mac Mini), but I'd still like to make sure before I'll bother him about it.

    EDIT: Oops, I might have uploaded bad binary - that's counting 100 million points. I'll do it again. Sorry.

    [ Edited by koszer 08.03.2025 - 18:46 ]
  • »08.03.25 - 17:19
    Profile