compare

command
v1.3.19 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 6, 2023 License: MIT Imports: 11 Imported by: 0

README

This script provides a way to benchmark polling diskstats from /proc/diskstats against using linux application iostat.

For a detailed analysis of the experiment results, please refer to this PDF.

How to run benchmark?

First, build the script: go build

Next, run the lsblk command to get a list of all disks, the value under the NAME column is used in the next step.

Finally, run the script using the disks you want use in the benchmark.

$ ./compare <disk1> ... <diskN> > /path/to/results.csv

This continuously writes the benchmark data to /path/to/results.csv.

During this time, load can be generated on the disks by using loadgen.sh in a different terminal. Note that the corresponding mount points corresponding to the disks need to be passed. This can be obtained with the lsblk command, the value under the MOUNTPOINT column is the corresponding mount point.

The benchmark can be stopped at any time by pressing ctrl+c in the controlling terminal.

Documentation

Overview

Package main

  • Copyright (c) 2018-2021, NVIDIA CORPORATION. All rights reserved.

Package main

  • Copyright (c) 2018-2021, NVIDIA CORPORATION. All rights reserved.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL