To update the kernel settings:

As a user with root permissions, add the following to /etc/sysctl.conf

vm.swappiness=0

vm.dirty_background_ratio=5

vm.dirty_ratio=10

net.core.wmem_max = 268435456

net.core.rmem_max = 268435456

net.ipv4.tcp_wmem = 4096 1048576 268435456

net.ipv4.tcp_rmem = 4096 1048576 268435456

Update kernel setting by running the following as a user with root permissions:

sysctl -p

Join The Discussion

Your email address will not be published. Required fields are marked *