mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +00:00
README: mention enabling CPU extensions
This commit is contained in:
parent
34ba70aee8
commit
eb304059cc
2 changed files with 5 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
1
TODO.md
1
TODO.md
|
|
@ -1,7 +1,6 @@
|
|||
# TODO
|
||||
|
||||
* readme
|
||||
* add avx2 env script to readme
|
||||
* document privilige dropping, cpu pinning
|
||||
|
||||
* config: fail on unrecognized keys
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue