diff --git a/provider/storage_benchmark.py b/provider/storage_benchmark.py index 36e80ba07b850f008fcde14ebfb87cbc65c25379..df75a3927c2ceac749f2b8c4cc433fda85e58285 100644 --- a/provider/storage_benchmark.py +++ b/provider/storage_benchmark.py @@ -281,7 +281,12 @@ class IozoneLinuxCfg(object): host_path = os.path.join(data_dir.get_deps_dir(), 'iozone', iozone_pkg) self.download_path = os.path.join('/home', iozone_pkg) self.iozone_inst = os.path.join('/home', 'iozone_inst') - self.arch = 'linux-AMD64' if 'x86_64' in machine() else 'linux-powerpc64' + if 'ppc64' in machine(): + self.arch = 'linux-powerpc64' + elif 'aarch64' in machine(): + self.arch = 'linux-arm' + else: + self.arch = 'linux-AMD64' self.cmd = 'cd %s/src/current && make clean && make %s' % (self.iozone_inst, self.arch) self.iozone_path = '%s/src/current/iozone' % self.iozone_inst