diff options
Diffstat (limited to 'Documentation/sysctl')
-rw-r--r-- | Documentation/sysctl/net.txt | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/Documentation/sysctl/net.txt b/Documentation/sysctl/net.txt index d69e14c9002c..1c15043aaee4 100644 --- a/Documentation/sysctl/net.txt +++ b/Documentation/sysctl/net.txt | |||
@@ -50,26 +50,27 @@ The maximum number of packets that kernel can handle on a NAPI interrupt, | |||
50 | it's a Per-CPU variable. | 50 | it's a Per-CPU variable. |
51 | Default: 64 | 51 | Default: 64 |
52 | 52 | ||
53 | low_latency_read | 53 | busy_read |
54 | ---------------- | 54 | ---------------- |
55 | Low latency busy poll timeout for socket reads. (needs CONFIG_NET_LL_RX_POLL) | 55 | Low latency busy poll timeout for socket reads. (needs CONFIG_NET_LL_RX_POLL) |
56 | Approximate time in us to busy loop waiting for packets on the device queue. | 56 | Approximate time in us to busy loop waiting for packets on the device queue. |
57 | This sets the default value of the SO_LL socket option. | 57 | This sets the default value of the SO_BUSY_POLL socket option. |
58 | Can be set or overridden per socket by setting socket option SO_LL, which is | 58 | Can be set or overridden per socket by setting socket option SO_BUSY_POLL, |
59 | the preferred method of enabling. | 59 | which is the preferred method of enabling. If you need to enable the feature |
60 | If you need to enable the feature globally via sysctl, a value of 50 is recommended. | 60 | globally via sysctl, a value of 50 is recommended. |
61 | Will increase power usage. | 61 | Will increase power usage. |
62 | Default: 0 (off) | 62 | Default: 0 (off) |
63 | 63 | ||
64 | low_latency_poll | 64 | busy_poll |
65 | ---------------- | 65 | ---------------- |
66 | Low latency busy poll timeout for poll and select. (needs CONFIG_NET_LL_RX_POLL) | 66 | Low latency busy poll timeout for poll and select. (needs CONFIG_NET_LL_RX_POLL) |
67 | Approximate time in us to busy loop waiting for events. | 67 | Approximate time in us to busy loop waiting for events. |
68 | Recommended value depends on the number of sockets you poll on. | 68 | Recommended value depends on the number of sockets you poll on. |
69 | For several sockets 50, for several hundreds 100. | 69 | For several sockets 50, for several hundreds 100. |
70 | For more than that you probably want to use epoll. | 70 | For more than that you probably want to use epoll. |
71 | Note that only sockets with SO_LL set will be busy polled, so you want to either | 71 | Note that only sockets with SO_BUSY_POLL set will be busy polled, |
72 | selectively set SO_LL on those sockets or set sysctl.net.low_latency_read globally. | 72 | so you want to either selectively set SO_BUSY_POLL on those sockets or set |
73 | sysctl.net.busy_read globally. | ||
73 | Will increase power usage. | 74 | Will increase power usage. |
74 | Default: 0 (off) | 75 | Default: 0 (off) |
75 | 76 | ||