netdev
[Top] [All Lists]

Re: [PATCH] hashed device lookup (Does NOT meet Linus' sumission policy!

To: jamal <hadi@xxxxxxxxxx>
Subject: Re: [PATCH] hashed device lookup (Does NOT meet Linus' sumission policy!)
From: Andi Kleen <ak@xxxxxxx>
Date: Sun, 7 Jan 2001 05:06:49 +0100
Cc: Andi Kleen <ak@xxxxxxx>, Ben Greear <greearb@xxxxxxxxxxxxxxx>, linux-kernel <linux-kernel@xxxxxxxxxxxxxxx>, "netdev@xxxxxxxxxxx" <netdev@xxxxxxxxxxx>
In-reply-to: <Pine.GSO.4.30.0101062253440.18916-100000@xxxxxxxxxxxxxxxx>; from hadi@xxxxxxxxxx on Sat, Jan 06, 2001 at 11:00:10PM -0500
References: <20010107042959.A14330@xxxxxxxxxxxxxxxxxxx> <Pine.GSO.4.30.0101062253440.18916-100000@xxxxxxxxxxxxxxxx>
Sender: owner-netdev@xxxxxxxxxxx
User-agent: Mutt/1.2.5i
On Sat, Jan 06, 2001 at 11:00:10PM -0500, jamal wrote:
> Not to stray from the subject, Ben's effort is still needed. I think real
> numbers are useful instead of claims like it "displayed faster"

The problem with old ifconfig was really visible, old ifconfig needed several
minutes to setup. It was slow enough that "visual benchmarking" worked very 
well.
With the fixed ifconfig it scrolls without too annoying delays.

The ifconfig could be tuned even more by adding a hash table, but it didn't look
necessary (and frankly nobody wants to invest too much work into it, given
that ip is far superior) 

Note that the alias case is different from thousands of devices -- alias works
via SIOCGIFCONF while devices work via /proc/net/dev. 


-Andi


<Prev in Thread] Current Thread [Next in Thread>