|
5 | 5 | Dragonfly runs on linux. We advise running it on linux version 5.11 or later |
6 | 6 | but you can also run Dragonfly on older kernels as well. |
7 | 7 |
|
8 | | -> :warning: **Dragonfly releases are compiled with LTO (link time optimization)**: |
9 | | - Depending on the workload this can notably improve performance. If you want to |
10 | | - benchmark Dragonfly or use it in production, you should enable LTO by giving |
11 | | - `blaze.sh` the `-DCMAKE_CXX_FLAGS="-flto"` argument. |
12 | | - |
13 | 8 | ## Step 1 - install dependencies |
14 | 9 |
|
15 | 10 | On Debian/Ubuntu: |
@@ -59,12 +54,14 @@ cd build-opt && ninja dragonfly |
59 | 54 |
|
60 | 55 | ### Build options |
61 | 56 |
|
62 | | -| Option | Description | |
63 | | -|--|--| |
64 | | -| WITH_AWS | Include AWS client. Required for cloud snapshots | |
65 | | -| WITH_SEARCH | Include Search module | |
66 | | -| WITH_COLLECTION_CMDS | Include commands for collections (SET, HSET, ZSET) | |
67 | | -| WITH_EXTENSION_CMDS | Include extension commands (Bloom, HLL, JSON, ...) | |
| 57 | + |
| 58 | +| Option | Description | |
| 59 | +| ---------------------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
| 60 | +| WITH_AWS | Include AWS client. Required for cloud snapshots | |
| 61 | +| WITH_SEARCH | Include Search module | |
| 62 | +| WITH_COLLECTION_CMDS | Include commands for collections (SET, HSET, ZSET) | |
| 63 | +| WITH_EXTENSION_CMDS | Include extension commands (Bloom, HLL, JSON, ...) | |
| 64 | +| USE_MOLD | Uses the mold linker to reduce link time overhead while enabling Link Time Optimization (LTO) for improved runtime performance. Recommended for benchmarking and production. | |
68 | 65 |
|
69 | 66 | Minimal debug build: |
70 | 67 |
|
|
0 commit comments