new plugin: tuning
authorAlban Crequy <alban@kinvolk.io>
Mon, 8 Feb 2016 22:28:15 +0000 (23:28 +0100)
committerAlban Crequy <alban@kinvolk.io>
Thu, 18 Feb 2016 14:29:12 +0000 (15:29 +0100)
commit0b6ad716e8ac5b3eca041cb612bbc629e6f0c132
tree9997ffe68517c15a9b84065bb23a23b21c3e24a2
parentc7db40fb4c7bc09f7b4d809ea61f2d116e2f1f16
new plugin: tuning

Allow users to tune net network parameters such as somaxconn.

With this patch, users can add a new network configuration:

> {
>   "name": "mytuning",
>   "type": "tuning",
>   "sysctl": {
>           "net.core.somaxconn": "500"
>   }
> }

The value /proc/sys/net/core/somaxconn will be set to 500 in the network
namespace but will remain unchanged on the host.

Only sysctl parameters that belong to the network subsystem can be
modified.

Related to: https://github.com/coreos/rkt/pull/2140
tuning.md [new file with mode: 0644]