cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-4350) [Performance Testing] Adding hosts take much longer time than baselines
Date Mon, 26 Aug 2013 10:37:52 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-4350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13749977#comment-13749977
] 

ASF subversion and git services commented on CLOUDSTACK-4350:
-------------------------------------------------------------

Commit 9f9f438ab907d6ce474850e1a2e68137ce6ef68e in branch refs/heads/4.2-forward from [~koushikd]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=9f9f438 ]

CLOUDSTACK-4350: [Performance Testing] Adding hosts take much longer time than baselines
During host connect multiple listeners gets invoked, one of them is the download listener.
As part of processConnect() method, it checks if templates needs to be downloaded to secondary
store for a particular HV type. As part of that check it computes list of HVs present in the
zone. The earlier logic was to query all hosts (excluding current one) and iterate over them
to
make the list. This is not optimal and is bound to have some latency as the number of hosts
increases.
Optimized the logic by querying the list of HVs from the db. directly instead of iterating
over
all hosts in the zone.

                
> [Performance Testing] Adding hosts take much longer time than baselines
> -----------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-4350
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4350
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Management Server
>    Affects Versions: 4.2.0
>         Environment: 4.2, performance test env, with simulator
>            Reporter: Sowmya Krishnan
>            Assignee: Koushik Das
>            Priority: Critical
>              Labels: perfomance
>             Fix For: Future
>
>
> Performance test setup:
> Basic zone, 1 host/cluster, tyring to deploy 20K simulator Hosts, with host tags
> Compared to baseline numbers, deploying hosts is taking  much longer in the simulator
environment
> For the 1st 1000 hosts, it took about 4 mins to deploy as per baseline
> With 4.2, the 1st 1000 hosts are taking almost 7 minutes
> Configurations:
> heap size: -Xmx12288m
> db.cloud.url.params=prepStmtCacheSize=517&cachePrepStmts=true&prepStmtCacheSqlLimit=4096&includeInnodbStatusInDeadlockExceptions=true&logSlowQueries=true
> For 20K Hosts, the number exponentially increases and the deployment time also increases.
> Attaching trace logs of 4.2 for 1k simulator hosts deployment.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message