[ https://issues.apache.org/jira/browse/CLOUDSTACK-10134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16319786#comment-16319786 ]
ASF GitHub Bot commented on CLOUDSTACK-10134: --------------------------------------------- muralikoripally commented on issue #2311: CLOUDSTACK-10134 Optimization of applying port forwarding rules URL: https://github.com/apache/cloudstack/pull/2311#issuecomment-356515968 Verified by adding 50 port forwarding rules parallel on this PR and also on master branch. Observed, rules add complete timings are improved. Steps: 1. Allocate ip address 2. Added 50 PortForwarding rule to the IP address repeatedly - Captured time (start time) 3. Repeatedly check all the Async jobs and capture the completion time. Here are timings (captured time from creatPF rule request to its Async job compete): On Master branch: Took 129 seconds to complete all the rules On PR: Took 85 seconds to complete all the rules. Also verified that all the rules are applied. LGTM for test. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > Performance improvement for applying port forwarding rules > ---------------------------------------------------------- > > Key: CLOUDSTACK-10134 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-10134 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Virtual Router > Reporter: subhash yedugundla > > Repro Steps > Step to reproduce: > 1. Allocate ip address > 2. Add PortForwarding rule to the IP address repeatedly > 3. Check the time that setting takes > Time for each rules goes up for every new rule that gets added. -- This message was sent by Atlassian JIRA (v6.4.14#64029)