Skip to content

Commit

Permalink
Update disktest.go
Browse files Browse the repository at this point in the history
  • Loading branch information
spiritLHLS authored Aug 9, 2024
1 parent d4e6bc3 commit 521d41e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions disk/disktest.go
Original file line number Diff line number Diff line change
Expand Up @@ -361,10 +361,10 @@ func FioTest(language string, enableMultiCheck bool, testPath string) string {
result += "测试路径 块大小 读测试(IOPS) 写测试(IOPS) 总和(IOPS)\n"
}
// 生成测试文件
if runtime.GOARCH == "amd64" || runtime.GOARCH == "x86" || runtime.GOARCH == "x86_64" {
fioSize = "2G"
if runtime.GOARCH == "arm64" || runtime.GOARCH == "arm" {
fioSize = "512M"
} else {
fioSize = "512MB"
fioSize = "2G"
}
if testPath == "" {
if enableMultiCheck {
Expand Down

0 comments on commit 521d41e

Please sign in to comment.