Dyyryath
05-21-2002, 02:09 PM
I was curious how some of my systems compared at crunching DF so I wrote a really quick Perl script to give me some performance estimates.
It's based on real-world time not processor time, so it is affected by a system's non-DF load/usage. This is, however, what I was looking for when I wrote it. I want to know how much my machines are *really* doing, not what they are theoretically capable of.
With that in mind, my script checks the time the client was started (via it's lock file creation date/time), and then it's progress.txt file for how many structures it's completed since then. Given these two pieces of information, it calculates how many structures the system is averaging per second, minute, hour, and day.
I also had it pull some basic info about the system's kernel and processor.
The output looks like this:
------------------------------------------------------------
Distributed Folding Linux Benchmark Script V1.0
Sample Size: 100984 structures over 145627 seconds.
Structures Per Second: 0.69
Structures Per Minute: 41.61
Structures Per Hour: 2496.39
Structures Per Day: 59913.36
Linux OS - Running Kernel Version 2.4.18-6mdk
AMD Athlon(tm) processor @ 1400mhz (256 KB cache)
------------------------------------------------------------
If you are interested in using this script, you can get it right here (http://www.free-dc.org/downloads/tools/df-linux-bench.pl).
To use it, just copy it to your Distributed Folding directory, and set it's permissions to 755 (or something similar) with 'chmod 755 df-linux-bench.pl'. Then just execute it in place.
It's based on real-world time not processor time, so it is affected by a system's non-DF load/usage. This is, however, what I was looking for when I wrote it. I want to know how much my machines are *really* doing, not what they are theoretically capable of.
With that in mind, my script checks the time the client was started (via it's lock file creation date/time), and then it's progress.txt file for how many structures it's completed since then. Given these two pieces of information, it calculates how many structures the system is averaging per second, minute, hour, and day.
I also had it pull some basic info about the system's kernel and processor.
The output looks like this:
------------------------------------------------------------
Distributed Folding Linux Benchmark Script V1.0
Sample Size: 100984 structures over 145627 seconds.
Structures Per Second: 0.69
Structures Per Minute: 41.61
Structures Per Hour: 2496.39
Structures Per Day: 59913.36
Linux OS - Running Kernel Version 2.4.18-6mdk
AMD Athlon(tm) processor @ 1400mhz (256 KB cache)
------------------------------------------------------------
If you are interested in using this script, you can get it right here (http://www.free-dc.org/downloads/tools/df-linux-bench.pl).
To use it, just copy it to your Distributed Folding directory, and set it's permissions to 755 (or something similar) with 'chmod 755 df-linux-bench.pl'. Then just execute it in place.