1
0
Fork 0
mirror of https://github.com/dragonflydb/dragonfly.git synced 2024-12-15 17:51:06 +00:00

Doc: Warn people about benchmarking/deploying without LTO (#1396)

This commit is contained in:
Roy Jacobson 2023-06-12 11:56:07 +02:00 committed by GitHub
parent f97dbad6f9
commit 23f1a77d4c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,6 +5,10 @@
Dragonfly runs on linux. We advice running it on linux version 5.11 or later Dragonfly runs on linux. We advice running it on linux version 5.11 or later
but you can also run Dragonfly on older kernels as well. but you can also run Dragonfly on older kernels as well.
> :warning: **Dragonfly releases are compiled with LTO (link time optimization)**:
Depending on the workload this can notably improve performance. If you want to
benchmark Dragonfly or use it in production, you should enable LTO by giving
`blaze.sh` the `-DCMAKE_CXX_FLAGS="-flto"` argument.
## Step 1 - install dependencies ## Step 1 - install dependencies