storageperf

package
v0.0.0-...-07b211d Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Name = "storageperf"

Name is the name of the test package. It must match the directory name.

Functions

func TestSetup

func TestSetup(t *imagetest.TestWorkflow) error

TestSetup sets up the test workflow.

Types

type FIOJob

type FIOJob struct {
	ReadResult  FIOStatistics          `json:"read,omitempty"`
	WriteResult FIOStatistics          `json:"write,omitempty"`
	X           map[string]interface{} `json:"-"`
}

FIOJob defines one of the jobs listed in the FIO output.

type FIOOutput

type FIOOutput struct {
	Jobs []FIOJob               `json:"jobs,omitempty"`
	X    map[string]interface{} `json:"-"`
}

FIOOutput defines the output from the fio command

type FIOStatistics

type FIOStatistics struct {
	// Bandwidth should be able to convert to an int64
	Bandwidth json.Number `json:"bw,omitempty"`
	// IOPS should be able to convert to a float64
	IOPS json.Number            `json:iops,omitempty"`
	X    map[string]interface{} `json:"-"`
}

FIOStatistics give information about FIO performance.

type PerformanceTargets

type PerformanceTargets struct {
	// contains filtered or unexported fields
}

PerformanceTargets is a structure which stores the expected iops for each operation. This is used as a value in a map from machine type to performance targets

Jump to

Keyboard shortcuts

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