Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update SimpleHFSCgamerscript.sh #9

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update SimpleHFSCgamerscript.sh
add besteffort
  • Loading branch information
dim-geo authored May 14, 2023
commit 15a7210ea1aac54a8cdb5bef2dd1c4a358712ade
4 changes: 2 additions & 2 deletions SimpleHFSCgamerscript.sh
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ case $useqdisc in
tc qdisc add dev "$DEV" parent "1:11" fq_codel memory_limit $((RATE*200/8)) interval "${INTVL}ms" target "${TARG}ms" quantum $((MTU * 2))
;;
"cake")
tc qdisc add dev "$DEV" parent "1:11" cake rtt "${INTVL}ms" #memlimit can be used but cake has higher requirements than fq_codel
tc qdisc add dev "$DEV" parent "1:11" cake besteffort rtt "${INTVL}ms" #memlimit can be used but cake has higher requirements than fq_codel
;;
"netem")
tc qdisc add dev "$DEV" parent 1:11 handle 10: netem limit $((4+9*RATE/8/500)) delay "${netemdelayms}ms" "${netemjitterms}ms" distribution "$netemdist"
Expand All @@ -356,7 +356,7 @@ esac

echo "adding cake qdisc for non-game traffic"
for i in 12 13 14 15; do
tc qdisc add dev "$DEV" parent "1:$i" cake interval "${INTVL}ms" #memlimit can be used but cake has higher requirements than fq_codel, cake also offers ack-filter-aggressive to drop extra acks.
tc qdisc add dev "$DEV" parent "1:$i" cake besteffort interval "${INTVL}ms" #memlimit can be used but cake has higher requirements than fq_codel, cake also offers ack-filter-aggressive to drop extra acks.
done


Expand Down