[CSC 435] Speedup Graph Generator

Andrew J. Pounds pounds_aj at mercer.edu
Wed Mar 25 16:44:43 EDT 2020


It can be a pain to generate the data for a speedup plot.  Most students
load all their data into a spreadsheet, process it there, and then dump
it back to hammer for processing by gnuplot to determine the fit to
Amdahl law.  Yuck. 

I wrote a little perl script that will take process/runtime data in two
colums like this.

1 1000
2 505
3 400
4 260
5 210
6 185

and create the following.

*cobra:~ **%***perl speedup.pl speedup.dat
Procs    Time    Speedup
1    1000    1
2    505    1.98019801980198
3    400    2.5
4    260    3.84615384615385
5    210    4.76190476190476
6    185    5.40540540540541

It is on the class webpage in the EXAMPLES section where you find the
gnuplot script for Amdahl's law. 


-- 
Andrew J. Pounds, Ph.D.  (pounds_aj at mercer.edu)
Professor of Chemistry and Computer Science
Director of the Computational Science Program
Mercer University,  Macon, GA 31207   (478) 301-5627

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://theochem.mercer.edu/pipermail/csc435/attachments/20200325/22d4562a/attachment.html>


More information about the csc435 mailing list