[openstack-dev] [neutron][rootwrap] Performance considerations, sudo?

IWAMOTO Toshihiro iwamoto at valinux.co.jp
Thu Mar 6 06:57:51 UTC 2014

At Wed, 05 Mar 2014 15:42:54 +0100,
Miguel Angel Ajo wrote:
> 3) I also find 10 minutes a long time to setup 192 networks/basic tenant 
> structures, I wonder if that time could be reduced by conversion
> of system process calls into system library calls (I know we don't have
> libraries for iproute, iptables?, and many other things... but it's a
> problem that's probably worth looking at.)

Try benchmarking

   $ sudo ip netns exec qfoobar /bin/echo

Network namespace switching costs almost as much as a rootwrap
execution, IIRC.

Execution coalesceing is not enough in this case and we would need to
change how Neutron issues commands, IMO.

More information about the OpenStack-dev mailing list