Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
spiritLHLS authored Jul 4, 2024
1 parent f0e6e15 commit b97903a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions disk/disktest.go
Original file line number Diff line number Diff line change
Expand Up @@ -241,10 +241,10 @@ func buildFioFile(path, fioSize string) (string, error) {
defer Logger.Sync()
}
// https://github.com/masonr/yet-another-bench-script/blob/0ad4c4e85694dbcf0958d8045c2399dbd0f9298c/yabs.sh#L435
// fio --name=setup --ioengine=libaio --rw=read --bs=64k --iodepth=64 --numjobs=2 --size=512MB --runtime=1 --gtod_reduce=1 --filename="/tmp/test.fio" --direct=1 --minimal
// fio --name=setup --ioengine=libaio --rw=read --bs=64k --iodepth=64 --numjobs=2 --size=512MB --runtime=1 --gtod_reduce=1 --filename=/tmp/test.fio --direct=1 --minimal
var tempText string
cmd1 := exec.Command("sudo", "fio", "--name=setup", "--ioengine=libaio", "--rw=read", "--bs=64k", "--iodepth=64", "--numjobs=2", "--size="+fioSize, "--runtime=1", "--gtod_reduce=1",
"--filename=\""+path+"/test.fio\"", "--direct=1", "--minimal")
"--filename="+path+"/test.fio", "--direct=1", "--minimal")
stderr1, err := cmd1.StderrPipe()
if err != nil {
if EnableLoger {
Expand Down

0 comments on commit b97903a

Please sign in to comment.