tcp: Maintain dynamic metrics in local cache.
Maintain a local hash table of TCP dynamic metrics blobs.
Computed TCP metrics are no longer maintained in the route metrics.
The table uses RCU and an extremely simple hash so that it has low
latency and low overhead. A simple hash is legitimate because we only
make metrics blobs for fully established connections.
Some tweaking of the default hash table sizes, metric timeouts, and
the hash chain length limit certainly could use some tweaking. But
the basic design seems sound.
With help from Eric Dumazet and Joe Perches.
Signed-off-by:
David S. Miller <davem@davemloft.net>
parent
ab92bb2f
-
mentioned in commit 949ad62a
-
mentioned in commit 285ce119
-
mentioned in commit 8c4d04f6
-
mentioned in commit 005f68d6
-
mentioned in commit a5a6fe8d
-
mentioned in commit 38f1f09d
-
mentioned in commit 754bb554
-
mentioned in commit 9267df7f
-
mentioned in commit f58d2c51
-
mentioned in commit 289091ee
-
mentioned in commit 079afb18
-
mentioned in commit 57bcbbb2
-
mentioned in commit e842a686
-
mentioned in commit 9a7367cb
-
mentioned in commit d3184bea
-
mentioned in commit 38661fe6
-
mentioned in commit 76b47dab
-
mentioned in commit fc566cf3
-
mentioned in commit 4a77a0f7
-
mentioned in commit 6dea95d8
-
mentioned in commit fee608e8
-
mentioned in commit 6f27b67f
-
mentioned in commit d8064e28
-
mentioned in commit cbe94335
-
mentioned in commit 80f402e3
-
mentioned in commit febd9f4d
Please register or sign in to comment