README: mention enabling CPU extensions

This commit is contained in:
Joakim Frostegård 2021-11-02 16:13:50 +01:00
parent 34ba70aee8
commit eb304059cc
2 changed files with 5 additions and 1 deletions

View file

@ -42,6 +42,11 @@ of sub-implementations for different protocols:
Compile the implementations that you are interested in:
```sh
# Tell Rust to enable support for all CPU extensions present on current CPU
# except for those relating to AVX-512. This is necessary for aquatic_ws and
# recommended for the other implementations.
. ./scripts/env-native-cpu-without-avx-512
cargo build --release -p aquatic_udp
cargo build --release -p aquatic_udp --features "with-glommio" --no-default-features
cargo build --release -p aquatic_http

View file

@ -1,7 +1,6 @@
# TODO
* readme
* add avx2 env script to readme
* document privilige dropping, cpu pinning
* config: fail on unrecognized keys