The most important TCP tuning areas since kernel 4.9 are:
- packet pacing
- dynamic TSO sizing
- TCP small queues
- BBR TCP congestion algorithm
- Gb = gigabit
| #!/bin/bash | |
| # I misspelled Jackett when I mapped the docker vol, oops | |
| work_dir=/'opt/docker/jacket_config/Jackett' | |
| # Use Sonarr/Radarr backup date format | |
| date=$(date +%Y.%d.%m_%H.%M.%S) | |
| # This works on the linuxserver.io docker image | |
| ver=$(docker exec -it jackett /app/Jackett/jackett --version | head -n 1 | awk '{ print $2 }' | tr -d '\r') | |
| /usr/bin/zip -r \ | |
| ${HOME}/jackett_backup_${ver}_${date}.zip \ |
| #!/bin/bash | |
| NC='\033[0m' # No color | |
| Green='\033[0;32m' # Green | |
| White='\033[0;37m' # White | |
| Red='\033[0;31m' # Red | |
| Yellow='\033[0;33m' # Yellow | |
| id=${1} | |
| remote_host=uhura.local:9091 |
| #!/bin/bash | |
| NC='\033[0m' # No color | |
| Green='\033[0;32m' # Green | |
| White='\033[0;37m' # White | |
| Red='\033[0;31m' # Red | |
| check=$(/usr/bin/transmission-remote uhura.local:9091 -l | grep 'Stopped' | awk '{ ORS=" " } ; { print $1 }') | |
| usage=$(df -h |grep dl | awk '{ print $5,$6 }') | |
| for x in ${check} ; do |
| #!/bin/bash | |
| NC='\033[0m' # No color | |
| Green='\033[0;32m' # Green | |
| White='\033[0;37m' # White | |
| Red='\033[0;31m' # Red | |
| Yellow='\033[0;33m' # Yellow | |
| counter='1' | |
| cmd=/usr/bin/transmission-remote |
| #!/bin/bash | |
| # Searches through directory of .torrent files for matchign string. If string found move to host, stop torrent, and add to new host. | |
| # If you want to just move all .torrents then comment out "result" and uncomment the alternative version. | |
| NC='\033[0m' # No color | |
| Red='\033[0;31m' # Red | |
| Green='\033[0;32m' # Green | |
| Yellow='\033[0;33m' # Yellow | |
| Blue='\033[0;34m' # Blue | |
| Purple='\033[0;35m' # Purple |
| #!/bin/bash | |
| NC='\033[0m' # No color | |
| Green='\033[0;32m' # Green | |
| White='\033[0;37m' # White | |
| Red='\033[0;31m' # Red | |
| dldir=/dl_1 | |
| mnt1=/mnt/picard_e/ | |
| mnt2=/mnt/picard_f/ | |
| mnt3=/mnt/picard_g/ |
| while true ; do | |
| /bin/date | |
| temp=$(smartctl -a /dev/sdf |grep 194 | awk '{ print $10}') | |
| echo "scale=2;9*${temp}/5+32" | bc -l | |
| echo "" | |
| sleep 60 | |
| done | |
| exit 0 |
| $#/bin/bash | |
| # --acl bucket-owner-full-control is on by default | |
| SECONDS=0 | |
| src=$1 # the path of the source directory | |
| dest=$2 # the s3 bucket destination path | |
| echo -e "Copying from ${src} to ${dest}\n" | |
| for entry in "$src"/*; do | |
| # getting the name of the file or directory |
cp -av /Users/jason/Documents/* /Volumes/Pegasus2\ R8/Documents/ && sudo mv -v /Users/jason/Documents /Users/jason/Documents-$(date +%Y%m%d) && sudo ln -fvs /Volumes/Pegasus2\ R8/Documents/ /Users/jason/Documents