[Top] [All Lists]

Re: [PATCH] hashed device lookup (New Benchmarks)

To: "David S. Miller" <davem@xxxxxxxxxx>
Subject: Re: [PATCH] hashed device lookup (New Benchmarks)
From: Ben Greear <greearb@xxxxxxxxxxxxxxx>
Date: Mon, 08 Jan 2001 09:26:07 -0700
Cc: netdev@xxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx
Organization: Candela Technologies
References: <3A578F27.D2A9DF52@xxxxxxxxxxxxxxx> <20010107042959.A14330@xxxxxxxxxxxxxxxxxxx> <3A580B31.7998C783@xxxxxxxxxxxxxxx> <20010107062744.A15198@xxxxxxxxxxxxxxxxxxx> <3A58249F.86DD52BC@xxxxxxxxxxxxxxx> <3A597665.4B68C39@xxxxxxxxxxxxxxx> <200101080700.XAA10037@xxxxxxxxxxxxxxx>
Sender: owner-netdev@xxxxxxxxxxx
"David S. Miller" wrote:
>    Date:        Mon, 08 Jan 2001 01:12:21 -0700
>    From: Ben Greear <greearb@xxxxxxxxxxxxxxx>
>    (If you can't get to it, let me know and I'll email it to you...some
>     cable modem networks have I firewalled.)
> It just seems that this shows that the implementation of ifconfig can
> be improved, since "ip" can do the same thing several orders of
> magnitude better (ie. non-quadratic system time complexity).
> This is the argument I started with when this thread began, so my
> position hasn't changed, it has in fact been well supported by your
> tests :-)

I don't argue that ifconfig shouldn't be fixed, but the hash speeds up
ip by about 2X too.  Is that not useful enough?  ip seems to be implemented
pretty efficient, so if the hash helps it significantly then maybe it
can help other efficient programs too.  Notice that it is the system
(ie kernel) time that stays remarkably flat with the hash + ip graph.


Ben Greear (greearb@xxxxxxxxxxxxxxx)
Author of ScryMUD: 4444        (Released under GPL)     

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