Re: [PATCH v2 net-next 1/4] net: implement support for low latencysocket polling

From: Eliezer Tamir
Date: Tue May 21 2013 - 02:16:41 EST


On 20/05/2013 19:22, Andi Kleen wrote:
diff --git a/Documentation/networking/ip-sysctl.txt b/Documentation/networking/ip-sysctl.txt
index f98ca63..cfcf0ea 100644
--- a/Documentation/networking/ip-sysctl.txt
+++ b/Documentation/networking/ip-sysctl.txt
@@ -19,6 +19,11 @@ ip_no_pmtu_disc - BOOLEAN
Disable Path MTU Discovery.
default FALSE

+ip_low_latency_poll - INTEGER
+ Low latency busy poll timeout. (needs CONFIG_INET_LL_RX_POLL)
+ Approximate time in ms to spin waiting for packets on the device queue.
+ default 0

Can you document the suggested value here?

ok
Also I would add something like "may increase power usage"

:)
The other thing I would add is a linuxmib statistic counter so that
we can see the polling happens.

Yes,
I will add a counter for packets that were received through this path.

Eliezer
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/