summaryrefslogtreecommitdiff
path: root/benchmark-specs
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2015-12-25 13:06:49 +0100
committerLars Wirzenius <liw@liw.fi>2015-12-26 16:44:58 +0100
commitf097c61b1c1435d4849a33930cb75332dc7158dc (patch)
treef7632248ce5bb584ac11fe9de64dfba7e67a366f /benchmark-specs
parentda859589e5295e5d050abff73773c006cf81ead1 (diff)
downloadobnam-benchmarks-f097c61b1c1435d4849a33930cb75332dc7158dc.tar.gz
Rewrite obbench, adding yarns and Debian packaging
Diffstat (limited to 'benchmark-specs')
-rw-r--r--benchmark-specs/e2obbench-6.yaml37
-rw-r--r--benchmark-specs/e2obbench.yaml34
-rw-r--r--benchmark-specs/production.yaml27
3 files changed, 98 insertions, 0 deletions
diff --git a/benchmark-specs/e2obbench-6.yaml b/benchmark-specs/e2obbench-6.yaml
new file mode 100644
index 0000000..bd67a8c
--- /dev/null
+++ b/benchmark-specs/e2obbench-6.yaml
@@ -0,0 +1,37 @@
+description: >-
+ Benchmarks run on the e2obbench machine, which is a virtual machine
+ on Lars's home server (1 virtual CPU, 4 GiB RAM, disk space for
+ benchmarks via virtio and spinning drives on the host).
+
+ Reference times are against twice the time of rsync on the same data,
+ on the same machine.
+
+ This version is using FORMAT 6. It's meant to be identical to
+ e2obbench.yaml, except for the repository format.
+state: /home/liw/benchmark-state/state-6.yaml
+git: /home/liw/obnam/obnam
+obnam_config:
+ repository-format: 6
+benchmarks:
+ - name: many_files
+ description: backup many small files
+ steps:
+ - live: genbackupdata . --create=1M --file-size=1
+ obnam: backup
+ reference: 150
+ - obnam: restore
+ reference: 150
+ - obnam: backup
+ - name: one_big_file
+ description: backup one big file
+ steps:
+ - live: genbackupdata . --create=10G --file-size=999999T
+ obnam: backup
+ reference: 93
+ - obnam: restore
+ reference: 93
+reports_dir: /home/liw/benchmark-state/reports-6
+html_dir: /home/liw/benchmark-state/html-6
+publish_html: |
+ rsync -ahHSs --delete-after "$HOME/benchmark-state/." \
+ obbench@pieni.net:benchmark/e2obbench-6-v1/.
diff --git a/benchmark-specs/e2obbench.yaml b/benchmark-specs/e2obbench.yaml
new file mode 100644
index 0000000..c3a0734
--- /dev/null
+++ b/benchmark-specs/e2obbench.yaml
@@ -0,0 +1,34 @@
+description: >-
+ Benchmarks run on the e2obbench machine, which is a virtual machine
+ on Lars's home server (1 virtual CPU, 4 GiB RAM, disk space for
+ benchmarks via virtio and spinning drives on the host).
+
+ Reference times are against twice the time of rsync on the same data,
+ on the same machine.
+state: /home/liw/benchmark-state/state.yaml
+git: /home/liw/obnam/obnam
+obnam_config:
+ repository-format: green-albatross
+benchmarks:
+ - name: many_files
+ description: backup many small files
+ steps:
+ - live: genbackupdata . --create=1M --file-size=1
+ obnam: backup
+ reference: 150
+ - obnam: restore
+ reference: 150
+ - obnam: backup
+ - name: one_big_file
+ description: backup one big file
+ steps:
+ - live: genbackupdata . --create=10G --file-size=999999T
+ obnam: backup
+ reference: 93
+ - obnam: restore
+ reference: 93
+reports_dir: /home/liw/benchmark-state/reports
+html_dir: /home/liw/benchmark-state/html
+publish_html: |
+ rsync -ahHSs --delete-after "$HOME/benchmark-state/." \
+ obbench@pieni.net:benchmark/e2obbench-v2/.
diff --git a/benchmark-specs/production.yaml b/benchmark-specs/production.yaml
new file mode 100644
index 0000000..8a2c88c
--- /dev/null
+++ b/benchmark-specs/production.yaml
@@ -0,0 +1,27 @@
+description: >-
+ Reference times are against twice the time of rsync on the same data,
+ on the same machine.
+state: /home/liw/benchmark/state.yaml
+git: /home/liw/obnam/obnam
+obnam_config:
+ repository-format: green-albatross
+benchmarks:
+ - name: many_files
+ description: backup many small files
+ steps:
+ - live: genbackupdata . --create=100Ki --file-size=1 --quiet
+ obnam: backup
+ reference: 112
+ - obnam: restore
+ reference: 112
+ - obnam: backup
+ - name: one_big_file
+ description: backup one big file
+ steps:
+ - live: genbackupdata . --create=1G --file-size=999999T
+ obnam: backup
+ reference: 42
+ - obnam: restore
+ reference: 42
+reports_dir: /home/liw/benchmark/reports
+html_dir: /home/liw/benchmark/html