Re: [RFC][PATCH] iproute: Faster ip link add, set and delete
From: Serge Hallyn <hidden>
Date: 2013-03-28 03:20:55
From: Serge Hallyn <hidden>
Date: 2013-03-28 03:20:55
Quoting Eric W. Biederman (ebiederm@xmission.com):
Stephen Hemminger [off-list ref] writes:quoted
If you need to do lots of operations the --batch mode will be significantly faster. One command start and one link map.The problem in this case as I understand it is lots of independent operations. Now maybe lxc should not shell out to ip and perform the work itself.
fwiw lxc uses netlink to create new veths, and picks random names with mktemp() ahead of time. -serge