Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- for i in /sys/block/*/queue/scheduler; do
- echo bfq > $i
- done
- for i in $(ip -o link | cut -d: -f2 | egrep -ve '^ *lo *$'); do
- tc qdisc replace dev $i root fq_codel limit 10240 flows 1024 quantum 1514 target 5ms interval 50ms
- done
- exit 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement