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

Noble Paul commented on SOLR-16531:
-----------------------------------

 
{quote}750 cores per node; holy cow!

Is there a reason behind the benchmark parameters that end up contributing to 
that number? 
{quote}


Yes 750 cores is big number. But it doesn't matter if you have 750 or 75 the 
percentage slowdown is very similar. The perf test suite sets a large number to 
magnify the effects. In a way, it is very good that the benchmark tests with 
such large clusters or we will ignore most of the issues.

 

There was a degradation in perf in SOLR-16530 . I wouldn't have noticed it 
normally. But, I created a small cluster  in my laptop to verify the claim. It 
was indeed a bit slow.  I did it using a simple JUnit and logging. So, you 
should be able to observe similar numbers on your laptop.

My test program just created a {{MiniSolrCloudCluster}} with 2 nodes and and a 
single collection (shards=200, replicationFactor=1) and just stop and start 
nodes and measure the times and log them. There is usually some variability 
between the runs . So, if I am trying to make an improvement I run it at least 
5 times and choose the best number with each change to confirm it. Also, I did 
some logging at the code paths where my changes were added and that 
corroborated the slowdown and subsequent improvements after I made changes.

> Performance degradation due to introduction of JAX-RS
> -----------------------------------------------------
>
>                 Key: SOLR-16531
>                 URL: https://issues.apache.org/jira/browse/SOLR-16531
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Ishan Chattopadhyaya
>            Priority: Blocker
>             Fix For: 9.2
>
>         Attachments: Screenshot from 2022-11-09 11-20-44.png, 
> results-with-patch.tar.gz
>
>
> During performance benchmarking on branch_9x, I observed a slowdown in 
> restart performance since commits in SOLR-16347. See attached screenshot.
> CC [~gerlowskija].
> http://mostly.cool/cluster-test-with-patch.html
> The benchmark is here: 
> https://github.com/fullstorydev/solr-bench/blob/ishan/repeatable-jenkins/suites/cluster-test.json.
>  This suite was run after retro-actively applying the parallelStream patch 
> from SOLR-16414: 
> https://github.com/apache/solr/commit/b33161d0cdd976fc0c3dc78c4afafceb4db671cf.diff
>  
> Effort to automate these benchmarks is WIP and tracked here: SOLR-16525.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to