how to limit the number of "stale" entries in rt_hash_table

From: Laurent Chavey
Date: Thu Apr 30 2009 - 21:05:24 EST


on a host handling a large amount of connection per seconds (in the 100's
of thousands, closer to x10^6/s), I noticed that we can have a very large
amount of entries in rt_hash_table with a RefCnt == 0. Also, most of those
entries are not re-used by new connections (i.e their use count remains
constant, usually 1 and they do not get collided with).

has anyone found a way to speed up the removal of entries.


--
--------------------------------------------------------------------------------
--
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html