GitHub user kollyma opened a pull request: https://github.com/apache/cloudstack/pull/1487
speedup iptables by prefetching the variables -- This PR is replacing speedup iptables setup #1449 -- Squashing commits and cleanup 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 speedup_iptables_prefetch_variables Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cloudstack/pull/1487.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 #1487 ---- commit 0a01e82c231acc74df1633c60bf471b1e758b50a Author: kollyma <kollyma@localhost.localdomain> Date: 2016-04-11T18:58:03Z speedup iptables by prefetching the variables ---- --- 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. ---