From: Eric Dumazet <[EMAIL PROTECTED]> Date: Wed, 16 Jan 2008 18:19:25 +0100
> I noticed "ip route list" was slower than "cat /proc/net/route" on a machine > with a full Internet > routing table (214392 entries : Special thanks to Robert ;) ) > > This is similar to problem reported in commit > d8c9283089287341c85a0a69de32c2287a990e71 > > Fix is to avoid scanning the begining of fz_hash table, but directly seek to > the right offset. > > Before patch : > > time ip route >/tmp/ROUTE > > real 0m1.285s > user 0m0.712s > sys 0m0.436s > > After patch > > # time ip route >/tmp/ROUTE > > real 0m0.835s > user 0m0.692s > sys 0m0.124s > > Signed-off-by: Eric Dumazet <[EMAIL PROTECTED]> Applied, thanks Eric. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html