phsm commented on PR #8385: URL: https://github.com/apache/cloudstack/pull/8385#issuecomment-1952066908
> Tested these changes. I couldn't find any difference in performance for these changes. I followed these steps: > > 1. Setup 2 envs (with and without this patch) > > 2. Create a VPC with redundant offering > > 3. Add 10 networks and launch 1 VM in each > > 4. Restarted VPC with cleanup > > 5. Check the difference in created, removed in async_job table for VPCRestartCmd Hi, As I mentioned earlier, this is only reproducible on CS installations "with history", i.e. with a large cloudstack database with a lot of both running and removed services (VMs, networks, VPCs etc). Only then the getRouterHealthChecksConfig() takes 1-2 seconds to complete, which with combination of hundreds of executions adds a significant time to the process. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@cloudstack.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org