SSBENCH CPU benchmark test for Unix and Linux ============================================= Version ======= Beta 1.08 for Unix and Linux This is a BETA version. Some modifications can be necessary in the future. Please report problems! Information about the latest changes is found in the file bnews.txt. Important note. This is a quite old benchmark. It does not take advantage of dual CPU cores or 64-bit extensions. Perhaps an updated version will be available in the future. First version: 1998-02-24 Latest update: 2006-11-30 Author ====== By Stefan Spaennare, Lund, Sweden E-mail: stefan@spaennare.se The benchmark can be found on the web-page: http://www.spaennare.se/ssbench.html Contents ======== 1. Purpose 2. Hardware requirements 3. How to run the benchmark 4. Resulting CPU-time and Speed-Index 5. Feedback 7. Something about images 8. Disclaimer 9. Short description of the programs 9.1. Integer programs 9.2. Floating point programs 1. Purpose ========== The program calculates the geometric mean CPU-time of 8 integer and 8 floating point C-programs. Each program takes between 200 and 300 CPU-seconds on a 180 MHz Pentium computer (see p180.txt). The whole benchmark takes less than 10 minutes on a 1000 MHz Pentium III computer (or better). 2. Hardware requirements ======================== Memory requirement: >= 32 Mbyte Hard disk requirement: >= 20 Mbyte 3. How to run the benchmark =========================== To compile the files type: >chmod +x comp* >comp* Here * means _cc, _gcc or _hp depending on the type of computer. To run the benchmark test type: >chmod +x runbench >chmod +x runbenchi >chmod +x runbenchf >runbench The benchmark can be run as a background process: >runbench & To get the resulting times type: >chmod +x getresult >getresult computer.txt where computer.txt is the result file. 4. Resulting CPU-time and Speed-Index ===================================== The final CPU-time is calculated as the geometric mean (GM) of 8 programs (integer and floating point respectively). The Speed-Index (SI) is calculated as 1000.0/GM. 5. Feedback =========== Please fill the form "feedback.txt" with your benchmark result added and send it to: Stefan Spaennare E-mail: stefan@spaennare.se For an example see: p180.txt If many people return their results I will put them on my web page. 6. Remove files =============== The executable files can be removed by: >chmod +x rmfiles >rmfiles and the times*.dat files by: >chmod +x rmtimes >rmtimes 7. Something about images ========================= Some of the programs produce and use images which can be displayed. For more information see the file images.txt. 8. Disclaimer ============= For all the programs in this package the following is valid: I make no warranties that this program is (1) free of error, (2) con- sistent with any standard merchantability, or (3) meeting the require- ments of a particular application. This software shall not, partly or as a whole, participate in a process, whose outcome can result in injury to a person or loss of property. It is solely designed for analytical work. Permission to use, copy, and distribute is hereby granted without fee, providing that the header above including this notice appears in all copies. 9. Short description of the programs ==================================== For a better description see the header of each C-code! All the programs use dynamical memory allocation for the arrays. 9.1. Integer programs ===================== The most time-consuming parts of these programs use integer calculations. Although some floating point operations are used as well. For parameters see the runbenchi script. Yahtzee: -------- Calculates the probability to get yahtzee in 3 throws with 5 dice. Small integer arrays. Coin: ----- Calculates the number to turns necessary to get a pile of coins back in the same order when you turn them in a certain way. Small integer arrays. Esift2: ------- Calculates the number of prime numbers below n by Erathostenes sifter. Very fast. Large integer array. Primes2: -------- Calculates the number of prime numbers below n. Slow version. No arrays. Primm2: ------- Calculates the number of prime numbers below n. Faster version. Large integer array. Queens2: -------- Solves the Queens problem on a chess-board of size n. Small integer arrays. Medianhs2: ---------- Median filtering of an image: Fast quick sort. Small integer arrays. Short integer image array. Ssei: ----- Calculates e = exp(1) to many decimal places. Large short integer array. 9.2. Floating point programs ============================ The most time-consuming parts of these programs use floating point calculations (double precision). Although some integer operations are used as well. For parameters see the runbenchf script. Mand: ----- Calculates a Mandelbrot fractal. No floating point arrays. Double precision (+, - and *). Short integer image array. Newton: ------- Calculates a Newton fractal. No floating point arrays. Double precision (+. -, * and /). Short integer image array. Findsmbf: --------- Astronomical photometry program FINDSTARS. More information can be found on the web-page: http://www.spaennare.se/ssphot.html Many least squares fits. Small double precision arrays. Single precision image array. Polyfitf: --------- Astronomical photometry program POLYFIT. More information can be found on the web-page: http://www.spaennare.se/ssphot.html Many small matrix inversions (Numerical Recipes). Small double precision arrays. Single precision image array. Plotss: ------- Makes a 3D-plot of an image. No floating point arrays. Double precision. Short integer image array. Sspienr pi: ----------- Calculates pi to many decimal places. FFT type multiplication (Numerical Recipes). Medium sized double precision array. Medium sized short integer arrays. A version with a faster FFT is available on the web-page: http://www.spaennare.se/ssprog.html Sspienr gs: ----------- Calculates the golden section to many decimal places. FFT type multiplication (Numerical Recipes). Large double precision array. Large short integer arrays. Ssef: ----- Calculates e = exp(1) to many decimal places. Double precision type division. Large integer arrays. -------------------------------------------------------- End of readme.txt file.