[Bug 1281366] Re: ip command becomes slower with large number of network devices
ThorstenK
tkundoch at uos.de
Fri Feb 28 12:26:02 UTC 2014
Hello Brian,
just upgraded from 20111117-1ubuntu2.1 to 20111117-1ubuntu2.2 an
noticed that 'ip route' reports wrong interface device names ( if2
instead of eth0):
1ubuntu2.1:
root at maumau:/etc/apt# ip route show
default via abc.def.39.254 dev eth0 metric 100
abc.def.32.0/21 dev eth0 proto kernel scope link src abc.def.32.251
169.254.0.0/16 dev eth0 scope link metric 1000
1ubuntu2.2:
root at maumau:/etc/apt# ip route show
default via abc.def.39.254 dev if2 metric 100
abc.def.32.0/21 dev if2 proto kernel scope link src abc.def.32.251
169.254.0.0/16 dev if2 scope link metric 1000
Looks like the fix is not complete. Thanks. Thorsten
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to iproute in Ubuntu.
https://bugs.launchpad.net/bugs/1281366
Title:
ip command becomes slower with large number of network devices
Status in “iproute” package in Ubuntu:
Fix Released
Status in “iproute” source package in Precise:
Fix Committed
Status in “iproute” source package in Quantal:
Fix Committed
Bug description:
[Impact]
When using iproute commands with a large number of network devices (virtual ethernet adapters, etc) iproute performance becomes much slower.
[Test Case]
1) Download attached 'make_fake_routers.sh' and 'parse.py' scripts.
2) ./make_fake_routers.sh 3000 ip > results
3) ./parse.py results
You should be able to graph and clearly see a performance improvement
with the fix than without it.
[Regression Potential]
This patch fixes the issue:
https://git.kernel.org/cgit/linux/kernel/git/shemminger/iproute2.git/commit/?id=f0124b0f0aa0e5b9288114eb8e6ff9b4f8c33ec8
This patch is upstream and is currently in saucy and beyond.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/iproute/+bug/1281366/+subscriptions
More information about the foundations-bugs
mailing list