From 521d41ec1a0848c2f6a2c43fc7ffb8bd853da896 Mon Sep 17 00:00:00 2001 From: spiritlhl <103393591+spiritLHLS@users.noreply.github.com> Date: Fri, 9 Aug 2024 13:25:53 +0800 Subject: [PATCH] Update disktest.go --- disk/disktest.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/disk/disktest.go b/disk/disktest.go index 89140b9..a5e84b7 100644 --- a/disk/disktest.go +++ b/disk/disktest.go @@ -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 {