auto_change_limit

package
v0.0.0-...-db53517 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2023 License: MulanPSL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExecConfig

type ExecConfig struct {
	DiskType string  `json:"diskType"`
	IpAddr   string  `json:"ipAddr"`
	OsdNum   []int64 `json:"osdNum"`
	//MaxLimit float64 `json:"maxLimit"`
	//MinLimit float64 `json:"minLimit"`
	MaxRecovery     float64 `json:"maxRecovery"`
	MinRecovery     float64 `json:"minRecovery"`
	DefaultRecovery float64 `json:"defaultRecovery"`

	MaxZoom    float64 `json:"maxZoom"`
	MiddleZoom float64 `json:"middleZoom"`
	MinZoom    float64 `json:"minZoom"`
	//LastLimit float64 `json:"lastLimit"`
	LastRecovery float64 `json:"lastRecovery"`

	StepNums   int64 `json:"stepNums"`
	ThreadNums int64 `json:"threadNums"`

	WriteLatConfig map[float64]float64 `json:"writeLatConfig"`
	ReadLatConfig  map[float64]float64 `json:"readLatConfig"`

	WriteStdCoefficient string `json:"writeStdCoefficient"`
	ReadStdCoefficient  string `json:"readStdCoefficient"`
	OneIodepthZoom      string `json:"oneIodepthZoom"`
	*ceph.CephConf
	*ceph_cluster.CephCluster
}

func (*ExecConfig) RefreshExecConfig

func (execConfig *ExecConfig) RefreshExecConfig(configFilePath string) error

func (*ExecConfig) Run

func (execConfig *ExecConfig) Run() error

type OpsCost

type OpsCost struct {
	Read  OpsCostItem `json:"read"`
	Write OpsCostItem `json:"write"`
}

type OpsCostItem

type OpsCostItem struct {
	/*

	 "count": 0,
	        "bytes": 0,
	        "expect_cost": 0,
	        "actual_cost(ms)": 0,
	        "update_time": 0
	*/
	Count int64 `json:"count"`
	Bytes int64 `json:"bytes"`
}

Jump to

Keyboard shortcuts

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