Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh -e
- #
- # rc.local
- #
- # This script is executed at the end of each multiuser runlevel.
- # Make sure that the script will "exit 0" on success or any other
- # value on error.
- #
- # In order to enable or disable this script just change the execution
- # bits.
- #
- # By default this script does nothing.
- /sbin/ifconfig enp0s31f6 txqueuelen 10000
- sleep 10; ip route | while read p; do ip route change $p initcwnd 10 initrwnd 10; done
- ethtool -G enp0s31f6 rx 4096 tx 4096
- ethtool -K enp0s31f6 tso off tx off
- exit 0
Add Comment
Please, Sign In to add comment