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

Jason Gerlowski commented on SOLR-16531:
----------------------------------------

Absolutely - performance matters.  Like I said I'm happy to look into it either 
way, exceptional use case or no.

The question I'm asking is whether this should be a blocker.  A 7% degradation 
that affects everyone - no question that's a blocker.  A 7% slowdown that 
affects the 0.1% of users deployed in a particular idiosyncratic way....I think 
there's a valid question there.

But that's getting ahead of ourselves - this may still affect more than 
FullStory/Salesforce.  Let's hold off on the "Blocker or Not" question until we 
get some data on how this impacts less exceptional deployments (i.e. ones with 
100 cores / node)

bq. 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.

Assuming the underlying perf issue here is some delta on a per-core basis, the 
percentage slowdown should be constant *per-core*.  But percentage slowdown 
per-node-restart will vary a lot based on the number of cores.

Let's look at this from the perspective of a real lame dishwashing analogy, 
which is the only thing I can think of right now.  I'm a dishwasher who just 
switched over to some crummy soap, and it slows down my washing: I used to be 
able to clean a plate every 5s, but now it takes me 6s.  That's a 20% slowdown 
*per-plate*.  Additionally, there's other stuff that's part of dishwashing 
that's not per-plate: putting on gloves, filling the sink, etc.   That takes me 
10s, no matter how many dishes I'm washing.  The overall slowdown on doing a 
batch of dishes isn't always going to be 20% - it'll vary a lot based on how 
many dishes need washed.
* If you have two dishes, your old time would've been 10+2*5 = 20s, your new 
time would be 10+2*6 = 22s, and your slowdown would be (22 - 20) / 20 = *10%*
* If you have forty dishes, your old time would've been 10+40*5 = 210s, your 
new time would be 10+40*6 = 250s, and your slowdown would be (250 - 210) / 210 
= *19%*

Now to get back to Solr's terms, just swap out the word "dishes" for "cores", 
and "filling the sink, etc." is the overhead of starting a Solr node that needs 
done regardless of the number of cores.

This was super lame, but hopefully it illustrates the point I'm shooting for?

Either way - I guess we'll see for sure whether the percentage slowdown is 
constant if Ishan gets a chance to run those fewer-core tests early next week.

> 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