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

Cao Manh Dat edited comment on SOLR-10619 at 5/6/17 2:31 AM:
-------------------------------------------------------------

Initial patch for this ticket. The Overseer.testPerformance time reduced from 
2m18s to 31s.
{panel:title=Before apply the patch, running time = 2m18s}
Overseer loop finished processing: 
         avgRequestsPerSecond: 0.007718809350800701
         5minRateRequestsPerSecond: 0.0
         15minRateRequestsPerSecond: 0.0
         avgTimePerRequest: 129550895586000000
         medianRequestTime: 129550895586000000
         75thPcRequestTime: 129550895586000000
         95thPcRequestTime: 129550895586000000
         99thPcRequestTime: 129550895586000000
         999thPcRequestTime: 129550895586000000
op: am_i_leader, success: 3, failure: 0
         avgRequestsPerSecond: 0.02319808972135658
         5minRateRequestsPerSecond: 0.2681280184142557
         15minRateRequestsPerSecond: 0.35006932761717896
         avgTimePerRequest: 279884000000
         medianRequestTime: 113274000000
         75thPcRequestTime: 113274000000
         95thPcRequestTime: 1470039000000
         99thPcRequestTime: 1470039000000
         999thPcRequestTime: 1470039000000
op: update_state, success: 20011, failure: 0
         avgRequestsPerSecond: 154.80879143800885
         5minRateRequestsPerSecond: 102.1642410535161
         15minRateRequestsPerSecond: 87.06135680694149
         avgTimePerRequest: 226193000000
         medianRequestTime: 213152000000
         75thPcRequestTime: 228076000000
         95thPcRequestTime: 258815000000
         99thPcRequestTime: 332711000000
         999thPcRequestTime: 3070637000000
op: state, success: 20001, failure: 0
         avgRequestsPerSecond: 154.95644369471393
         5minRateRequestsPerSecond: 103.31921470642384
         15minRateRequestsPerSecond: 88.36168489656214
         avgTimePerRequest: 15785000000
         medianRequestTime: 14638000000
         75thPcRequestTime: 19736000000
         95thPcRequestTime: 26959000000
         99thPcRequestTime: 41592000000
         999thPcRequestTime: 82301000000
{panel}

{panel:title=After apply the patch, running time = 31s}
Overseer loop finished processing: 
         avgRequestsPerSecond: 0.04702007081952135
         5minRateRequestsPerSecond: 0.0
         15minRateRequestsPerSecond: 0.0
         avgTimePerRequest: 21266388653000000
         medianRequestTime: 21266388653000000
         75thPcRequestTime: 21266388653000000
         95thPcRequestTime: 21266388653000000
         99thPcRequestTime: 21266388653000000
         999thPcRequestTime: 21266388653000000
op: am_i_leader, success: 3, failure: 0
         avgRequestsPerSecond: 0.1424634644143451
         5minRateRequestsPerSecond: 0.3804917698002856
         15minRateRequestsPerSecond: 0.393388581528647
         avgTimePerRequest: 715047000000
         medianRequestTime: 354218000000
         75thPcRequestTime: 1893782000000
         95thPcRequestTime: 1893782000000
         99thPcRequestTime: 1893782000000
         999thPcRequestTime: 1893782000000
op: update_state, success: 20011, failure: 0
         avgRequestsPerSecond: 952.638561665829
         5minRateRequestsPerSecond: 794.828260100909
         15minRateRequestsPerSecond: 786.4717084310993
         avgTimePerRequest: 214683000000
         medianRequestTime: 197207000000
         75thPcRequestTime: 217411000000
         95thPcRequestTime: 298345000000
         99thPcRequestTime: 363035000000
         999thPcRequestTime: 2295814000000
op: state, success: 20001, failure: 0
         avgRequestsPerSecond: 953.595055990491
         5minRateRequestsPerSecond: 799.4104704273237
         15minRateRequestsPerSecond: 791.1978869728018
         avgTimePerRequest: 12457000000
         medianRequestTime: 8845000000
         75thPcRequestTime: 14149000000
         95thPcRequestTime: 28728000000
         99thPcRequestTime: 50239000000
         999thPcRequestTime: 79344000000
{panel}


was (Author: caomanhdat):
Initial patch for this ticket. The Overseer.testPerformance time reduced from 
2m18s to 31s

> When DQ.knowChildren is not empty, DQ should not refetch node children in 
> case of single consumer
> -------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-10619
>                 URL: https://issues.apache.org/jira/browse/SOLR-10619
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Cao Manh Dat
>            Assignee: Cao Manh Dat
>         Attachments: SOLR-10619.patch
>
>
> Right now, for every time childWatcher is kicked off. We refetch all children 
> of DQ's node. It is a wasted in case of single consumer.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to