[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20120611145719.6337066e@nehalam.linuxnetplumber.net>
Date: Mon, 11 Jun 2012 14:57:19 -0700
From: Stephen Hemminger <shemminger@...tta.com>
To: Eric Dumazet <eric.dumazet@...il.com>
Cc: netdev <netdev@...r.kernel.org>
Subject: Re: [PATCH iproute2] ip: speedup ip link
On Sat, 09 Jun 2012 13:55:55 +0200
Eric Dumazet <eric.dumazet@...il.com> wrote:
> From: Eric Dumazet <edumazet@...gle.com>
>
> ip link has quadratic behavior because store_nlmsg()
> has a head list pointer and search the end of list.
>
> Provides a head/tail to cut time.
>
> Time with 128000 net devices, to do "ip link show dev xxx"
>
> Before: 2m3.594s
> After: 0m2.830s
>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
Looks good applied
--
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