Skip to content

Kernel Network Configuration

The pcoip-configure-kernel-networking.sh script is installed with the Anyware Software Client for Linux. This script tunes the kernel networking configuration to facilitate the network performance required by the Client. You need to run this script after installing the Anyware Software Client for Linux.

  • To do that run the following command:

    sudo pcoip-configure-kernel-networking --persistent
    
    The script contains the following parameters:

  • rmem_max: A kernel parameter that controls the maximum size of receive buffers used by sockets.

  • rmem_default: A kernel parameter that controls the default size of receive buffers used by sockets.
  • ipv4.udp_mem: A kernel parameter that controls the maximum total buffer-space to allocate.
  • netdev_max_backlog: A kernel parameter that controls the maximum size of the receive queue.

rmem_max size

This parameter must be at least as large as rmem_default/

The values of these parameters can be viewed on the command line when the script is run, as outlined in the example below:

# cat /etc/sysctl.d/01-pcoip-client.conf
net.core.rmem_max = 32000000
net.core.rmem_default = 32000000
net.ipv4.udp_mem = 1000000 2000000 4000000
net.core.netdev_max_backlog = 2000