Skip to content

Commit 83c7cd7

Browse files
authored
Update docs (#775)
* Update POSIX performance numbers * Show output from fsck tool in README.
1 parent 8b261cb commit 83c7cd7

2 files changed

Lines changed: 24 additions & 3 deletions

File tree

cmd/fsck/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ It can be run with the following command:
1616

1717
```bash
1818
$ go run github.com/transparency-dev/tessera/cmd/fsck@main --storage_url=http://localhost:2024/ --public_key=tessera.pub
19-
I0519 12:48:18.776151 16532 fsck.go:61] Fsck: checking log of size 203150
20-
I0519 12:48:20.991727 16532 fsck.go:116] Successfully fsck'd log with size 203150 and root veoRTC8vvpl5VyXbG4mALWTBlz75rVKWKnSXoUX3UHU= (bdea114c2f2fbe99795725db1b89802d64c1973ef9ad52962a7497a145f75075)
2119
```
2220

21+
[!image](https://private-user-images.githubusercontent.com/7648032/490573648-7d06ffbb-acf6-4e2d-a1ef-7c848b58fb34.gif?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NTgxMjk1NjUsIm5iZiI6MTc1ODEyOTI2NSwicGF0aCI6Ii83NjQ4MDMyLzQ5MDU3MzY0OC03ZDA2ZmZiYi1hY2Y2LTRlMmQtYTFlZi03Yzg0OGI1OGZiMzQuZ2lmP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDkxNyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTA5MTdUMTcxNDI1WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MjFhOGZiNDkxM2I5Zjg2ZmZmNjA0NjgzZWJmOTM5NTQ0MTEyYTQ0YzllZGFhZTAwYjc4ODcwZDYzYTUzYmRiNCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.FqR5NAJBVQUE5ulyEi5s09GhrRerGBUMCmnN3eSjwoI)
22+
2323
Optional flags may be used to control the amount of parallelism used during the process, run the tool with `--help`
2424
for more details.
2525

docs/performance.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,29 @@ The table below shows some rough numbers of measured performance:
5555

5656
### POSIX
5757

58+
Performance of the POSIX storage backend is highly dependent on the underlying infrastructure, some representative examples
59+
of the performance on different types of infratructure are given below.
60+
5861
#### Local storage
5962

63+
##### NVMe
64+
65+
The log and hammer were both run in the same VM, with the log using a ZFS subvolume from the NVMe mirror.
66+
With antispam enabled, it was able to sustain around 10,000 write qps, using up to 7 cores for the server.
67+
68+
```
69+
┌───────────────────────────────────────────────────────────────────────────┐
70+
│Read (8 workers): Current max: 20/s. Oversupply in last second: 0 │
71+
│Write (30000 workers): Current max: 10000/s. Oversupply in last second: 0 │
72+
│TreeSize: 5042936 (Δ 10567qps over 30s) │
73+
│Time-in-queue: 1889ms/2990ms/3514ms (min/avg/max) │
74+
│Observed-time-to-integrate: 2255ms/3103ms/3607ms (min/avg/max) │
75+
├───────────────────────────────────────────────────────────────────────────┤
76+
```
77+
78+
79+
##### SAS 12Gb HDD
80+
6081
A single local instance on an 12-core VM with 8GB of RAM writing to local filesystem stored on a mirrored pair of SAS disks.
6182

6283
Without antispam, it was able to sustain around 2900 writes/s.
@@ -90,7 +111,7 @@ A 4 node CephFS cluster (1 admin, 3x storage nodes) running on E2 nodes sustaine
90111

91112
#### GCP Free Tier VM Instance
92113

93-
A small `e2-micro` free-tier VM is able to sustain > 1500 writes/s.
114+
A small `e2-micro` free-tier VM is able to sustain > 1500 writes/s using a mounted PersistentDisk to store the log.
94115

95116
> [!NOTE]
96117
> Virtual CPUs (vCPUs) in virtualized environments often share physical CPU cores with other vCPUs and introduce variability

0 commit comments

Comments
 (0)