[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20110217.204635.71097606.davem@davemloft.net>
Date: Thu, 17 Feb 2011 20:46:35 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: netdev@...r.kernel.org
Subject: [PATCH 0/2] Add ipv4 if addr hash.
These changes are based upon something I brought up the other day,
namely that we do a full FIB lookup just to find whether a particular
unicast ipv4 address is attached to an interface.
Like ipv6, I added an RCU/RTNL protected hash table and reimplemented
__ip_dev_find() in terms of it.
These patches apply both with and without the route cache deletion
patch applied, but with the route cache removal applied the udpflood
test gets faster by ~13 seconds:
real 2m57.500s
user 0m10.640s
sys 2m46.910s
We can probably use this new table for other things as well.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists