Here's the local mode example:
https://github.com/TheSearchStack/solr-bench/blob/master/config-local.json
(Here, please ignore the JDK URL, it is downloaded but the system JDK is
used)

A pre-built Solr can be used as per
https://github.com/TheSearchStack/solr-bench/blob/master/config-prebuilt.json
(I just added this).
In this example, Solr is downloaded from the given URL and used.
Alternatively, you can build Solr a tarball and place it in the solr-bench
directory and specify its name (not the full path) in the "solr-package".

When both "solr-package" and "repository" are specified, the former is used
and the latter is ignored. If only the latter is specified ("repository"),
Solr is compiled/built using the specified commit point.




On Wed, Aug 12, 2020 at 6:17 AM Mike Drob <[email protected]> wrote:

> Can you give examples of this? I don’t see them in the repo.
>
> On Tue, Aug 11, 2020 at 4:30 PM Ishan Chattopadhyaya <
> [email protected]> wrote:
>
>> Local mode uses the installed JDK. GCP mode can pick up a JDK url as
>> configured. It is just a configuration, one among many, that can be changed
>> as per needs of the benchmark. The benchmarks can be used with almost any
>> branch (just specify the commit sha in the repository section, or
>> alternatively build Solr tgz separately and refer to it in the solr-package
>> parameter).
>>
>>
>> On Wed, 12 Aug, 2020, 2:39 am Mike Drob, <[email protected]> wrote:
>>
>>> Hi Ishan,
>>>
>>> Thanks for starting this conversation! I think it's important to pay
>>> attention to performance, but I also have some concerns with coming out
>>> with such a strong mandate. In the repository, I'm looking at how to run in
>>> local mode, and see that it looks like it will try to download a jdk from
>>> some university website? That seems overly restrictive to me, why can't we
>>> use the already installed JDK?
>>>
>>> Is the benchmark suite designed for master? Or for branch_8x?
>>>
>>> Mike
>>>
>>> On Tue, Aug 11, 2020 at 9:04 AM Ishan Chattopadhyaya <
>>> [email protected]> wrote:
>>>
>>>> Hi Everyone!
>>>>    From now on, I intend to request/nag/demand/veto code changes, which
>>>> affect default code paths for most users, be accompanied by performance
>>>> testing numbers for it (e.g. [1]). Opt in features are fine, I won't
>>>> personally bother about them (but if you'd like to perf test them, it would
>>>> set a great precedent anyway).
>>>>
>>>> I will also work on setting up automated performance and stress testing
>>>> [2], but in the absence of that, let us do performance test manually and
>>>> report them in the JIRA. Unless we don't hold ourselves to a high
>>>> standards, performance will be a joke whereby performance regressions can
>>>> creep in without the committer(s) taking any responsibility towards those
>>>> users affected by it (SOLR-14665).
>>>>
>>>> A benchmarking suite that I am working on is at
>>>> https://github.com/thesearchstack/solr-bench (SOLR-10317). A stress
>>>> test suite is under development (SOLR-13933). If you wish to use either of
>>>> these, I shall offer help and support (please ping me on Slack directly or
>>>> #solr-dev, or open a Github Issue on that repo).
>>>>
>>>> Regards,
>>>> Ishan
>>>>
>>>> [1] -
>>>> https://issues.apache.org/jira/browse/SOLR-14354?focusedCommentId=17174221&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-17174221
>>>> [2] -
>>>> https://issues.apache.org/jira/browse/SOLR-14354?focusedCommentId=17174234&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-17174234
>>>> (edited)
>>>>
>>>>
>>>>

Reply via email to