Jump to content

HPC Bench Measurements: Difference between revisions

From Luter 345 Experiments
en>Denno
 
Brash99 (talk | contribs)
m 1 revision imported
 
(No difference)

Latest revision as of 17:59, 24 December 2024

HPC Bench[edit | edit source]

Installing HPC Bench[edit | edit source]

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[edit | edit source]

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[edit | edit source]

Data File[edit | edit source]

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[edit | edit source]

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