GitHub user kollyma opened a pull request: https://github.com/apache/cloudstack/pull/1449
speedup iptables setup PR against 4.7 as discussed with Remi Bergsma. This will speed up the iptables creation on the virtual router. Testing showed the following: with current code: root@kvm704:~# time /usr/share/cloudstack-common/scripts/network/domr/router_proxy.sh vr_cfg.sh 169.254.1.176 -c /var/cache/cloud/VR-12f28879-de7e-44d2-8dbe-b93a04bd3ba4.cfg real 2m56.401s user 0m0.012s sys 0m0.012s modified version: root@kvm704:~# time /usr/share/cloudstack-common/scripts/network/domr/router_proxy.sh vr_cfg.sh 169.254.1.176 -c /var/cache/cloud/VR-12f28879-de7e-44d2-8dbe-b93a04bd3ba4.cfg real 1m35.762s user 0m0.020s sys 0m0.004s You can merge this pull request into a Git repository by running: $ git pull https://github.com/kollyma/cloudstack 4.7 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cloudstack/pull/1449.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1449 ---- commit 3c432934b2485685ee2f2ab4fbfc9340a72b4f0d Author: kollyma <martin.ko...@swisstxt.ch> Date: 2016-03-20T19:52:30Z speedup iptables setup Testing showed the following: with current code: root@kvm704:~# time /usr/share/cloudstack-common/scripts/network/domr/router_proxy.sh vr_cfg.sh 169.254.1.176 -c /var/cache/cloud/VR-12f28879-de7e-44d2-8dbe-b93a04bd3ba4.cfg real 2m56.401s user 0m0.012s sys 0m0.012s modified version: root@kvm704:~# time /usr/share/cloudstack-common/scripts/network/domr/router_proxy.sh vr_cfg.sh 169.254.1.176 -c /var/cache/cloud/VR-12f28879-de7e-44d2-8dbe-b93a04bd3ba4.cfg real 1m35.762s user 0m0.020s sys 0m0.004s ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---