From f097c61b1c1435d4849a33930cb75332dc7158dc Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Fri, 25 Dec 2015 13:06:49 +0100 Subject: Rewrite obbench, adding yarns and Debian packaging --- benchmark-specs/e2obbench-6.yaml | 37 +++++++++++++++++++++++++++++++++++++ benchmark-specs/e2obbench.yaml | 34 ++++++++++++++++++++++++++++++++++ benchmark-specs/production.yaml | 27 +++++++++++++++++++++++++++ 3 files changed, 98 insertions(+) create mode 100644 benchmark-specs/e2obbench-6.yaml create mode 100644 benchmark-specs/e2obbench.yaml create mode 100644 benchmark-specs/production.yaml (limited to 'benchmark-specs') 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 -- cgit v1.2.1