mirror of
https://github.com/kopia/kopia.git
synced 2026-03-27 10:32:08 -04:00
The benchmarks creates 20 GB of files in different configurations * 10 x 2 GB files * 100 x 200 MB files * 1000 x 20 MB files and backs them up to a local filesystem repository measuring time, CPU and RAM usage. The benchmarking script uses GCP instance (n1-standard-8) with fast NVME flash to eliminate local filesystem latency. Current performance numbers show major improvement in latency in 0.7.0-rc1 due to splitter throughput optimization (#606).
13 lines
240 B
Bash
Executable File
13 lines
240 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
|
|
# install tools
|
|
sudo apt install -y fio python3-pip
|
|
sudo pip3 install psrecord
|
|
|
|
# format /mnt/data partition
|
|
sudo mkfs.ext4 -F /dev/nvme0n1
|
|
sudo mkdir /mnt/data
|
|
sudo mount /dev/nvme0n1 /mnt/data
|
|
sudo chown $USER /mnt/data
|