Last active
April 24, 2025 14:04
-
-
Save oxavelar/f3b2e6dc3930a0b90df3959803b4e742 to your computer and use it in GitHub Desktop.
Linux AQL Adjustments
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for phy in $(find /sys/kernel -name 'phy[0-9]'); do | |
(cd $phy | |
l=1500 | |
h=5000 | |
echo 0 $l $h > "$phy/aql_txq_limit" | |
echo 1 $l $h > "$phy/aql_txq_limit" | |
echo 2 $l $h > "$phy/aql_txq_limit" | |
echo 3 $l $h > "$phy/aql_txq_limit" | |
echo 8000 > "$phy/aql_threshold" | |
# Increase the FQ-CoDel buffer | |
echo "fq_limit 20480" > "$phy/aqm" | |
echo "fq_quantum 64" > "$phy/aqm" | |
echo "fq_memory_limit $((2**25))" > "$phy/aqm" | |
); | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment