[php-src] PR #17954: ext/sockets: adding SO_BUSY_POLL socket option for Linux.
| From: | devnexen | Date: | Sat, 01 Mar 2025 18:41:48 +0000 |
| Subject: | [php-src] PR #17954: ext/sockets: adding SO_BUSY_POLL socket option for Linux. | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-30944@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/17954
Author: devnexen
To possibly reduce the latency when polling packets by activating it from the network interface for
N microseconds.
The kernel by doing so, increase the CPU(s) activity bound to the socket significantly.
Note that not only the kernel needs to have support enabled for it (which the average distribution
usually does) but the network interface itself needs to support it too. If not, it is just a no-op.