Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ior ¶
type Ior struct {
// reorderTasks -- changes task ordering for readback (useful to avoid client cache)
ReorderTasks bool `json:"reorderTasks"`
// taskPerNodeOffset for read tests use with -C & -Z options (-C constant N, -Z at least N)
TaskPerNodeOffset int64 `json:"taskPerNodeOffset"`
// -g intraTestBarriers -- use barriers between open, write/read, and close
IntraTestBarriers bool `json:"intraTestBarriers"`
// -G=0 setTimeStampSignature -- set value for time stamp signature/random seed
SetTimeStampSignature int64 `json:"setTimeStampSignature"`
// -k keepFile -- don't remove the test file(s) on program exit
KeepFile bool `json:"keepFile"`
// -e fsync -- perform a fsync() operation at the end of each read/write phase
Fsync bool `json:"fsync"`
API string `json:"api"`
// 传输大小 2m
TransferSize string `json:"transferSize"`
// 块大小; 必须是transferSize的倍数 重要!!! 9920000m
BlockSize string `json:"blockSize"`
// 每个进程创建一个文件
FilePerProc bool `json:"filePerProc"`
// 对每个进程的每个文件使用唯一的目录
UniqueDir bool `json:"uniqueDir"`
// 冗长的水平
Verbosity string `json:"verbosity"`
// Number of segments
SegmentCount int64 `json:"segmentCount"`
// 用以字节为单位的块大小预填充文件,例如,2097152
RandomPrefill int64 `json:"randomPrefill"`
// 集合操作(用于受支持的后端)
Collective string `json:"collective"`
// -o=testFile testFile -- full name for test
TestFile string `json:"testFile"`
// -w writeFile -- write file
WriteFile bool `json:"writeFile"`
// -D=0 deadlineForStonewalling -- seconds before stopping write or read phase
DeadlineForStonewalling int64 `json:"deadlineForStonewalling"`
// 结果文件
SummaryFile string `json:"summaryFile"`
// 操作类型 write, read
Operation string `json:"operation"`
}
func DefaultIor ¶
func DefaultIor() Ior
type IorResult ¶
type IorResult struct {
Operation string `json:"operation"`
API string `json:"API"`
SegmentCount int64 `json:"segmentCount"`
TransferSize int64 `json:"transferSize"`
BlockSize int64 `json:"blockSize"`
BwMaxMIB float64 `json:"bwMaxMIB"`
BwMinMIB float64 `json:"bwMinMIB"`
BwMeanMIB float64 `json:"bwMeanMIB"`
BwStdMIB float64 `json:"bwStdMIB"`
OPsSD float64 `json:"OPsSD"`
MeanTime float64 `json:"MeanTime"`
StoneWallTime float64 `json:"StoneWallTime"`
StoneWallbwMeanMIB float64 `json:"StoneWallbwMeanMIB"`
XsizeMiB float64 `json:"xsizeMiB"`
}
type IorResultBody ¶
type IorResultBody struct {
Summary []IorResult `json:"summary"`
}
Click to show internal directories.
Click to hide internal directories.