mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 09:45:31 +00:00
Add scripts/bench/setup-udp-bookworm.sh
This commit is contained in:
parent
8c21b89e51
commit
42a9e8f99e
1 changed files with 36 additions and 0 deletions
36
scripts/bench/setup-udp-bookworm.sh
Executable file
36
scripts/bench/setup-udp-bookworm.sh
Executable file
|
|
@ -0,0 +1,36 @@
|
|||
#!/bin/bash
|
||||
# Prepare for running aquatic_bench for UDP on Debian 12
|
||||
|
||||
# Install dependencies
|
||||
sudo apt-get update && apt-get upgrade -y
|
||||
sudo apt-get install -y curl vim htop screen cmake build-essential pkg-config git screen cvs zlib1g zlib1g-dev golang
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
|
||||
source "$HOME/.cargo/env"
|
||||
|
||||
# Build aquatic
|
||||
. ./scripts/env-native-cpu-without-avx-512
|
||||
cargo build --profile "release-debug" -p aquatic_udp
|
||||
cargo build --profile "release-debug" -p aquatic_udp_load_test
|
||||
cargo build --profile "release-debug" -p aquatic_bencher --features udp
|
||||
|
||||
cd $HOME
|
||||
mkdir -p projects
|
||||
cd projects
|
||||
|
||||
# Install opentracker
|
||||
cvs -d :pserver:cvs@cvs.fefe.de:/cvs -z9 co libowfat
|
||||
cd libowfat
|
||||
make
|
||||
cd ..
|
||||
git clone git://erdgeist.org/opentracker
|
||||
cd opentracker
|
||||
make
|
||||
sudo cp ./opentracker /usr/local/bin/
|
||||
cd ..
|
||||
|
||||
# Install chihaya
|
||||
git clone https://github.com/chihaya/chihaya.git
|
||||
cd chihaya
|
||||
go build ./cmd/chihaya
|
||||
sudo cp ./chihaya /usr/local/bin/
|
||||
cd ..
|
||||
Loading…
Add table
Add a link
Reference in a new issue