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
| Notes to make IR shield (made by LinkSprite) work in Raspberry Pi 3 (bought from Amazon [1]). | |
| The vendor has some documentation [2] but that is not complete and sufficient for Raspbian Stretch. | |
| Following are the changes that I made to make it work. | |
| $ sudo apt-get update | |
| $ sudo apt-get install lirc | |
| # Add the following lines to /etc/modules file | |
| lirc_dev | |
| lirc_rpi gpio_in_pin=18 gpio_out_pin=17 |
| package main | |
| import ( | |
| "crypto/rand" | |
| "flag" | |
| "log" | |
| mrand "math/rand" | |
| "net" | |
| "os" | |
| "os/signal" |
| #! /usr/bin/python | |
| import sys | |
| import ldap | |
| from ldap.controls import SimplePagedResultsControl | |
| from distutils.version import LooseVersion | |
| # Check if we're using the Python "ldap" 2.4 or greater API | |
| LDAP24API = LooseVersion(ldap.__version__) >= LooseVersion('2.4') |
| #!/usr/bin/env python | |
| # Copyright (c) 2012, Tim Henderson | |
| # All rights reserved. | |
| # | |
| # Redistribution and use in source and binary forms, with or without | |
| # modification, are permitted provided that the following conditions are | |
| # met: | |
| # | |
| # - Redistributions of source code must retain the above copyright notice, | |
| # this list of conditions and the following disclaimer. |
| - certain endpoints are always blocked | |
| if nginx_uri == "/_access_token" or nginx_uri == "/_me" then | |
| ngx.exit(403) | |
| end | |
| -- import requirements | |
| local cjson = require "cjson" | |
| -- setup some app-level vars | |
| local app_id = "APP_ID" |