Commit 95f226ad authored by Matthias Linhuber's avatar Matthias Linhuber
Browse files

Fix filesizes was set to MiB insted of GiB:w

parent cc2b82d3
......@@ -28,10 +28,10 @@ QUICK_TEST_PARAM_LIST = [
]
FILESIZES = {
"1G": 20,
"2G": 21,
"4G": 22,
"8G": 23
"1G": 30,
"2G": 31,
"4G": 32,
"8G": 33
}
......@@ -60,6 +60,7 @@ class TestRun():
float
Output of the current `dd` command.
"""
print("Execute measurements with blocksize " + str(self.bs))
output = subprocess.run(
['dd', 'if=/dev/zero', 'of=' + self.outfile, 'bs=' +
str(self.bs), 'count=' + str(self.count)
......@@ -310,7 +311,7 @@ def main():
if args.full or args.fileSize is not None:
if args.fileSize is None:
fileSizeExponent = 20
fileSizeExponent = 30
else:
fileSizeExponent = FILESIZES[args.fileSize]
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment