Skip to content

Commit

Permalink
Increase DD write accuracy
Browse files Browse the repository at this point in the history
  • Loading branch information
TheRemote committed Jan 1, 2023
1 parent c287b04 commit 4861885
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ These are iozone and fio which are both benchmarking utilities and should be saf

<h2>Update History</h2>

<h3>January 1st 2023</h3>
<ul>
<li>Increase DD write test to 130k blocks for increased NVMe accuracy</li>
</ul>

<h3>August 21st 2022</h3>
<ul>
<li>Fix minor path errors on Orange Pi</li>
Expand Down
2 changes: 1 addition & 1 deletion Storage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -854,7 +854,7 @@ Print_Style "HDParm: $HDParmDisk MB/s - HDParmCached: $HDParmCached MB/s" "$YELL
Print_Style "Running dd tests ..." "$YELLOW"
sync
sync
DDWrite=$(dd if=/dev/zero of=test bs=4k count=80k conv=fsync 2>&1 | sed '/^[[:space:]]*$/d')
DDWrite=$(dd if=/dev/zero of=test bs=4k count=130k conv=fsync 2>&1 | sed '/^[[:space:]]*$/d')
DDWriteResult=$(echo "$DDWrite" | tail -n 1 | awk 'NR==1{ print $(NF-1) }' | sed 's/,/./g' | sed 's/s,//g')

echo "$DDWrite"
Expand Down

0 comments on commit 4861885

Please sign in to comment.