aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | cargo fmtAlex Auvolat2022-09-021-1/+2
| | | |
| * | | Apply PRIO_SECONDARY to block data transfersAlex Auvolat2022-09-012-4/+4
| | | |
| * | | update cargo.nixAlex Auvolat2022-09-011-5/+5
| | | |
| * | | Less strict timeoutsAlex Auvolat2022-09-017-10/+16
| | | |
| * | | update netapp: straming + fix-pingAlex Auvolat2022-09-012-10/+9
| | | |
| * | | Update to Netapp with OrderTag support and exploit OrderTagsAlex Auvolat2022-09-015-26/+64
| | | |
| * | | netapp recv with unbounded channel removes deadlockAlex Auvolat2022-09-012-6/+6
| | | |
| * | | Fix bytes_read counterAlex Auvolat2022-08-311-4/+9
| | | |
| * | | update netapp git commitAlex Auvolat2022-08-312-7/+7
| | | |
| * | | Merge branch 'lx-perf-improvements' into netapp-stream-bodyAlex Auvolat2022-08-314-8/+214
| |\ \ \
| * | | | Try to fix clippyAlex Auvolat2022-08-291-1/+1
| | | | |
| * | | | cargo2nix fix to fetchCrateGitAlex Auvolat2022-08-291-4/+4
| | | | |
| * | | | Merge branch 'lx-perf-improvements' into netapp-stream-bodyAlex Auvolat2022-08-291-1/+1
| |\ \ \ \
| * \ \ \ \ Merge branch 'lx-perf-improvements' into netapp-stream-bodyAlex Auvolat2022-08-2913-83/+116
| |\ \ \ \ \
| * | | | | | Factor out node request order selection logic & use in managerAlex Auvolat2022-07-294-41/+60
| | | | | | |
| * | | | | | Update cargo.nixAlex Auvolat2022-07-291-8/+8
| | | | | | |
| * | | | | | update netappAlex Auvolat2022-07-291-1/+1
| | | | | | |
| * | | | | | Update cargo.nixAlex Auvolat2022-07-291-73/+103
| | | | | | |
| * | | | | | Fix clippyAlex Auvolat2022-07-292-5/+1
| | | | | | |
| * | | | | | Use streaming in block managerAlex Auvolat2022-07-297-88/+284
| | | | | | |
| * | | | | | update netapp to 0.5Alex Auvolat2022-07-295-10/+10
| | | | | | |
| * | | | | | First adaptation to WIP netapp with streaming bodyAlex Auvolat2022-07-2912-112/+97
| | | | | | |
* | | | | | | Merge pull request 'performance improvements' (#342) from ↵Alex2022-09-1216-310/+646
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | lx-perf-improvements into main Performance improvements included in this PR: - [x] Use `Bytes` at a few places where appropriate, instead of `Vec<u8>`, to reduce the number of copies - [x] StreamChunker now accumulates incoming slices in a `Vec<Bytes>` instead of a `VecDeque<u8>`. Replaces calls to `.extend()` and `.drain()` that were quite costly by a simple `concat()` on a vec of slices which is much more optimized - [x] Hashing (b2, sha256, md5) is now done on a Tokio thread dedicated to cpu-intensive tasks, using `spawn_blocking` - [x] Block manager now uses 256 independant locks instead of one big lock for writing, reduces contention when writing several/many objects in parallel - [x] Better LMDB defaults: we now put flags `NoSync` and `NoMetaSync` to avoid `fsync` at each transaction (extremely slow). Also increased number of LMDB readers to accomodate more intensive workloads Other changes included in this PR: - [x] Update to hashing and MAC crates: md5 and sha2 from 0.9 to 0.10, hmac from 0.10 to 0.12 - [x] switch to `tracing_subscriber` for logs, which allows to have timing of each event Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/342
| * | | | | | | Simplify+improve async hasher by using bounded channellx-perf-improvementsAlex Auvolat2022-09-121-8/+5
| | |_|_|_|_|/ | |/| | | | |
| * | | | | | Merge branch 'main' into lx-perf-improvementsAlex Auvolat2022-09-0842-1076/+1341
| |\ \ \ \ \ \ | |/ / / / / / |/| | | | | / | | |_|_|_|/ | |/| | | |
* | | | | | Merge pull request 'Reorganize dependencies' (#373) from improve-deps into mainAlex2022-09-0843-943/+1288
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This PR includes work from @jirutka : - [x] Allow linking against system-provided libraries (libsodium, libsqlite, libzstd) #370 - [x] Make OTLP exporter optional and allow building without Prometheus exporter (/metrics) #372 And also: - [x] Update `.nix` files - [x] Remove heed default-features - [x] Bump versions of all Garage crates to 0.8.0 - [x] Make db engines (lmdb, sled, sqlite) optionnal - [x] Add documentation for available features - [x] Directly include code of previous versions used for migration in order to reduce dependencies - [x] Read variable `GIT_VERSION` from garage main instead of in crate garage_util to make builds faster - [x] Report features used in the build somewhere? (in `garage --version` or something) - [x] Check we `warn!` correctly if we try to use deactivated feature - [x] Allow not to launch S3 endpoint if not in config Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/373
| * | | | | | Move version back into utilimprove-depsAlex Auvolat2022-09-0711-18/+21
| | | | | | |
| * | | | | | Inject GIT_VERSION even laterAlex Auvolat2022-09-073-18/+28
| | | | | | |
| * | | | | | Fix mergeAlex Auvolat2022-09-072-5/+5
| | | | | | |
| * | | | | | Merge branch 'main' into improve-depsAlex Auvolat2022-09-079-528/+725
| |\ \ \ \ \ \ | |/ / / / / / |/| | | | | |
| * | | | | | Fix build errorAlex Auvolat2022-09-071-1/+1
| | | | | | |
| * | | | | | Add warnings when features are not included in buildAlex Auvolat2022-09-072-0/+8
| | | | | | |
| * | | | | | Error messages when system-libs XOR bundled-libs != 1Alex Auvolat2022-09-071-0/+6
| | | | | | |
| * | | | | | Make all HTTP services optionnalAlex Auvolat2022-09-077-275/+301
| | | | | | |
| * | | | | | Report build features in garage --helpAlex Auvolat2022-09-077-9/+63
| | | | | | |
| * | | | | | Move GIT_VERSION injection later in build chain to reduce build timesAlex Auvolat2022-09-0713-79/+76
| | | | | | |
| * | | | | | cargo fmtAlex Auvolat2022-09-062-2/+0
| | | | | | |
| * | | | | | Include code from v0.5.1 directly to remove dependenciesAlex Auvolat2022-09-0614-290/+386
| | | | | | |
| * | | | | | Disable k2v tests when feature is disabledAlex Auvolat2022-09-061-0/+1
| | | | | | |
| * | | | | | Remove opentelemetry-otlp dep in api/Alex Auvolat2022-09-064-81/+75
| | | | | | |
| * | | | | | Update Nix files with optional db enginesAlex Auvolat2022-09-062-32/+42
| | | | | | |
| * | | | | | Document available build featuresAlex Auvolat2022-09-061-16/+33
| | | | | | |
| * | | | | | Make all DB engines optional build featuresAlex Auvolat2022-09-065-7/+50
| | | | | | |
| * | | | | | Bump versions to 0.8.0 (compatibility is broken already)Alex Auvolat2022-09-0611-120/+120
| | | | | | |
| * | | | | | Force disable pkg-config for libsodum-sys and libzstd-sysAlex Auvolat2022-09-061-0/+18
| | | | | | |
| * | | | | | Update .nix filesAlex Auvolat2022-09-062-132/+156
| | | | | | |
| * | | | | | Fix clippyAlex Auvolat2022-09-061-2/+2
| | | | | | |
| * | | | | | Merge pull request 'Make OTLP exporter optional and allow building without ↵Alex2022-09-066-30/+55
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prometheus exporter (/metrics)' (#372) from jirutka/garage:telemetry-and-metrics into improve-deps Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/372 Reviewed-by: Alex <alex@adnab.me>
| | * | | | | | Allow building without Prometheus exporter (/metrics endpoint)Jakub Jirutka2022-09-063-27/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | prometheus and opentelemetry-prometheus add 7 extra dependencies in total and increases the size of the garage binary by ~7 % (with fat LTO).
| | * | | | | | Make OTLP exporter optional via feature "telemetry-otlp"Jakub Jirutka2022-09-064-3/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | opentelemetry-otlp add 48 (!) extra dependencies and increases the size of the garage binary by ~11 % (with fat LTO).