FreeBSD Set Network Polling To Boost Performance

www.‮tual‬turi.com
FreeBSD Set Network Polling To Boost Performance

On a FreeBSD system, you can use the dev.polling.enable sysctl parameter to enable network polling, which can improve network performance in some cases.

To enable network polling on a FreeBSD system, you can use the following sysctl command:

sysctl dev.polling.enable=1

This will enable network polling for all network interfaces on the system.

To disable network polling, you can use the following command:

sysctl dev.polling.enable=0

To make the change persistent across reboots, you can add the dev.polling.enable sysctl parameter to the /etc/sysctl.conf file. For example:

dev.polling.enable=1

Note that network polling can improve network performance in some cases, but it may also have negative impacts on performance in other cases. It is recommended to test the performance of your system with and without network polling to determine if it is beneficial for your specific use case.

For more information about using sysctl to modify system parameters, you can refer to the sysctl man page by running man sysctl on the command line.

Created Time:2017-10-28 20:40:36  Author:lautturi