Jump to content

HPC Bench Measurements

From Luter 345 Experiments
Revision as of 18:07, 14 November 2014 by en>Denno (Output Formatting)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

HPC Bench

Installing HPC Bench

Hpcbench Download

Using the site above download the Hpcbench.tar.gz

Place the Hpcbench.tar.gz file onto the laptops in the location you would like the Hpcbench folder to be

Note: Easiest to place it in the main users folder. If you followed the install tutorial it would be in the root directory.

Using HPC Bench

Guide for HPC Bench options and usage

  • Start up
    • ./udpserver
  • Test run command
    • ./udptest -ah (IP Address) -r (repetitions) -o (data text file)
      • -ah is IP Address is the receiving computer
      • -r is number of runs desired
      • -o is data text file or the path to the data text file you want the output to go to

Output Formatting

Data File

When the program is run the data will be output as such:


# UDP roundtrip time test DATE

# localhost.localdomain <--> IP-ADDRESS

# UDP-send-buffer: ## UDP-recv-buffer: ##

# Message-size: # Iteration: #

UDP Round Trip Time (1) : ## usec

UDP Round Trip Time (2) : ## usec

...

UDP Round Trip Time (n) : ## usec

n trials with message size 64 Bytes

UDP RTT (64-byte) min/avg/max = ### / ### / ### usec



Formatting

To edit the file to get the output needed for the ROOT Programming use the following commands on the text file:

sed 'n-1,nd' | sed '1,4d' filename.txt > output.txt

cat data.txt | tr -d '(' | tr -d ')' | awk '{print $5 " " $7}' > output.txt

Note: Make sure you have a backup of the text files before performing any editing on them in terminal!


The first command removes the last two and first four lines of the file.

The second command removes the parentheses around the run # and only prints columns 5 and 7 which are the necessary values