Enable CUDA persistence mode to reduce surprises
This commit is contained in:
parent
b501090443
commit
fb904e7a29
|
@ -30,6 +30,11 @@ FEATURES=bpf_c,bpf_rust,erasure,chacha
|
||||||
if [[ $(uname) = Darwin ]]; then
|
if [[ $(uname) = Darwin ]]; then
|
||||||
./build-perf-libs.sh
|
./build-perf-libs.sh
|
||||||
else
|
else
|
||||||
|
# Enable persistence mode to keep the CUDA kernel driver loaded, avoiding a
|
||||||
|
# lengthy and unexpected delay the first time CUDA is involved when the driver
|
||||||
|
# is not yet loaded.
|
||||||
|
sudo --non-interactive ./net/scripts/enable-nvidia-persistence-mode.sh
|
||||||
|
|
||||||
./fetch-perf-libs.sh
|
./fetch-perf-libs.sh
|
||||||
# shellcheck source=/dev/null
|
# shellcheck source=/dev/null
|
||||||
source ./target/perf-libs/env.sh
|
source ./target/perf-libs/env.sh
|
||||||
|
|
Loading…
Reference in New Issue