summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Ball <nullspoon@oper.io>2020-11-29 20:51:30 -0700
committerAaron Ball <nullspoon@oper.io>2020-11-29 20:51:30 -0700
commit668eefc33c66d7090a5e4e8c94708acae894e2a4 (patch)
tree252abeb19cf8c4fad3a620e60bc7ce3803c07007
parentf10656f6e3fc896f7a9f3961d2c8de3a470677f9 (diff)
downloadoper.io-668eefc33c66d7090a5e4e8c94708acae894e2a4.tar.gz
oper.io-668eefc33c66d7090a5e4e8c94708acae894e2a4.tar.xz
Seagate BUP from adoc to rst and update Makefile rst target
The rst target now cloaks email addresses and writes the date/time stamp to the output file at build time.
-rw-r--r--Makefile3
-rw-r--r--posts/benchmark:seagate-backup-plus-5tb.adoc85
-rw-r--r--posts/benchmark:seagate-backup-plus-5tb.rst81
3 files changed, 84 insertions, 85 deletions
diff --git a/Makefile b/Makefile
index d464c3e..0e7fec8 100644
--- a/Makefile
+++ b/Makefile
@@ -22,7 +22,10 @@ adoc: validate
rst: validate
rst2html5.py \
--initial-header-level=2 \
+ --cloak-email-addresses \
--template "res/rst_template.txt" "$(SRC)" "$(DEST)"
+ printf '<div class="paragraph datelastedit"><p>Last edited: %s</p></div>\n' \
+ "$(shell date '+%F %T %Z')" >> "$(DEST)"
src:
if [ ! -d obj ]; then mkdir obj; fi
diff --git a/posts/benchmark:seagate-backup-plus-5tb.adoc b/posts/benchmark:seagate-backup-plus-5tb.adoc
deleted file mode 100644
index 3e6fe93..0000000
--- a/posts/benchmark:seagate-backup-plus-5tb.adoc
+++ /dev/null
@@ -1,85 +0,0 @@
-Benchmark:Seagate Backup Plus 5TB
-=================================
-:author: Aaron Ball
-:email: nullspoon@oper.io
-
-I have been playing around with the idea recently of decomissioning my big
-server in favor of a rather powerful Raspberry Pi (8GB ram, 4 core CPU). The
-big server has a sizeable RAID with pretty impressive IO performance. The big
-concern though is storage capacity, as that server backups up a number of
-devices. With that in mind, I purchased a Seagate Backup Plus 5TB drive at my
-local store to see how it performs as a replacement, or at least as a backup
-system.
-
-
-TL;DR
------
-
-The quick summary for those who don't care to read all the metrics, over a USB
-3 port, the drive maxed out at 144 MB/s sequential write and 144 MB/s
-sequential read, without a filesystem.
-
-
-NOTE: This benchmark was performed using a tool I wrote in bash called
- link:src/nullspoon/dd-bench.git[dd-bench]. It's open source (GPLv3), so
- please feel free to use it and send feedback and pull requests to
- {email}.
-
-image:files/seagate-backup-plus-5tb.png[height=450,align="center"]
-
-
-----
-Benchmark started at Sat Nov 28 21:52:18 MST 2020
-----
-
-
-1 KB Block Size
----------------
-
-----
-Nov 28 21:52:18: *** Testing 1 KB blocks
-Nov 28 21:52:21: Wrote 1K 10240 times. 10 MB written at 3.2 MB/s.
-Nov 28 21:52:24: Read 1K 10240 times. 10 MB read at 3.3 MB/s.
-Nov 28 21:52:29: Wrote 1K 20480 times. 21 MB written at 4.8 MB/s.
-Nov 28 21:52:32: Read 1K 20480 times. 21 MB read at 6.0 MB/s.
-----
-
-1 MB Block Size
----------------
-
-----
-Nov 28 21:52:32: *** Testing 1 MB blocks
-Nov 28 21:52:40: Wrote 1M 1024 times. 1.1 GB written at 143 MB/s.
-Nov 28 21:52:48: Read 1M 1024 times. 1.1 GB read at 129 MB/s.
-Nov 28 21:53:48: Wrote 1M 8192 times. 8.6 GB written at 144 MB/s.
-Nov 28 21:54:48: Read 1M 8192 times. 8.6 GB read at 143 MB/s.
-----
-
-4 MB Block Size
----------------
-
-----
-Nov 28 21:54:48: *** Testing 4 MB blocks
-Nov 28 21:54:56: Wrote 4M 256 times. 1.1 GB written at 141 MB/s.
-Nov 28 21:55:05: Read 4M 256 times. 1.1 GB read at 126 MB/s.
-Nov 28 21:56:04: Wrote 4M 2048 times. 8.6 GB written at 144 MB/s.
-Nov 28 21:57:05: Read 4M 2048 times. 8.6 GB read at 143 MB/s.
-Nov 28 21:59:35: Wrote 4M 5120 times. 21 GB written at 143 MB/s.
-Nov 28 22:02:05: Read 4M 5120 times. 21 GB read at 144 MB/s.
-----
-
-1 GB Block Size
----------------
-
-----
-Nov 28 22:02:05: *** Testing 1 GB blocks
-Nov 28 22:02:13: Wrote 1G 1 times. 1.1 GB written at 138 MB/s.
-Nov 28 22:02:21: Read 1G 1 times. 1.1 GB read at 126 MB/s.
-Nov 28 22:03:22: Wrote 1G 8 times. 8.6 GB written at 141 MB/s.
-Nov 28 22:04:23: Read 1G 8 times. 8.6 GB read at 141 MB/s.
-----
-
-
-
-[role="datelastedit"]
-Last edited: {docdate} {doctime}
diff --git a/posts/benchmark:seagate-backup-plus-5tb.rst b/posts/benchmark:seagate-backup-plus-5tb.rst
new file mode 100644
index 0000000..285c9ea
--- /dev/null
+++ b/posts/benchmark:seagate-backup-plus-5tb.rst
@@ -0,0 +1,81 @@
+Benchmark:Seagate Backup Plus 5TB
+=================================
+
+I have been playing around with the idea recently of decomissioning my big
+server in favor of a rather powerful Raspberry Pi (8GB ram, 4 core CPU). The
+big server has a sizeable RAID with pretty impressive IO performance. The big
+concern though is storage capacity, as that server backups up a number of
+devices. With that in mind, I purchased a Seagate Backup Plus 5TB drive at my
+local store to see how it performs as a replacement, or at least as a backup
+system.
+
+
+TL;DR
+-----
+
+The quick summary for those who don't care to read all the metrics, over a USB
+3 port, the drive maxed out at 144 MB/s sequential write and 144 MB/s
+sequential read, without a filesystem.
+
+
+**NOTE**: This benchmark was performed using a tool I wrote in bash called
+`dd-bench </src/nullspoon/dd-bench.git>`_. It's open source (GPLv3), so please
+feel free to use it and send feedback and pull requests to nullspoon@oper.io.
+
+.. image:: files/seagate-backup-plus-5tb.png
+ :height: 450
+ :align: center
+
+::
+
+ Benchmark started at Sat Nov 28 21:52:18 MST 2020
+
+
+1 KB Block Size
+---------------
+
+::
+
+ Nov 28 21:52:18: *** Testing 1 KB blocks
+ Nov 28 21:52:21: Wrote 1K 10240 times. 10 MB written at 3.2 MB/s.
+ Nov 28 21:52:24: Read 1K 10240 times. 10 MB read at 3.3 MB/s.
+ Nov 28 21:52:29: Wrote 1K 20480 times. 21 MB written at 4.8 MB/s.
+ Nov 28 21:52:32: Read 1K 20480 times. 21 MB read at 6.0 MB/s.
+
+
+1 MB Block Size
+---------------
+
+::
+
+ Nov 28 21:52:32: *** Testing 1 MB blocks
+ Nov 28 21:52:40: Wrote 1M 1024 times. 1.1 GB written at 143 MB/s.
+ Nov 28 21:52:48: Read 1M 1024 times. 1.1 GB read at 129 MB/s.
+ Nov 28 21:53:48: Wrote 1M 8192 times. 8.6 GB written at 144 MB/s.
+ Nov 28 21:54:48: Read 1M 8192 times. 8.6 GB read at 143 MB/s.
+
+
+4 MB Block Size
+---------------
+
+::
+
+ Nov 28 21:54:48: *** Testing 4 MB blocks
+ Nov 28 21:54:56: Wrote 4M 256 times. 1.1 GB written at 141 MB/s.
+ Nov 28 21:55:05: Read 4M 256 times. 1.1 GB read at 126 MB/s.
+ Nov 28 21:56:04: Wrote 4M 2048 times. 8.6 GB written at 144 MB/s.
+ Nov 28 21:57:05: Read 4M 2048 times. 8.6 GB read at 143 MB/s.
+ Nov 28 21:59:35: Wrote 4M 5120 times. 21 GB written at 143 MB/s.
+ Nov 28 22:02:05: Read 4M 5120 times. 21 GB read at 144 MB/s.
+
+
+1 GB Block Size
+---------------
+
+::
+
+ Nov 28 22:02:05: *** Testing 1 GB blocks
+ Nov 28 22:02:13: Wrote 1G 1 times. 1.1 GB written at 138 MB/s.
+ Nov 28 22:02:21: Read 1G 1 times. 1.1 GB read at 126 MB/s.
+ Nov 28 22:03:22: Wrote 1G 8 times. 8.6 GB written at 141 MB/s.
+ Nov 28 22:04:23: Read 1G 8 times. 8.6 GB read at 141 MB/s.

Generated by cgit