|
|
Re: [PATCH iproute2] ip: speedup ip link |
On Sat, 09 Jun 2012 13:55:55 +0200 Eric Dumazet <eric.dumazet@xxxxxxxxx> wrote: > From: Eric Dumazet <edumazet@xxxxxxxxxx> > > 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@xxxxxxxxxx> Looks good applied -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
[Linux Kernel Discussion] [Ethernet Bridging] [Linux Wireless Networking] [Linux Bluetooth Networking] [Linux Networking Users] [VLAN] [Git] [IETF Annouce] [Linux Assembly] [Security] [Bugtraq] [Photo] [Singles Social Networking] [Yosemite Information] [MIPS Linux] [ARM Linux Kernel] [ARM Linux] [Linux Virtualization] [Linux Security] [Linux IDE] [Linux RAID] [Linux SCSI] [Free Dating]
![]() |
![]() |