Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[POC] [Security Manager Replacement] Native Java Agent (dynamic code rewriting, must be low overhead) #16731

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

reta
Copy link
Collaborator

@reta reta commented Nov 27, 2024

Description

Explore the the native Java Agent (dynamic code rewriting, must be low overhead).

How does it work:

  • the application (OpenSearch) and agent use common module bootstrap
  • the application (OpenSearch) is run with the agent
  • the application (OpenSearch) uses bootstrap module apply security policies

Example:

The sample security.policy (stays the same as before):

grant codeBase "${codebase.opensearch-core}" {
   permission  java.net.SocketPermission "localhost", "connect";
};

The application (OpenSearch) is run with the agent:

-javaagent:agent-3.0.0-SNAPSHOT.jar

The application (OpenSearch) is applies security policy to the agent:

final Policy policy =  new PolicyFile("/security.policy");
AgentPolicy.setPolicy(policy);

Running with 24-ea+31-3600:

[2025-01-22T11:58:11,913][INFO ][o.o.n.Node               ] [host] version[3.0.0-SNAPSHOT], pid[101497], build[tar/7cf6a66e74d8352cf42d60c50b97e46a2aa8866c/2025-01-21T18:11:00.731851515Z], OS[Linux/6.11.0-13-generic/amd64], JVM[Oracle Corporation/OpenJDK 64-Bit Server VM/24-ea/24-ea+31-3600]                             
[2025-01-22T11:58:11,916][INFO ][o.o.n.Node               ] [host] JVM home [/home/user/jdk-24], using bundled JDK/JRE [false]
[2025-01-22T11:58:11,916][INFO ][o.o.n.Node               ] [host] JVM arguments [-Xshare:auto, -Dopensearch.networkaddress.cache.ttl=60, -Dopensearch.networkaddress.cache.negative.ttl=10, -XX:+AlwaysPreTouch, -Xss1m, -Djava.awt.headless=true, -Dfile.encoding=UTF-8, -Djna.nosys=true, -XX:-OmitStackTraceInFastThrow, -XX:
+ShowCodeDetailsInExceptionMessages, -Dio.netty.noUnsafe=true, -Dio.netty.noKeySetOptimization=true, -Dio.netty.recycler.maxCapacityPerThread=0, -Dio.netty.allocator.numDirectArenas=0, -Dlog4j.shutdownHookEnabled=false, -Dlog4j2.disable.jmx=true, -Djava.locale.providers=SPI,CLDR, -Xms1g, -Xmx1g, -XX:+UseG1GC, -XX:G1ReservePercent=25, -XX:In
itiatingHeapOccupancyPercent=30, -Djava.io.tmpdir=/tmp/opensearch-12632241661790883371, -XX:+HeapDumpOnOutOfMemoryError, -XX:HeapDumpPath=data, -XX:ErrorFile=logs/hs_err_pid%p.log, -Xlog:gc*,gc+age=trace,safepoint:file=logs/gc.log:utctime,pid,tags:filecount=32,filesize=64m, --add-modules=jdk.incubator.vector, -Djava.util.concurrent.ForkJoin
Pool.common.threadFactory=org.opensearch.secure_sm.SecuredForkJoinWorkerThreadFactory, -javaagent:agent/opensearch-agent-3.0.0-SNAPSHOT.jar, -XX:MaxDirectMemorySize=536870912, -Dopensearch.path.home=/home/user/opensearch-3.0.0-jdk24, -Dopensearch.path.conf=/home/user/opensearch-3.0.0-jdk24/config, -Do
pensearch.distribution.type=tar, -Dopensearch.bundled_jdk=true]                                                                                                                                                                                                                                                                                       
[2025-01-22T11:58:11,916][WARN ][o.o.n.Node               ] [host] version [3.0.0-SNAPSHOT] is a pre-release version of OpenSearch and is not suitable for production                              
[2025-01-22T11:58:11,967][WARN ][o.a.l.i.v.VectorizationProvider] [host] You are running with Java 23 or later. To make full use of the Vector API, please update Apache Lucene.                                                                                                                                                 
[2025-01-22T11:58:12,347][INFO ][o.o.i.r.ReindexModulePlugin] [host] ReindexPlugin reloadSPI called                                                                                                                                                                                                                              
[2025-01-22T11:58:12,348][INFO ][o.o.i.r.ReindexModulePlugin] [host] Unable to find any implementation for RemoteReindexExtension


Related Issues

Closes #16633

Check List

  • Functionality includes testing.
  • API changes companion pull request created, if applicable.
  • Public documentation issue/PR created, if applicable.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@github-actions github-actions bot added the enhancement Enhancement or improvement to existing feature or request label Nov 27, 2024
Copy link
Contributor

❌ Gradle check result for 6b73ddf: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

@kumargu
Copy link
Contributor

kumargu commented Nov 27, 2024

thanks @reta this is really interesting and such a quick progress.

On a side note, it would be useful to add a small intro snippet how the agent would work overall.

@reta
Copy link
Collaborator Author

reta commented Nov 27, 2024

thanks @reta this is really interesting and such a quick progress.

Thanks @kumargu

On a side note, it would be useful to add a small intro snippet how the agent would work overall.

Absolutely, I have updated the description (but will push it a bit once we get JDK-21 baseline with #16366, it would simplify a lot the APIs usage)

@reta reta force-pushed the issue-16633 branch 2 times, most recently from 9858717 to ea045b0 Compare December 16, 2024 18:58
"Can-Retransform-Classes": "true",
"Agent-Class": "org.opensearch.javaagent.Agent",
"Premain-Class": "org.opensearch.javaagent.Agent",
"Boot-Class-Path": 'byte-buddy-1.15.10.jar opensearch-agent-bootstrap-3.0.0-SNAPSHOT.jar'
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

opensearch-agent-bootstrap is shared between the OpenSearch service and the agent (so the Policy instance could be propagated)

Copy link
Contributor

❌ Gradle check result for ea045b0: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

@opensearch-trigger-bot
Copy link
Contributor

This PR is stalled because it has been open for 30 days with no activity.

@opensearch-trigger-bot opensearch-trigger-bot bot added the stalled Issues that have stalled label Jan 16, 2025
Copy link
Contributor

❌ Gradle check result for 58a227c: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

@opensearch-trigger-bot opensearch-trigger-bot bot removed the stalled Issues that have stalled label Jan 17, 2025
Copy link
Contributor

❌ Gradle check result for 5e20fde: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

Copy link
Contributor

❌ Gradle check result for 4688fd1: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

Copy link
Contributor

❌ Gradle check result for 930e6ef: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

@kumargu
Copy link
Contributor

kumargu commented Jan 28, 2025

@reta is it feasible for the agent to coexist with SM enabled in 3.0, meaning both SM and Agent will enforce socket restrictions?

@reta
Copy link
Collaborator Author

reta commented Jan 28, 2025

@reta is it feasible for the agent to coexist with SM enabled in 3.0, meaning both SM and Agent will enforce socket restrictions?

@kumargu I think it is feasible in theory but should not be necessary in practice, could you share your thoughts why we may need that?

@kumargu
Copy link
Contributor

kumargu commented Jan 28, 2025

@reta is it feasible for the agent to coexist with SM enabled in 3.0, meaning both SM and Agent will enforce socket restrictions?

@kumargu I think it is feasible in theory but should not be necessary in practice, could you share your thoughts why we may need that?

I was thinking we could bring in replacements of JSM in 3.0 while JSM remains enabled in 3.0 (because we'd be still on JDK-21 in 3.0). Having the alternatives coexist for sometime will give us confidence and enough community feedback before we decide to remove it in some 3.x or 4.0.

(note JDK-24 LTS will be available in Sep 2025)

@reta
Copy link
Collaborator Author

reta commented Jan 28, 2025

Having the alternatives coexist for sometime will give us confidence and enough community feedback before we decide to remove it in some 3.x or 4.0.

I think we would only target a most critical APIs by Java Agent (we just cannot much it to SM), however we should be able to run Java Agent on JDK-21 at least.

@kumargu
Copy link
Contributor

kumargu commented Jan 28, 2025

Having the alternatives coexist for sometime will give us confidence and enough community feedback before we decide to remove it in some 3.x or 4.0.

I think we would only target a most critical APIs by Java Agent (we just cannot much it to SM), however we should be able to run Java Agent on JDK-21 at least.

100% agree. Maybe just the Socket interceptor for now since we see the problems with defining the port ranges in the PR #17107

Copy link
Contributor

❌ Gradle check result for b5c9985: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

@reta reta force-pushed the issue-16633 branch 2 times, most recently from a6fce2a to e9d0966 Compare March 22, 2025 16:00
Copy link
Contributor

❌ Gradle check result for a6fce2a: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

Copy link
Contributor

✅ Gradle check result for e9d0966: SUCCESS

Copy link
Contributor

✅ Gradle check result for aa9625c: SUCCESS


if (args[0] instanceof InetSocketAddress address) {
if (!AgentPolicy.isTrustedHost(address.getHostString())) {
final String host = address.getHostString() + ":" + address.getPort();
Copy link
Contributor

@kumargu kumargu Mar 24, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if this host is allowed permission, should we add it in the cache of trustedHost? Maybe we need a cache of protectionDomain and trustedHost and we skip stack policy evaluation for items in cache.

cc @pranu2502

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if this host is allowed permission, should be add it in the cache of trustedHost?

Not sure I got it: the AgentPolicy caches the trusted hosts (it is a set) and agent does not evaluate any protection domains, or I am missing something?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I couldn't find where we are adding trusted hosts to the cache (the set). I could only find the reference of trusted hosts being added in the BootstrapForTesting.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is (probably) the only place it is being used

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gotcha.

Do you think that if we add host to the trustedHosts (set) which were allowed socket calls would help save the cost of below evaluation?

   for (final ProtectionDomain domain : callers) {
                    if (!policy.implies(domain, permission)) {
                        throw new SecurityException("Denied access to: " + host + ", domain " + domain);
                    }
                }

something like:

    if (args[0] instanceof InetSocketAddress address) {
        final String hostKey = address.getHostString() + ":" + address.getPort();

        if (!AgentPolicy.isTrustedHost(hostKey)) {
            final SocketPermission permission = new SocketPermission(hostKey, "connect,resolve");

            for (final ProtectionDomain domain : callers) {
                if (!policy.implies(domain, permission)) {
                    throw new SecurityException("Denied access to: " + hostKey + ", domain " + domain);
                }
            }

            AgentPolicy.addTrustedHost(hostKey);
        }

    }

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pranu2502 is still collecting perf numbers and will post it soon. But as early numbers are arriving: with http_logs workload, we see a 5% increase in p99 indexing latency. Hence, I have been exploring perf optimisations. This one could be one of them (an another one was proposed earlier as a comment in this PR).

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you think that if we add host to the trustedHosts (set) which were allowed socket calls would help save the cost of below evaluation?

We should not do that I believe: trustedHosts is not associated with any protection domain. Whereas the context of where connect attempt is happening, matters a lot. Fe, the if any code flow successfully passes the security checks, it will implicitly permit the connection to the same host:port from anywhere - not good.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed.

Quoting back my initial comment.

Maybe we need a cache of protectionDomain and trustedHost and we skip stack policy evaluation for items in cache.

So instead of a set, we might use a map of protection domain -> trustedHost and if the entry exists in the cache (map), we skip the policy evaluation. But, sure, we can come back to it when we get perf numbers.

Copy link
Contributor

❌ Gradle check result for dc2903f: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

Copy link
Contributor

✅ Gradle check result for dc2903f: SUCCESS

@kumargu
Copy link
Contributor

kumargu commented Mar 26, 2025

{"run-benchmark-test": "id_3"}

Copy link
Contributor

The Jenkins job url is https://build.ci.opensearch.org/job/benchmark-pull-request/2686/ . Final results will be published once the job is completed.

@opensearch-ci-bot
Copy link
Collaborator

Benchmark Results

Benchmark Results for Job: https://build.ci.opensearch.org/job/benchmark-pull-request/2686/

Metric Task Value Unit
Cumulative indexing time of primary shards 0 min
Min cumulative indexing time across primary shards 0 min
Median cumulative indexing time across primary shards 0 min
Max cumulative indexing time across primary shards 0 min
Cumulative indexing throttle time of primary shards 0 min
Min cumulative indexing throttle time across primary shards 0 min
Median cumulative indexing throttle time across primary shards 0 min
Max cumulative indexing throttle time across primary shards 0 min
Cumulative merge time of primary shards 0 min
Cumulative merge count of primary shards 0
Min cumulative merge time across primary shards 0 min
Median cumulative merge time across primary shards 0 min
Max cumulative merge time across primary shards 0 min
Cumulative merge throttle time of primary shards 0 min
Min cumulative merge throttle time across primary shards 0 min
Median cumulative merge throttle time across primary shards 0 min
Max cumulative merge throttle time across primary shards 0 min
Cumulative refresh time of primary shards 0 min
Cumulative refresh count of primary shards 2
Min cumulative refresh time across primary shards 0 min
Median cumulative refresh time across primary shards 0 min
Max cumulative refresh time across primary shards 0 min
Cumulative flush time of primary shards 0 min
Cumulative flush count of primary shards 1
Min cumulative flush time across primary shards 0 min
Median cumulative flush time across primary shards 0 min
Max cumulative flush time across primary shards 0 min
Total Young Gen GC time 0.347 s
Total Young Gen GC count 12
Total Old Gen GC time 0 s
Total Old Gen GC count 0
Store size 21.4085 GB
Translog size 5.12227e-08 GB
Heap used for segments 0 MB
Heap used for doc values 0 MB
Heap used for terms 0 MB
Heap used for norms 0 MB
Heap used for points 0 MB
Heap used for stored fields 0 MB
Segment count 23
Min Throughput wait-for-snapshot-recovery 4.18286e+07 byte/s
Mean Throughput wait-for-snapshot-recovery 4.18286e+07 byte/s
Median Throughput wait-for-snapshot-recovery 4.18286e+07 byte/s
Max Throughput wait-for-snapshot-recovery 4.18286e+07 byte/s
100th percentile latency wait-for-snapshot-recovery 544373 ms
100th percentile service time wait-for-snapshot-recovery 544373 ms
error rate wait-for-snapshot-recovery 0 %
Min Throughput default 3.01 ops/s
Mean Throughput default 3.02 ops/s
Median Throughput default 3.02 ops/s
Max Throughput default 3.04 ops/s
50th percentile latency default 7.39304 ms
90th percentile latency default 7.9495 ms
99th percentile latency default 9.33259 ms
100th percentile latency default 9.62251 ms
50th percentile service time default 6.12351 ms
90th percentile service time default 6.77052 ms
99th percentile service time default 7.89323 ms
100th percentile service time default 8.31788 ms
error rate default 0 %
Min Throughput range 0.7 ops/s
Mean Throughput range 0.7 ops/s
Median Throughput range 0.7 ops/s
Max Throughput range 0.71 ops/s
50th percentile latency range 164.693 ms
90th percentile latency range 166.921 ms
99th percentile latency range 178.972 ms
100th percentile latency range 185.773 ms
50th percentile service time range 162.457 ms
90th percentile service time range 164.233 ms
99th percentile service time range 176.431 ms
100th percentile service time range 183.203 ms
error rate range 0 %
Min Throughput distance_amount_agg 0.08 ops/s
Mean Throughput distance_amount_agg 0.08 ops/s
Median Throughput distance_amount_agg 0.08 ops/s
Max Throughput distance_amount_agg 0.08 ops/s
50th percentile latency distance_amount_agg 1.23599e+06 ms
90th percentile latency distance_amount_agg 1.72874e+06 ms
99th percentile latency distance_amount_agg 1.84042e+06 ms
100th percentile latency distance_amount_agg 1.84657e+06 ms
50th percentile service time distance_amount_agg 12811.8 ms
90th percentile service time distance_amount_agg 12924.1 ms
99th percentile service time distance_amount_agg 13024.4 ms
100th percentile service time distance_amount_agg 13026.7 ms
error rate distance_amount_agg 0 %
Min Throughput autohisto_agg 1.51 ops/s
Mean Throughput autohisto_agg 1.51 ops/s
Median Throughput autohisto_agg 1.51 ops/s
Max Throughput autohisto_agg 1.53 ops/s
50th percentile latency autohisto_agg 8.0522 ms
90th percentile latency autohisto_agg 8.78855 ms
99th percentile latency autohisto_agg 10.3633 ms
100th percentile latency autohisto_agg 10.4104 ms
50th percentile service time autohisto_agg 6.52385 ms
90th percentile service time autohisto_agg 7.08964 ms
99th percentile service time autohisto_agg 8.98213 ms
100th percentile service time autohisto_agg 9.00675 ms
error rate autohisto_agg 0 %
Min Throughput date_histogram_agg 1.51 ops/s
Mean Throughput date_histogram_agg 1.52 ops/s
Median Throughput date_histogram_agg 1.51 ops/s
Max Throughput date_histogram_agg 1.53 ops/s
50th percentile latency date_histogram_agg 7.99935 ms
90th percentile latency date_histogram_agg 8.4983 ms
99th percentile latency date_histogram_agg 9.11403 ms
100th percentile latency date_histogram_agg 9.21289 ms
50th percentile service time date_histogram_agg 6.46222 ms
90th percentile service time date_histogram_agg 6.79196 ms
99th percentile service time date_histogram_agg 7.90306 ms
100th percentile service time date_histogram_agg 7.97726 ms
error rate date_histogram_agg 0 %
Min Throughput desc_sort_tip_amount 0.5 ops/s
Mean Throughput desc_sort_tip_amount 0.5 ops/s
Median Throughput desc_sort_tip_amount 0.5 ops/s
Max Throughput desc_sort_tip_amount 0.51 ops/s
50th percentile latency desc_sort_tip_amount 34.9245 ms
90th percentile latency desc_sort_tip_amount 35.84 ms
99th percentile latency desc_sort_tip_amount 50.6421 ms
100th percentile latency desc_sort_tip_amount 63.9152 ms
50th percentile service time desc_sort_tip_amount 32.2363 ms
90th percentile service time desc_sort_tip_amount 32.8469 ms
99th percentile service time desc_sort_tip_amount 47.9239 ms
100th percentile service time desc_sort_tip_amount 61.0932 ms
error rate desc_sort_tip_amount 0 %
Min Throughput asc_sort_tip_amount 0.5 ops/s
Mean Throughput asc_sort_tip_amount 0.51 ops/s
Median Throughput asc_sort_tip_amount 0.5 ops/s
Max Throughput asc_sort_tip_amount 0.51 ops/s
50th percentile latency asc_sort_tip_amount 8.4269 ms
90th percentile latency asc_sort_tip_amount 9.06917 ms
99th percentile latency asc_sort_tip_amount 9.47109 ms
100th percentile latency asc_sort_tip_amount 9.49618 ms
50th percentile service time asc_sort_tip_amount 5.69911 ms
90th percentile service time asc_sort_tip_amount 5.95803 ms
99th percentile service time asc_sort_tip_amount 6.82529 ms
100th percentile service time asc_sort_tip_amount 6.82766 ms
error rate asc_sort_tip_amount 0 %

@opensearch-ci-bot
Copy link
Collaborator

Benchmark Baseline Comparison Results

Benchmark Results for Job: https://build.ci.opensearch.org/job/benchmark-compare/47/

Metric Task Baseline Contender Diff Unit
Cumulative indexing time of primary shards 0 0 0 min
Min cumulative indexing time across primary shard 0 0 0 min
Median cumulative indexing time across primary shard 0 0 0 min
Max cumulative indexing time across primary shard 0 0 0 min
Cumulative indexing throttle time of primary shards 0 0 0 min
Min cumulative indexing throttle time across primary shard 0 0 0 min
Median cumulative indexing throttle time across primary shard 0 0 0 min
Max cumulative indexing throttle time across primary shard 0 0 0 min
Cumulative merge time of primary shards 0 0 0 min
Cumulative merge count of primary shards 0 0 0
Min cumulative merge time across primary shard 0 0 0 min
Median cumulative merge time across primary shard 0 0 0 min
Max cumulative merge time across primary shard 0 0 0 min
Cumulative merge throttle time of primary shards 0 0 0 min
Min cumulative merge throttle time across primary shard 0 0 0 min
Median cumulative merge throttle time across primary shard 0 0 0 min
Max cumulative merge throttle time across primary shard 0 0 0 min
Cumulative refresh time of primary shards 0 0 0 min
Cumulative refresh count of primary shards 2 2 0
Min cumulative refresh time across primary shard 0 0 0 min
Median cumulative refresh time across primary shard 0 0 0 min
Max cumulative refresh time across primary shard 0 0 0 min
Cumulative flush time of primary shards 0 0 0 min
Cumulative flush count of primary shards 1 1 0
Min cumulative flush time across primary shard 0 0 0 min
Median cumulative flush time across primary shard 0 0 0 min
Max cumulative flush time across primary shard 0 0 0 min
Total Young Gen GC time 0.179 0.347 0.168 s
Total Young Gen GC count 6 12 6
Total Old Gen GC time 0 0 0 s
Total Old Gen GC count 0 0 0
Store size 21.4085 21.4085 0 GB
Translog size 5.12227e-08 5.12227e-08 0 GB
Heap used for segments 0 0 0 MB
Heap used for doc values 0 0 0 MB
Heap used for terms 0 0 0 MB
Heap used for norms 0 0 0 MB
Heap used for points 0 0 0 MB
Heap used for stored fields 0 0 0 MB
Segment count 23 23 0
Min Throughput wait-for-snapshot-recovery 4.1854e+07 4.18286e+07 -25436 byte/s
Mean Throughput wait-for-snapshot-recovery 4.1854e+07 4.18286e+07 -25436 byte/s
Median Throughput wait-for-snapshot-recovery 4.1854e+07 4.18286e+07 -25436 byte/s
Max Throughput wait-for-snapshot-recovery 4.1854e+07 4.18286e+07 -25436 byte/s
100th percentile latency wait-for-snapshot-recovery 543603 544373 769.938 ms
100th percentile service time wait-for-snapshot-recovery 543603 544373 769.938 ms
error rate wait-for-snapshot-recovery 0 0 0 %
Min Throughput default 3.01298 3.01268 -0.0003 ops/s
Mean Throughput default 3.02114 3.02059 -0.00055 ops/s
Median Throughput default 3.01927 3.01877 -0.0005 ops/s
Max Throughput default 3.03722 3.03631 -0.00091 ops/s
50th percentile latency default 7.29061 7.39304 0.10243 ms
90th percentile latency default 8.04517 7.9495 -0.09568 ms
99th percentile latency default 8.98043 9.33259 0.35217 ms
100th percentile latency default 9.17219 9.62251 0.45031 ms
50th percentile service time default 6.10266 6.12351 0.02085 ms
90th percentile service time default 6.79657 6.77052 -0.02605 ms
99th percentile service time default 7.62846 7.89323 0.26477 ms
100th percentile service time default 7.65986 8.31788 0.65802 ms
error rate default 0 0 0 %
Min Throughput range 0.702382 0.702167 -0.00021 ops/s
Mean Throughput range 0.703912 0.703561 -0.00035 ops/s
Median Throughput range 0.703558 0.703237 -0.00032 ops/s
Max Throughput range 0.707054 0.70642 -0.00063 ops/s
50th percentile latency range 167.795 164.693 -3.10153 ms
90th percentile latency range 169.879 166.921 -2.95814 ms
99th percentile latency range 187.165 178.972 -8.1929 ms
100th percentile latency range 195.649 185.773 -9.87628 ms
50th percentile service time range 165.648 162.457 -3.19086 ms
90th percentile service time range 167.169 164.233 -2.93617 ms
99th percentile service time range 184.503 176.431 -8.07166 ms
100th percentile service time range 193.2 183.203 -9.99681 ms
error rate range 0 0 0 %
Min Throughput distance_amount_agg 0.0825612 0.0781182 -0.00444 ops/s
Mean Throughput distance_amount_agg 0.0829961 0.0782237 -0.00477 ops/s
Median Throughput distance_amount_agg 0.0829647 0.0782173 -0.00475 ops/s
Max Throughput distance_amount_agg 0.0833186 0.0783507 -0.00497 ops/s
50th percentile latency distance_amount_agg 1.1598e+06 1.23599e+06 76193.8 ms
90th percentile latency distance_amount_agg 1.62693e+06 1.72874e+06 101801 ms
99th percentile latency distance_amount_agg 1.73243e+06 1.84042e+06 107983 ms
100th percentile latency distance_amount_agg 1.73827e+06 1.84657e+06 108309 ms
50th percentile service time distance_amount_agg 12127.1 12811.8 684.653 ms
90th percentile service time distance_amount_agg 12293.8 12924.1 630.273 ms
99th percentile service time distance_amount_agg 12691.5 13024.4 332.825 ms
100th percentile service time distance_amount_agg 12882.7 13026.7 143.934 ms
error rate distance_amount_agg 0 0 0 %
Min Throughput autohisto_agg 1.50881 1.50892 0.00011 ops/s
Mean Throughput autohisto_agg 1.51457 1.51475 0.00018 ops/s
Median Throughput autohisto_agg 1.51325 1.51344 0.00018 ops/s
Max Throughput autohisto_agg 1.52622 1.52655 0.00033 ops/s
50th percentile latency autohisto_agg 8.35795 8.0522 -0.30576 ms
90th percentile latency autohisto_agg 9.04802 8.78855 -0.25947 ms
99th percentile latency autohisto_agg 10.9732 10.3633 -0.60984 ms
100th percentile latency autohisto_agg 11.085 10.4104 -0.67457 ms
50th percentile service time autohisto_agg 6.7854 6.52385 -0.26155 ms
90th percentile service time autohisto_agg 7.48182 7.08964 -0.39219 ms
99th percentile service time autohisto_agg 9.21666 8.98213 -0.23452 ms
100th percentile service time autohisto_agg 9.33929 9.00675 -0.33254 ms
error rate autohisto_agg 0 0 0 %
Min Throughput date_histogram_agg 1.50975 1.50973 -2e-05 ops/s
Mean Throughput date_histogram_agg 1.51612 1.51609 -4e-05 ops/s
Median Throughput date_histogram_agg 1.51467 1.51465 -2e-05 ops/s
Max Throughput date_histogram_agg 1.52907 1.52899 -7e-05 ops/s
50th percentile latency date_histogram_agg 7.83354 7.99935 0.16581 ms
90th percentile latency date_histogram_agg 8.28102 8.4983 0.21728 ms
99th percentile latency date_histogram_agg 10.0723 9.11403 -0.95827 ms
100th percentile latency date_histogram_agg 10.2462 9.21289 -1.03331 ms
50th percentile service time date_histogram_agg 6.37833 6.46222 0.08389 ms
90th percentile service time date_histogram_agg 6.5363 6.79196 0.25567 ms
99th percentile service time date_histogram_agg 8.15519 7.90306 -0.25213 ms
100th percentile service time date_histogram_agg 8.39304 7.97726 -0.41578 ms
error rate date_histogram_agg 0 0 0 %
Min Throughput desc_sort_tip_amount 0.502368 0.502405 4e-05 ops/s
Mean Throughput desc_sort_tip_amount 0.503895 0.503955 6e-05 ops/s
Median Throughput desc_sort_tip_amount 0.503543 0.503598 6e-05 ops/s
Max Throughput desc_sort_tip_amount 0.50703 0.50714 0.00011 ops/s
50th percentile latency desc_sort_tip_amount 35.2412 34.9245 -0.31668 ms
90th percentile latency desc_sort_tip_amount 36.2964 35.84 -0.45641 ms
99th percentile latency desc_sort_tip_amount 38.6749 50.6421 11.9672 ms
100th percentile latency desc_sort_tip_amount 38.7614 63.9152 25.1538 ms
50th percentile service time desc_sort_tip_amount 32.5709 32.2363 -0.33456 ms
90th percentile service time desc_sort_tip_amount 33.1754 32.8469 -0.3285 ms
99th percentile service time desc_sort_tip_amount 35.5164 47.9239 12.4075 ms
100th percentile service time desc_sort_tip_amount 35.6268 61.0932 25.4665 ms
error rate desc_sort_tip_amount 0 0 0 %
Min Throughput asc_sort_tip_amount 0.503048 0.503073 2e-05 ops/s
Mean Throughput asc_sort_tip_amount 0.505017 0.505058 4e-05 ops/s
Median Throughput asc_sort_tip_amount 0.504563 0.5046 4e-05 ops/s
Max Throughput asc_sort_tip_amount 0.509069 0.509148 8e-05 ops/s
50th percentile latency asc_sort_tip_amount 8.34277 8.4269 0.08413 ms
90th percentile latency asc_sort_tip_amount 8.86363 9.06917 0.20554 ms
99th percentile latency asc_sort_tip_amount 9.71171 9.47109 -0.24062 ms
100th percentile latency asc_sort_tip_amount 10.1123 9.49618 -0.61612 ms
50th percentile service time asc_sort_tip_amount 5.57208 5.69911 0.12703 ms
90th percentile service time asc_sort_tip_amount 5.77394 5.95803 0.18409 ms
99th percentile service time asc_sort_tip_amount 6.66928 6.82529 0.15602 ms
100th percentile service time asc_sort_tip_amount 6.80853 6.82766 0.01913 ms
error rate asc_sort_tip_amount 0 0 0 %

@expani
Copy link
Contributor

expani commented Mar 26, 2025

{"run-benchmark-test": "id_4"}

Copy link
Contributor

The Jenkins job url is https://build.ci.opensearch.org/job/benchmark-pull-request/2695/ . Final results will be published once the job is completed.

@opensearch-ci-bot
Copy link
Collaborator

Benchmark Results

Benchmark Results for Job: https://build.ci.opensearch.org/job/benchmark-pull-request/2695/

Metric Task Value Unit
Cumulative indexing time of primary shards 0 min
Min cumulative indexing time across primary shards 0 min
Median cumulative indexing time across primary shards 0 min
Max cumulative indexing time across primary shards 0 min
Cumulative indexing throttle time of primary shards 0 min
Min cumulative indexing throttle time across primary shards 0 min
Median cumulative indexing throttle time across primary shards 0 min
Max cumulative indexing throttle time across primary shards 0 min
Cumulative merge time of primary shards 0 min
Cumulative merge count of primary shards 0
Min cumulative merge time across primary shards 0 min
Median cumulative merge time across primary shards 0 min
Max cumulative merge time across primary shards 0 min
Cumulative merge throttle time of primary shards 0 min
Min cumulative merge throttle time across primary shards 0 min
Median cumulative merge throttle time across primary shards 0 min
Max cumulative merge throttle time across primary shards 0 min
Cumulative refresh time of primary shards 0 min
Cumulative refresh count of primary shards 4
Min cumulative refresh time across primary shards 0 min
Median cumulative refresh time across primary shards 0 min
Max cumulative refresh time across primary shards 0 min
Cumulative flush time of primary shards 0 min
Cumulative flush count of primary shards 1
Min cumulative flush time across primary shards 0 min
Median cumulative flush time across primary shards 0 min
Max cumulative flush time across primary shards 0 min
Total Young Gen GC time 1.814 s
Total Young Gen GC count 76
Total Old Gen GC time 0 s
Total Old Gen GC count 0
Store size 22.1011 GB
Translog size 5.12227e-08 GB
Heap used for segments 0 MB
Heap used for doc values 0 MB
Heap used for terms 0 MB
Heap used for norms 0 MB
Heap used for points 0 MB
Heap used for stored fields 0 MB
Segment count 8
Min Throughput wait-for-snapshot-recovery 4.18489e+07 byte/s
Mean Throughput wait-for-snapshot-recovery 4.18489e+07 byte/s
Median Throughput wait-for-snapshot-recovery 4.18489e+07 byte/s
Max Throughput wait-for-snapshot-recovery 4.18489e+07 byte/s
100th percentile latency wait-for-snapshot-recovery 561441 ms
100th percentile service time wait-for-snapshot-recovery 561441 ms
error rate wait-for-snapshot-recovery 0 %
Min Throughput wait-until-merges-finish 97.37 ops/s
Mean Throughput wait-until-merges-finish 97.37 ops/s
Median Throughput wait-until-merges-finish 97.37 ops/s
Max Throughput wait-until-merges-finish 97.37 ops/s
100th percentile latency wait-until-merges-finish 9.97088 ms
100th percentile service time wait-until-merges-finish 9.97088 ms
error rate wait-until-merges-finish 0 %
Min Throughput default 2 ops/s
Mean Throughput default 2.01 ops/s
Median Throughput default 2.01 ops/s
Max Throughput default 2.01 ops/s
50th percentile latency default 6.99705 ms
90th percentile latency default 7.45526 ms
99th percentile latency default 8.03499 ms
100th percentile latency default 8.09078 ms
50th percentile service time default 5.63163 ms
90th percentile service time default 5.87927 ms
99th percentile service time default 6.89986 ms
100th percentile service time default 7.26754 ms
error rate default 0 %
Min Throughput desc_sort_timestamp 2 ops/s
Mean Throughput desc_sort_timestamp 2 ops/s
Median Throughput desc_sort_timestamp 2 ops/s
Max Throughput desc_sort_timestamp 2.01 ops/s
50th percentile latency desc_sort_timestamp 38.5981 ms
90th percentile latency desc_sort_timestamp 39.1934 ms
99th percentile latency desc_sort_timestamp 44.3009 ms
100th percentile latency desc_sort_timestamp 45.943 ms
50th percentile service time desc_sort_timestamp 37.2646 ms
90th percentile service time desc_sort_timestamp 37.6715 ms
99th percentile service time desc_sort_timestamp 43.0941 ms
100th percentile service time desc_sort_timestamp 44.5576 ms
error rate desc_sort_timestamp 0 %
Min Throughput asc_sort_timestamp 2.01 ops/s
Mean Throughput asc_sort_timestamp 2.01 ops/s
Median Throughput asc_sort_timestamp 2.01 ops/s
Max Throughput asc_sort_timestamp 2.01 ops/s
50th percentile latency asc_sort_timestamp 16.0038 ms
90th percentile latency asc_sort_timestamp 16.4962 ms
99th percentile latency asc_sort_timestamp 34.4843 ms
100th percentile latency asc_sort_timestamp 46.8615 ms
50th percentile service time asc_sort_timestamp 14.7297 ms
90th percentile service time asc_sort_timestamp 15.0354 ms
99th percentile service time asc_sort_timestamp 33.1267 ms
100th percentile service time asc_sort_timestamp 45.1499 ms
error rate asc_sort_timestamp 0 %
Min Throughput desc_sort_with_after_timestamp 2 ops/s
Mean Throughput desc_sort_with_after_timestamp 2 ops/s
Median Throughput desc_sort_with_after_timestamp 2 ops/s
Max Throughput desc_sort_with_after_timestamp 2 ops/s
50th percentile latency desc_sort_with_after_timestamp 286.236 ms
90th percentile latency desc_sort_with_after_timestamp 290.179 ms
99th percentile latency desc_sort_with_after_timestamp 320.602 ms
100th percentile latency desc_sort_with_after_timestamp 330.776 ms
50th percentile service time desc_sort_with_after_timestamp 285.091 ms
90th percentile service time desc_sort_with_after_timestamp 289.234 ms
99th percentile service time desc_sort_with_after_timestamp 319.557 ms
100th percentile service time desc_sort_with_after_timestamp 329.28 ms
error rate desc_sort_with_after_timestamp 0 %
Min Throughput asc_sort_with_after_timestamp 2 ops/s
Mean Throughput asc_sort_with_after_timestamp 2 ops/s
Median Throughput asc_sort_with_after_timestamp 2 ops/s
Max Throughput asc_sort_with_after_timestamp 2 ops/s
50th percentile latency asc_sort_with_after_timestamp 260.689 ms
90th percentile latency asc_sort_with_after_timestamp 276.029 ms
99th percentile latency asc_sort_with_after_timestamp 294.523 ms
100th percentile latency asc_sort_with_after_timestamp 297.918 ms
50th percentile service time asc_sort_with_after_timestamp 259.206 ms
90th percentile service time asc_sort_with_after_timestamp 275.07 ms
99th percentile service time asc_sort_with_after_timestamp 293.527 ms
100th percentile service time asc_sort_with_after_timestamp 297.324 ms
error rate asc_sort_with_after_timestamp 0 %
Min Throughput desc_sort_timestamp_can_match_shortcut 2 ops/s
Mean Throughput desc_sort_timestamp_can_match_shortcut 2 ops/s
Median Throughput desc_sort_timestamp_can_match_shortcut 2 ops/s
Max Throughput desc_sort_timestamp_can_match_shortcut 2.01 ops/s
50th percentile latency desc_sort_timestamp_can_match_shortcut 15.6132 ms
90th percentile latency desc_sort_timestamp_can_match_shortcut 16.1419 ms
99th percentile latency desc_sort_timestamp_can_match_shortcut 22.9685 ms
100th percentile latency desc_sort_timestamp_can_match_shortcut 23.4685 ms
50th percentile service time desc_sort_timestamp_can_match_shortcut 14.2352 ms
90th percentile service time desc_sort_timestamp_can_match_shortcut 14.6422 ms
99th percentile service time desc_sort_timestamp_can_match_shortcut 21.1041 ms
100th percentile service time desc_sort_timestamp_can_match_shortcut 22.1307 ms
error rate desc_sort_timestamp_can_match_shortcut 0 %
Min Throughput desc_sort_timestamp_no_can_match_shortcut 2.01 ops/s
Mean Throughput desc_sort_timestamp_no_can_match_shortcut 2.01 ops/s
Median Throughput desc_sort_timestamp_no_can_match_shortcut 2.01 ops/s
Max Throughput desc_sort_timestamp_no_can_match_shortcut 2.01 ops/s
50th percentile latency desc_sort_timestamp_no_can_match_shortcut 15.0615 ms
90th percentile latency desc_sort_timestamp_no_can_match_shortcut 15.4715 ms
99th percentile latency desc_sort_timestamp_no_can_match_shortcut 16.763 ms
100th percentile latency desc_sort_timestamp_no_can_match_shortcut 17.0232 ms
50th percentile service time desc_sort_timestamp_no_can_match_shortcut 13.6335 ms
90th percentile service time desc_sort_timestamp_no_can_match_shortcut 14.0323 ms
99th percentile service time desc_sort_timestamp_no_can_match_shortcut 15.2555 ms
100th percentile service time desc_sort_timestamp_no_can_match_shortcut 15.2668 ms
error rate desc_sort_timestamp_no_can_match_shortcut 0 %
Min Throughput asc_sort_timestamp_can_match_shortcut 2.01 ops/s
Mean Throughput asc_sort_timestamp_can_match_shortcut 2.01 ops/s
Median Throughput asc_sort_timestamp_can_match_shortcut 2.01 ops/s
Max Throughput asc_sort_timestamp_can_match_shortcut 2.01 ops/s
50th percentile latency asc_sort_timestamp_can_match_shortcut 15.524 ms
90th percentile latency asc_sort_timestamp_can_match_shortcut 16.0008 ms
99th percentile latency asc_sort_timestamp_can_match_shortcut 16.5975 ms
100th percentile latency asc_sort_timestamp_can_match_shortcut 16.993 ms
50th percentile service time asc_sort_timestamp_can_match_shortcut 14.2555 ms
90th percentile service time asc_sort_timestamp_can_match_shortcut 14.4154 ms
99th percentile service time asc_sort_timestamp_can_match_shortcut 15.1301 ms
100th percentile service time asc_sort_timestamp_can_match_shortcut 15.2233 ms
error rate asc_sort_timestamp_can_match_shortcut 0 %
Min Throughput asc_sort_timestamp_no_can_match_shortcut 2.01 ops/s
Mean Throughput asc_sort_timestamp_no_can_match_shortcut 2.01 ops/s
Median Throughput asc_sort_timestamp_no_can_match_shortcut 2.01 ops/s
Max Throughput asc_sort_timestamp_no_can_match_shortcut 2.01 ops/s
50th percentile latency asc_sort_timestamp_no_can_match_shortcut 15.841 ms
90th percentile latency asc_sort_timestamp_no_can_match_shortcut 16.2846 ms
99th percentile latency asc_sort_timestamp_no_can_match_shortcut 18.5153 ms
100th percentile latency asc_sort_timestamp_no_can_match_shortcut 20.5993 ms
50th percentile service time asc_sort_timestamp_no_can_match_shortcut 14.5372 ms
90th percentile service time asc_sort_timestamp_no_can_match_shortcut 14.7011 ms
99th percentile service time asc_sort_timestamp_no_can_match_shortcut 17.2829 ms
100th percentile service time asc_sort_timestamp_no_can_match_shortcut 19.5628 ms
error rate asc_sort_timestamp_no_can_match_shortcut 0 %
Min Throughput term 2.01 ops/s
Mean Throughput term 2.01 ops/s
Median Throughput term 2.01 ops/s
Max Throughput term 2.01 ops/s
50th percentile latency term 6.17095 ms
90th percentile latency term 6.73614 ms
99th percentile latency term 9.95234 ms
100th percentile latency term 12.37 ms
50th percentile service time term 4.89368 ms
90th percentile service time term 5.11643 ms
99th percentile service time term 8.7319 ms
100th percentile service time term 11.4221 ms
error rate term 0 %
Min Throughput multi_terms-keyword 1.31 ops/s
Mean Throughput multi_terms-keyword 1.31 ops/s
Median Throughput multi_terms-keyword 1.31 ops/s
Max Throughput multi_terms-keyword 1.32 ops/s
50th percentile latency multi_terms-keyword 65123.9 ms
90th percentile latency multi_terms-keyword 75286.7 ms
99th percentile latency multi_terms-keyword 77578.5 ms
100th percentile latency multi_terms-keyword 77703.4 ms
50th percentile service time multi_terms-keyword 750.878 ms
90th percentile service time multi_terms-keyword 761.682 ms
99th percentile service time multi_terms-keyword 823.596 ms
100th percentile service time multi_terms-keyword 874.38 ms
error rate multi_terms-keyword 0 %
Min Throughput keyword-terms 2 ops/s
Mean Throughput keyword-terms 2 ops/s
Median Throughput keyword-terms 2 ops/s
Max Throughput keyword-terms 2.01 ops/s
50th percentile latency keyword-terms 24.8482 ms
90th percentile latency keyword-terms 25.4668 ms
99th percentile latency keyword-terms 31.0232 ms
100th percentile latency keyword-terms 31.1814 ms
50th percentile service time keyword-terms 22.5725 ms
90th percentile service time keyword-terms 23.0825 ms
99th percentile service time keyword-terms 28.8448 ms
100th percentile service time keyword-terms 29.01 ms
error rate keyword-terms 0 %
Min Throughput keyword-terms-low-cardinality 2.01 ops/s
Mean Throughput keyword-terms-low-cardinality 2.01 ops/s
Median Throughput keyword-terms-low-cardinality 2.01 ops/s
Max Throughput keyword-terms-low-cardinality 2.01 ops/s
50th percentile latency keyword-terms-low-cardinality 22.3828 ms
90th percentile latency keyword-terms-low-cardinality 22.7734 ms
99th percentile latency keyword-terms-low-cardinality 24.2431 ms
100th percentile latency keyword-terms-low-cardinality 25.0604 ms
50th percentile service time keyword-terms-low-cardinality 20.0596 ms
90th percentile service time keyword-terms-low-cardinality 20.3402 ms
99th percentile service time keyword-terms-low-cardinality 21.9586 ms
100th percentile service time keyword-terms-low-cardinality 22.5749 ms
error rate keyword-terms-low-cardinality 0 %
Min Throughput composite-terms 2 ops/s
Mean Throughput composite-terms 2 ops/s
Median Throughput composite-terms 2 ops/s
Max Throughput composite-terms 2 ops/s
50th percentile latency composite-terms 228.458 ms
90th percentile latency composite-terms 232.953 ms
99th percentile latency composite-terms 247.529 ms
100th percentile latency composite-terms 248.526 ms
50th percentile service time composite-terms 227.069 ms
90th percentile service time composite-terms 232.079 ms
99th percentile service time composite-terms 246.311 ms
100th percentile service time composite-terms 247.003 ms
error rate composite-terms 0 %
Min Throughput composite_terms-keyword 2 ops/s
Mean Throughput composite_terms-keyword 2 ops/s
Median Throughput composite_terms-keyword 2 ops/s
Max Throughput composite_terms-keyword 2 ops/s
50th percentile latency composite_terms-keyword 422.271 ms
90th percentile latency composite_terms-keyword 426.718 ms
99th percentile latency composite_terms-keyword 439.608 ms
100th percentile latency composite_terms-keyword 439.887 ms
50th percentile service time composite_terms-keyword 421.352 ms
90th percentile service time composite_terms-keyword 425.489 ms
99th percentile service time composite_terms-keyword 438.317 ms
100th percentile service time composite_terms-keyword 438.534 ms
error rate composite_terms-keyword 0 %
Min Throughput composite-date_histogram-daily 2.01 ops/s
Mean Throughput composite-date_histogram-daily 2.01 ops/s
Median Throughput composite-date_histogram-daily 2.01 ops/s
Max Throughput composite-date_histogram-daily 2.01 ops/s
50th percentile latency composite-date_histogram-daily 4.33593 ms
90th percentile latency composite-date_histogram-daily 4.75519 ms
99th percentile latency composite-date_histogram-daily 5.4928 ms
100th percentile latency composite-date_histogram-daily 5.50701 ms
50th percentile service time composite-date_histogram-daily 3.06583 ms
90th percentile service time composite-date_histogram-daily 3.17161 ms
99th percentile service time composite-date_histogram-daily 3.38899 ms
100th percentile service time composite-date_histogram-daily 3.44634 ms
error rate composite-date_histogram-daily 0 %
Min Throughput range 2.01 ops/s
Mean Throughput range 2.01 ops/s
Median Throughput range 2.01 ops/s
Max Throughput range 2.01 ops/s
50th percentile latency range 18.2881 ms
90th percentile latency range 18.6837 ms
99th percentile latency range 19.6537 ms
100th percentile latency range 19.8624 ms
50th percentile service time range 16.9391 ms
90th percentile service time range 17.1047 ms
99th percentile service time range 18.2408 ms
100th percentile service time range 18.3357 ms
error rate range 0 %
Min Throughput range-numeric 2.01 ops/s
Mean Throughput range-numeric 2.01 ops/s
Median Throughput range-numeric 2.01 ops/s
Max Throughput range-numeric 2.01 ops/s
50th percentile latency range-numeric 3.77762 ms
90th percentile latency range-numeric 4.17578 ms
99th percentile latency range-numeric 4.42885 ms
100th percentile latency range-numeric 4.57494 ms
50th percentile service time range-numeric 2.40918 ms
90th percentile service time range-numeric 2.52059 ms
99th percentile service time range-numeric 2.94772 ms
100th percentile service time range-numeric 3.18864 ms
error rate range-numeric 0 %
Min Throughput keyword-in-range 2 ops/s
Mean Throughput keyword-in-range 2.01 ops/s
Median Throughput keyword-in-range 2.01 ops/s
Max Throughput keyword-in-range 2.01 ops/s
50th percentile latency keyword-in-range 66.0473 ms
90th percentile latency keyword-in-range 66.7006 ms
99th percentile latency keyword-in-range 67.0621 ms
100th percentile latency keyword-in-range 67.1508 ms
50th percentile service time keyword-in-range 64.8944 ms
90th percentile service time keyword-in-range 65.2046 ms
99th percentile service time keyword-in-range 65.6799 ms
100th percentile service time keyword-in-range 65.8643 ms
error rate keyword-in-range 0 %
Min Throughput date_histogram_hourly_agg 2 ops/s
Mean Throughput date_histogram_hourly_agg 2.01 ops/s
Median Throughput date_histogram_hourly_agg 2.01 ops/s
Max Throughput date_histogram_hourly_agg 2.01 ops/s
50th percentile latency date_histogram_hourly_agg 8.60755 ms
90th percentile latency date_histogram_hourly_agg 9.01878 ms
99th percentile latency date_histogram_hourly_agg 9.17665 ms
100th percentile latency date_histogram_hourly_agg 9.20644 ms
50th percentile service time date_histogram_hourly_agg 7.33589 ms
90th percentile service time date_histogram_hourly_agg 7.47364 ms
99th percentile service time date_histogram_hourly_agg 7.61666 ms
100th percentile service time date_histogram_hourly_agg 7.62427 ms
error rate date_histogram_hourly_agg 0 %
Min Throughput date_histogram_minute_agg 2.01 ops/s
Mean Throughput date_histogram_minute_agg 2.01 ops/s
Median Throughput date_histogram_minute_agg 2.01 ops/s
Max Throughput date_histogram_minute_agg 2.01 ops/s
50th percentile latency date_histogram_minute_agg 41.0207 ms
90th percentile latency date_histogram_minute_agg 42.0554 ms
99th percentile latency date_histogram_minute_agg 44.2827 ms
100th percentile latency date_histogram_minute_agg 44.3504 ms
50th percentile service time date_histogram_minute_agg 39.7057 ms
90th percentile service time date_histogram_minute_agg 40.6171 ms
99th percentile service time date_histogram_minute_agg 42.8916 ms
100th percentile service time date_histogram_minute_agg 43.0486 ms
error rate date_histogram_minute_agg 0 %
Min Throughput scroll 45.07 pages/s
Mean Throughput scroll 45.35 pages/s
Median Throughput scroll 45.39 pages/s
Max Throughput scroll 45.55 pages/s
50th percentile latency scroll 12719.7 ms
90th percentile latency scroll 14306.1 ms
99th percentile latency scroll 14627.8 ms
100th percentile latency scroll 14645.9 ms
50th percentile service time scroll 527.425 ms
90th percentile service time scroll 538.28 ms
99th percentile service time scroll 561.803 ms
100th percentile service time scroll 567.067 ms
error rate scroll 0 %
Min Throughput query-string-on-message 2.01 ops/s
Mean Throughput query-string-on-message 2.01 ops/s
Median Throughput query-string-on-message 2.01 ops/s
Max Throughput query-string-on-message 2.01 ops/s
50th percentile latency query-string-on-message 6.53517 ms
90th percentile latency query-string-on-message 6.96909 ms
99th percentile latency query-string-on-message 8.31601 ms
100th percentile latency query-string-on-message 8.47312 ms
50th percentile service time query-string-on-message 5.24291 ms
90th percentile service time query-string-on-message 5.43078 ms
99th percentile service time query-string-on-message 6.61511 ms
100th percentile service time query-string-on-message 6.67714 ms
error rate query-string-on-message 0 %
Min Throughput query-string-on-message-filtered 2.01 ops/s
Mean Throughput query-string-on-message-filtered 2.01 ops/s
Median Throughput query-string-on-message-filtered 2.01 ops/s
Max Throughput query-string-on-message-filtered 2.01 ops/s
50th percentile latency query-string-on-message-filtered 14.1419 ms
90th percentile latency query-string-on-message-filtered 14.5841 ms
99th percentile latency query-string-on-message-filtered 18.6074 ms
100th percentile latency query-string-on-message-filtered 19.7201 ms
50th percentile service time query-string-on-message-filtered 12.8188 ms
90th percentile service time query-string-on-message-filtered 13.0163 ms
99th percentile service time query-string-on-message-filtered 17.4509 ms
100th percentile service time query-string-on-message-filtered 18.3638 ms
error rate query-string-on-message-filtered 0 %
Min Throughput query-string-on-message-filtered-sorted-num 2.01 ops/s
Mean Throughput query-string-on-message-filtered-sorted-num 2.01 ops/s
Median Throughput query-string-on-message-filtered-sorted-num 2.01 ops/s
Max Throughput query-string-on-message-filtered-sorted-num 2.01 ops/s
50th percentile latency query-string-on-message-filtered-sorted-num 29.226 ms
90th percentile latency query-string-on-message-filtered-sorted-num 30.5134 ms
99th percentile latency query-string-on-message-filtered-sorted-num 35.112 ms
100th percentile latency query-string-on-message-filtered-sorted-num 35.5701 ms
50th percentile service time query-string-on-message-filtered-sorted-num 27.8219 ms
90th percentile service time query-string-on-message-filtered-sorted-num 28.0728 ms
99th percentile service time query-string-on-message-filtered-sorted-num 33.3114 ms
100th percentile service time query-string-on-message-filtered-sorted-num 33.6679 ms
error rate query-string-on-message-filtered-sorted-num 0 %
Min Throughput sort_keyword_can_match_shortcut 2.01 ops/s
Mean Throughput sort_keyword_can_match_shortcut 2.01 ops/s
Median Throughput sort_keyword_can_match_shortcut 2.01 ops/s
Max Throughput sort_keyword_can_match_shortcut 2.01 ops/s
50th percentile latency sort_keyword_can_match_shortcut 5.58817 ms
90th percentile latency sort_keyword_can_match_shortcut 5.97152 ms
99th percentile latency sort_keyword_can_match_shortcut 6.1504 ms
100th percentile latency sort_keyword_can_match_shortcut 6.18547 ms
50th percentile service time sort_keyword_can_match_shortcut 4.26854 ms
90th percentile service time sort_keyword_can_match_shortcut 4.34409 ms
99th percentile service time sort_keyword_can_match_shortcut 4.98139 ms
100th percentile service time sort_keyword_can_match_shortcut 5.10614 ms
error rate sort_keyword_can_match_shortcut 0 %
Min Throughput sort_keyword_no_can_match_shortcut 2.01 ops/s
Mean Throughput sort_keyword_no_can_match_shortcut 2.01 ops/s
Median Throughput sort_keyword_no_can_match_shortcut 2.01 ops/s
Max Throughput sort_keyword_no_can_match_shortcut 2.01 ops/s
50th percentile latency sort_keyword_no_can_match_shortcut 5.62656 ms
90th percentile latency sort_keyword_no_can_match_shortcut 6.05937 ms
99th percentile latency sort_keyword_no_can_match_shortcut 6.98456 ms
100th percentile latency sort_keyword_no_can_match_shortcut 7.09237 ms
50th percentile service time sort_keyword_no_can_match_shortcut 4.32337 ms
90th percentile service time sort_keyword_no_can_match_shortcut 4.40819 ms
99th percentile service time sort_keyword_no_can_match_shortcut 4.53842 ms
100th percentile service time sort_keyword_no_can_match_shortcut 4.57356 ms
error rate sort_keyword_no_can_match_shortcut 0 %
Min Throughput sort_numeric_desc 2.01 ops/s
Mean Throughput sort_numeric_desc 2.01 ops/s
Median Throughput sort_numeric_desc 2.01 ops/s
Max Throughput sort_numeric_desc 2.01 ops/s
50th percentile latency sort_numeric_desc 8.00346 ms
90th percentile latency sort_numeric_desc 8.45373 ms
99th percentile latency sort_numeric_desc 8.58038 ms
100th percentile latency sort_numeric_desc 8.58535 ms
50th percentile service time sort_numeric_desc 6.75247 ms
90th percentile service time sort_numeric_desc 6.83607 ms
99th percentile service time sort_numeric_desc 6.98142 ms
100th percentile service time sort_numeric_desc 7.01818 ms
error rate sort_numeric_desc 0 %
Min Throughput sort_numeric_asc 2.01 ops/s
Mean Throughput sort_numeric_asc 2.01 ops/s
Median Throughput sort_numeric_asc 2.01 ops/s
Max Throughput sort_numeric_asc 2.01 ops/s
50th percentile latency sort_numeric_asc 6.71722 ms
90th percentile latency sort_numeric_asc 7.13252 ms
99th percentile latency sort_numeric_asc 7.87442 ms
100th percentile latency sort_numeric_asc 8.34393 ms
50th percentile service time sort_numeric_asc 5.43149 ms
90th percentile service time sort_numeric_asc 5.54832 ms
99th percentile service time sort_numeric_asc 6.34912 ms
100th percentile service time sort_numeric_asc 6.99256 ms
error rate sort_numeric_asc 0 %
Min Throughput sort_numeric_desc_with_match 2.01 ops/s
Mean Throughput sort_numeric_desc_with_match 2.01 ops/s
Median Throughput sort_numeric_desc_with_match 2.01 ops/s
Max Throughput sort_numeric_desc_with_match 2.01 ops/s
50th percentile latency sort_numeric_desc_with_match 3.59733 ms
90th percentile latency sort_numeric_desc_with_match 3.91692 ms
99th percentile latency sort_numeric_desc_with_match 4.05137 ms
100th percentile latency sort_numeric_desc_with_match 4.05163 ms
50th percentile service time sort_numeric_desc_with_match 2.21671 ms
90th percentile service time sort_numeric_desc_with_match 2.28622 ms
99th percentile service time sort_numeric_desc_with_match 2.33436 ms
100th percentile service time sort_numeric_desc_with_match 2.33805 ms
error rate sort_numeric_desc_with_match 0 %
Min Throughput sort_numeric_asc_with_match 2.01 ops/s
Mean Throughput sort_numeric_asc_with_match 2.01 ops/s
Median Throughput sort_numeric_asc_with_match 2.01 ops/s
Max Throughput sort_numeric_asc_with_match 2.01 ops/s
50th percentile latency sort_numeric_asc_with_match 3.71082 ms
90th percentile latency sort_numeric_asc_with_match 4.13459 ms
99th percentile latency sort_numeric_asc_with_match 4.24126 ms
100th percentile latency sort_numeric_asc_with_match 4.25269 ms
50th percentile service time sort_numeric_asc_with_match 2.45518 ms
90th percentile service time sort_numeric_asc_with_match 2.53197 ms
99th percentile service time sort_numeric_asc_with_match 2.73702 ms
100th percentile service time sort_numeric_asc_with_match 2.75392 ms
error rate sort_numeric_asc_with_match 0 %
Min Throughput range_field_conjunction_big_range_big_term_query 2.01 ops/s
Mean Throughput range_field_conjunction_big_range_big_term_query 2.01 ops/s
Median Throughput range_field_conjunction_big_range_big_term_query 2.01 ops/s
Max Throughput range_field_conjunction_big_range_big_term_query 2.01 ops/s
50th percentile latency range_field_conjunction_big_range_big_term_query 3.8803 ms
90th percentile latency range_field_conjunction_big_range_big_term_query 4.33187 ms
99th percentile latency range_field_conjunction_big_range_big_term_query 4.48572 ms
100th percentile latency range_field_conjunction_big_range_big_term_query 4.55752 ms
50th percentile service time range_field_conjunction_big_range_big_term_query 2.58742 ms
90th percentile service time range_field_conjunction_big_range_big_term_query 2.66263 ms
99th percentile service time range_field_conjunction_big_range_big_term_query 2.82245 ms
100th percentile service time range_field_conjunction_big_range_big_term_query 2.92184 ms
error rate range_field_conjunction_big_range_big_term_query 0 %
Min Throughput range_field_disjunction_big_range_small_term_query 2.01 ops/s
Mean Throughput range_field_disjunction_big_range_small_term_query 2.01 ops/s
Median Throughput range_field_disjunction_big_range_small_term_query 2.01 ops/s
Max Throughput range_field_disjunction_big_range_small_term_query 2.01 ops/s
50th percentile latency range_field_disjunction_big_range_small_term_query 3.67632 ms
90th percentile latency range_field_disjunction_big_range_small_term_query 4.04413 ms
99th percentile latency range_field_disjunction_big_range_small_term_query 4.23131 ms
100th percentile latency range_field_disjunction_big_range_small_term_query 4.30604 ms
50th percentile service time range_field_disjunction_big_range_small_term_query 2.29316 ms
90th percentile service time range_field_disjunction_big_range_small_term_query 2.36383 ms
99th percentile service time range_field_disjunction_big_range_small_term_query 2.51092 ms
100th percentile service time range_field_disjunction_big_range_small_term_query 2.58982 ms
error rate range_field_disjunction_big_range_small_term_query 0 %
Min Throughput range_field_conjunction_small_range_small_term_query 2.01 ops/s
Mean Throughput range_field_conjunction_small_range_small_term_query 2.01 ops/s
Median Throughput range_field_conjunction_small_range_small_term_query 2.01 ops/s
Max Throughput range_field_conjunction_small_range_small_term_query 2.01 ops/s
50th percentile latency range_field_conjunction_small_range_small_term_query 3.44367 ms
90th percentile latency range_field_conjunction_small_range_small_term_query 3.9046 ms
99th percentile latency range_field_conjunction_small_range_small_term_query 4.01708 ms
100th percentile latency range_field_conjunction_small_range_small_term_query 4.03282 ms
50th percentile service time range_field_conjunction_small_range_small_term_query 2.19825 ms
90th percentile service time range_field_conjunction_small_range_small_term_query 2.25235 ms
99th percentile service time range_field_conjunction_small_range_small_term_query 2.30178 ms
100th percentile service time range_field_conjunction_small_range_small_term_query 2.30806 ms
error rate range_field_conjunction_small_range_small_term_query 0 %
Min Throughput range_field_conjunction_small_range_big_term_query 2.01 ops/s
Mean Throughput range_field_conjunction_small_range_big_term_query 2.01 ops/s
Median Throughput range_field_conjunction_small_range_big_term_query 2.01 ops/s
Max Throughput range_field_conjunction_small_range_big_term_query 2.01 ops/s
50th percentile latency range_field_conjunction_small_range_big_term_query 4.02132 ms
90th percentile latency range_field_conjunction_small_range_big_term_query 4.48152 ms
99th percentile latency range_field_conjunction_small_range_big_term_query 4.69133 ms
100th percentile latency range_field_conjunction_small_range_big_term_query 4.80734 ms
50th percentile service time range_field_conjunction_small_range_big_term_query 2.68716 ms
90th percentile service time range_field_conjunction_small_range_big_term_query 2.73078 ms
99th percentile service time range_field_conjunction_small_range_big_term_query 2.97275 ms
100th percentile service time range_field_conjunction_small_range_big_term_query 3.08531 ms
error rate range_field_conjunction_small_range_big_term_query 0 %
Min Throughput range-auto-date-histo 0.1 ops/s
Mean Throughput range-auto-date-histo 0.1 ops/s
Median Throughput range-auto-date-histo 0.1 ops/s
Max Throughput range-auto-date-histo 0.1 ops/s
50th percentile latency range-auto-date-histo 2.30146e+06 ms
90th percentile latency range-auto-date-histo 2.67469e+06 ms
99th percentile latency range-auto-date-histo 2.75837e+06 ms
100th percentile latency range-auto-date-histo 2.76308e+06 ms
50th percentile service time range-auto-date-histo 9812.09 ms
90th percentile service time range-auto-date-histo 9936.15 ms
99th percentile service time range-auto-date-histo 10258.3 ms
100th percentile service time range-auto-date-histo 10268.9 ms
error rate range-auto-date-histo 0 %
Min Throughput range-auto-date-histo-with-metrics 0.04 ops/s
Mean Throughput range-auto-date-histo-with-metrics 0.04 ops/s
Median Throughput range-auto-date-histo-with-metrics 0.04 ops/s
Max Throughput range-auto-date-histo-with-metrics 0.04 ops/s
50th percentile latency range-auto-date-histo-with-metrics 5.4882e+06 ms
90th percentile latency range-auto-date-histo-with-metrics 6.37247e+06 ms
99th percentile latency range-auto-date-histo-with-metrics 6.57144e+06 ms
100th percentile latency range-auto-date-histo-with-metrics 6.58254e+06 ms
50th percentile service time range-auto-date-histo-with-metrics 22553.7 ms
90th percentile service time range-auto-date-histo-with-metrics 22758.4 ms
99th percentile service time range-auto-date-histo-with-metrics 22978.6 ms
100th percentile service time range-auto-date-histo-with-metrics 23005.3 ms
error rate range-auto-date-histo-with-metrics 0 %
Min Throughput range-agg-1 2.01 ops/s
Mean Throughput range-agg-1 2.01 ops/s
Median Throughput range-agg-1 2.01 ops/s
Max Throughput range-agg-1 2.01 ops/s
50th percentile latency range-agg-1 4.05432 ms
90th percentile latency range-agg-1 4.47909 ms
99th percentile latency range-agg-1 5.64617 ms
100th percentile latency range-agg-1 6.54214 ms
50th percentile service time range-agg-1 2.77203 ms
90th percentile service time range-agg-1 2.85499 ms
99th percentile service time range-agg-1 2.91085 ms
100th percentile service time range-agg-1 2.91303 ms
error rate range-agg-1 0 %
Min Throughput range-agg-2 2.01 ops/s
Mean Throughput range-agg-2 2.01 ops/s
Median Throughput range-agg-2 2.01 ops/s
Max Throughput range-agg-2 2.01 ops/s
50th percentile latency range-agg-2 3.7638 ms
90th percentile latency range-agg-2 4.16979 ms
99th percentile latency range-agg-2 4.3326 ms
100th percentile latency range-agg-2 4.35053 ms
50th percentile service time range-agg-2 2.45294 ms
90th percentile service time range-agg-2 2.52895 ms
99th percentile service time range-agg-2 2.61453 ms
100th percentile service time range-agg-2 2.61899 ms
error rate range-agg-2 0 %
Min Throughput cardinality-agg-low 2.01 ops/s
Mean Throughput cardinality-agg-low 2.01 ops/s
Median Throughput cardinality-agg-low 2.01 ops/s
Max Throughput cardinality-agg-low 2.01 ops/s
50th percentile latency cardinality-agg-low 4.93767 ms
90th percentile latency cardinality-agg-low 5.35705 ms
99th percentile latency cardinality-agg-low 5.78493 ms
100th percentile latency cardinality-agg-low 6.10695 ms
50th percentile service time cardinality-agg-low 3.67497 ms
90th percentile service time cardinality-agg-low 3.77875 ms
99th percentile service time cardinality-agg-low 4.24136 ms
100th percentile service time cardinality-agg-low 4.38562 ms
error rate cardinality-agg-low 0 %
Min Throughput cardinality-agg-high 0.4 ops/s
Mean Throughput cardinality-agg-high 0.4 ops/s
Median Throughput cardinality-agg-high 0.4 ops/s
Max Throughput cardinality-agg-high 0.4 ops/s
50th percentile latency cardinality-agg-high 494545 ms
90th percentile latency cardinality-agg-high 574057 ms
99th percentile latency cardinality-agg-high 592098 ms
100th percentile latency cardinality-agg-high 593091 ms
50th percentile service time cardinality-agg-high 2462.23 ms
90th percentile service time cardinality-agg-high 2528.06 ms
99th percentile service time cardinality-agg-high 2649.49 ms
100th percentile service time cardinality-agg-high 2651.78 ms
error rate cardinality-agg-high 0 %

@opensearch-ci-bot
Copy link
Collaborator

Benchmark Baseline Comparison Results

Benchmark Results for Job: https://build.ci.opensearch.org/job/benchmark-compare/48/

Metric Task Baseline Contender Diff Unit
Cumulative indexing time of primary shards 0 0 0 min
Min cumulative indexing time across primary shard 0 0 0 min
Median cumulative indexing time across primary shard 0 0 0 min
Max cumulative indexing time across primary shard 0 0 0 min
Cumulative indexing throttle time of primary shards 0 0 0 min
Min cumulative indexing throttle time across primary shard 0 0 0 min
Median cumulative indexing throttle time across primary shard 0 0 0 min
Max cumulative indexing throttle time across primary shard 0 0 0 min
Cumulative merge time of primary shards 0 0 0 min
Cumulative merge count of primary shards 0 0 0
Min cumulative merge time across primary shard 0 0 0 min
Median cumulative merge time across primary shard 0 0 0 min
Max cumulative merge time across primary shard 0 0 0 min
Cumulative merge throttle time of primary shards 0 0 0 min
Min cumulative merge throttle time across primary shard 0 0 0 min
Median cumulative merge throttle time across primary shard 0 0 0 min
Max cumulative merge throttle time across primary shard 0 0 0 min
Cumulative refresh time of primary shards 0 0 0 min
Cumulative refresh count of primary shards 4 4 0
Min cumulative refresh time across primary shard 0 0 0 min
Median cumulative refresh time across primary shard 0 0 0 min
Max cumulative refresh time across primary shard 0 0 0 min
Cumulative flush time of primary shards 0 0 0 min
Cumulative flush count of primary shards 1 1 0
Min cumulative flush time across primary shard 0 0 0 min
Median cumulative flush time across primary shard 0 0 0 min
Max cumulative flush time across primary shard 0 0 0 min
Total Young Gen GC time 1.331 1.814 0.483 s
Total Young Gen GC count 53 76 23
Total Old Gen GC time 0 0 0 s
Total Old Gen GC count 0 0 0
Store size 22.1011 22.1011 0 GB
Translog size 5.12227e-08 5.12227e-08 0 GB
Heap used for segments 0 0 0 MB
Heap used for doc values 0 0 0 MB
Heap used for terms 0 0 0 MB
Heap used for norms 0 0 0 MB
Heap used for points 0 0 0 MB
Heap used for stored fields 0 0 0 MB
Segment count 8 8 0
Min Throughput wait-for-snapshot-recovery 4.18614e+07 4.18489e+07 -12476 byte/s
Mean Throughput wait-for-snapshot-recovery 4.18614e+07 4.18489e+07 -12476 byte/s
Median Throughput wait-for-snapshot-recovery 4.18614e+07 4.18489e+07 -12476 byte/s
Max Throughput wait-for-snapshot-recovery 4.18614e+07 4.18489e+07 -12476 byte/s
100th percentile latency wait-for-snapshot-recovery 561601 561441 -159.438 ms
100th percentile service time wait-for-snapshot-recovery 561601 561441 -159.438 ms
error rate wait-for-snapshot-recovery 0 0 0 %
Min Throughput wait-until-merges-finish 105.16 97.3744 -7.78555 ops/s
Mean Throughput wait-until-merges-finish 105.16 97.3744 -7.78555 ops/s
Median Throughput wait-until-merges-finish 105.16 97.3744 -7.78555 ops/s
Max Throughput wait-until-merges-finish 105.16 97.3744 -7.78555 ops/s
100th percentile latency wait-until-merges-finish 9.22607 9.97088 0.74482 ms
100th percentile service time wait-until-merges-finish 9.22607 9.97088 0.74482 ms
error rate wait-until-merges-finish 0 0 0 %
Min Throughput default 2.00515 2.00476 -0.00039 ops/s
Mean Throughput default 2.00624 2.00578 -0.00046 ops/s
Median Throughput default 2.00616 2.0057 -0.00045 ops/s
Max Throughput default 2.00767 2.0071 -0.00057 ops/s
50th percentile latency default 7.12076 6.99705 -0.12371 ms
90th percentile latency default 7.62129 7.45526 -0.16604 ms
99th percentile latency default 11.7371 8.03499 -3.70215 ms
100th percentile latency default 15.4448 8.09078 -7.35401 ms
50th percentile service time default 5.80078 5.63163 -0.16915 ms
90th percentile service time default 6.08399 5.87927 -0.20472 ms
99th percentile service time default 10.6555 6.89986 -3.75566 ms
100th percentile service time default 14.6023 7.26754 -7.33478 ms
error rate default 0 0 0 %
Min Throughput desc_sort_timestamp 2.00388 2.00338 -0.00049 ops/s
Mean Throughput desc_sort_timestamp 2.0047 2.00411 -0.00059 ops/s
Median Throughput desc_sort_timestamp 2.00463 2.00405 -0.00058 ops/s
Max Throughput desc_sort_timestamp 2.00576 2.00504 -0.00072 ops/s
50th percentile latency desc_sort_timestamp 43.2806 38.5981 -4.68251 ms
90th percentile latency desc_sort_timestamp 45.3369 39.1934 -6.14352 ms
99th percentile latency desc_sort_timestamp 55.2232 44.3009 -10.9223 ms
100th percentile latency desc_sort_timestamp 62.1763 45.943 -16.2333 ms
50th percentile service time desc_sort_timestamp 41.9182 37.2646 -4.65353 ms
90th percentile service time desc_sort_timestamp 44.0213 37.6715 -6.34975 ms
99th percentile service time desc_sort_timestamp 53.6595 43.0941 -10.5654 ms
100th percentile service time desc_sort_timestamp 60.7529 44.5576 -16.1953 ms
error rate desc_sort_timestamp 0 0 0 %
Min Throughput asc_sort_timestamp 2.00641 2.00599 -0.00043 ops/s
Mean Throughput asc_sort_timestamp 2.00778 2.00727 -0.00052 ops/s
Median Throughput asc_sort_timestamp 2.00768 2.00716 -0.00051 ops/s
Max Throughput asc_sort_timestamp 2.00957 2.00891 -0.00065 ops/s
50th percentile latency asc_sort_timestamp 9.61039 16.0038 6.39337 ms
90th percentile latency asc_sort_timestamp 10.0323 16.4962 6.46392 ms
99th percentile latency asc_sort_timestamp 11.6502 34.4843 22.8341 ms
100th percentile latency asc_sort_timestamp 11.6972 46.8615 35.1643 ms
50th percentile service time asc_sort_timestamp 8.10253 14.7297 6.62714 ms
90th percentile service time asc_sort_timestamp 8.47897 15.0354 6.55648 ms
99th percentile service time asc_sort_timestamp 10.5573 33.1267 22.5694 ms
100th percentile service time asc_sort_timestamp 10.5759 45.1499 34.574 ms
error rate asc_sort_timestamp 0 0 0 %
Min Throughput desc_sort_with_after_timestamp 2.00156 2.00179 0.00023 ops/s
Mean Throughput desc_sort_with_after_timestamp 2.00189 2.00217 0.00028 ops/s
Median Throughput desc_sort_with_after_timestamp 2.00187 2.00215 0.00028 ops/s
Max Throughput desc_sort_with_after_timestamp 2.00232 2.00267 0.00035 ops/s
50th percentile latency desc_sort_with_after_timestamp 303.879 286.236 -17.6437 ms
90th percentile latency desc_sort_with_after_timestamp 311.147 290.179 -20.9684 ms
99th percentile latency desc_sort_with_after_timestamp 347.834 320.602 -27.2322 ms
100th percentile latency desc_sort_with_after_timestamp 368.441 330.776 -37.6655 ms
50th percentile service time desc_sort_with_after_timestamp 302.672 285.091 -17.5803 ms
90th percentile service time desc_sort_with_after_timestamp 310.61 289.234 -21.3757 ms
99th percentile service time desc_sort_with_after_timestamp 346.771 319.557 -27.2145 ms
100th percentile service time desc_sort_with_after_timestamp 367.11 329.28 -37.8297 ms
error rate desc_sort_with_after_timestamp 0 0 0 %
Min Throughput asc_sort_with_after_timestamp 2.00424 2.00307 -0.00116 ops/s
Mean Throughput asc_sort_with_after_timestamp 2.00515 2.00373 -0.00141 ops/s
Median Throughput asc_sort_with_after_timestamp 2.00507 2.00368 -0.00139 ops/s
Max Throughput asc_sort_with_after_timestamp 2.00633 2.00458 -0.00175 ops/s
50th percentile latency asc_sort_with_after_timestamp 156.79 260.689 103.899 ms
90th percentile latency asc_sort_with_after_timestamp 159.735 276.029 116.293 ms
99th percentile latency asc_sort_with_after_timestamp 173.872 294.523 120.651 ms
100th percentile latency asc_sort_with_after_timestamp 174.789 297.918 123.129 ms
50th percentile service time asc_sort_with_after_timestamp 155.508 259.206 103.698 ms
90th percentile service time asc_sort_with_after_timestamp 158.845 275.07 116.225 ms
99th percentile service time asc_sort_with_after_timestamp 172.918 293.527 120.608 ms
100th percentile service time asc_sort_with_after_timestamp 173.523 297.324 123.802 ms
error rate asc_sort_with_after_timestamp 0 0 0 %
Min Throughput desc_sort_timestamp_can_match_shortcut 2.00417 2.00374 -0.00043 ops/s
Mean Throughput desc_sort_timestamp_can_match_shortcut 2.00506 2.00453 -0.00052 ops/s
Median Throughput desc_sort_timestamp_can_match_shortcut 2.00499 2.00448 -0.00051 ops/s
Max Throughput desc_sort_timestamp_can_match_shortcut 2.0062 2.00557 -0.00063 ops/s
50th percentile latency desc_sort_timestamp_can_match_shortcut 15.7889 15.6132 -0.17569 ms
90th percentile latency desc_sort_timestamp_can_match_shortcut 16.3682 16.1419 -0.22625 ms
99th percentile latency desc_sort_timestamp_can_match_shortcut 19.616 22.9685 3.35256 ms
100th percentile latency desc_sort_timestamp_can_match_shortcut 21.3619 23.4685 2.10668 ms
50th percentile service time desc_sort_timestamp_can_match_shortcut 14.4348 14.2352 -0.19958 ms
90th percentile service time desc_sort_timestamp_can_match_shortcut 14.8888 14.6422 -0.24666 ms
99th percentile service time desc_sort_timestamp_can_match_shortcut 18.4076 21.1041 2.69658 ms
100th percentile service time desc_sort_timestamp_can_match_shortcut 20.5394 22.1307 1.59127 ms
error rate desc_sort_timestamp_can_match_shortcut 0 0 0 %
Min Throughput desc_sort_timestamp_no_can_match_shortcut 2.00643 2.00645 1e-05 ops/s
Mean Throughput desc_sort_timestamp_no_can_match_shortcut 2.00781 2.00782 1e-05 ops/s
Median Throughput desc_sort_timestamp_no_can_match_shortcut 2.0077 2.00771 2e-05 ops/s
Max Throughput desc_sort_timestamp_no_can_match_shortcut 2.00959 2.0096 1e-05 ops/s
50th percentile latency desc_sort_timestamp_no_can_match_shortcut 15.3796 15.0615 -0.3181 ms
90th percentile latency desc_sort_timestamp_no_can_match_shortcut 15.8611 15.4715 -0.38953 ms
99th percentile latency desc_sort_timestamp_no_can_match_shortcut 17.286 16.763 -0.52302 ms
100th percentile latency desc_sort_timestamp_no_can_match_shortcut 17.8574 17.0232 -0.83428 ms
50th percentile service time desc_sort_timestamp_no_can_match_shortcut 13.9296 13.6335 -0.29604 ms
90th percentile service time desc_sort_timestamp_no_can_match_shortcut 14.199 14.0323 -0.16669 ms
99th percentile service time desc_sort_timestamp_no_can_match_shortcut 15.9385 15.2555 -0.68298 ms
100th percentile service time desc_sort_timestamp_no_can_match_shortcut 16.4794 15.2668 -1.21258 ms
error rate desc_sort_timestamp_no_can_match_shortcut 0 0 0 %
Min Throughput asc_sort_timestamp_can_match_shortcut 2.00649 2.00636 -0.00012 ops/s
Mean Throughput asc_sort_timestamp_can_match_shortcut 2.00786 2.00773 -0.00013 ops/s
Median Throughput asc_sort_timestamp_can_match_shortcut 2.00776 2.00762 -0.00014 ops/s
Max Throughput asc_sort_timestamp_can_match_shortcut 2.00966 2.00946 -0.0002 ops/s
50th percentile latency asc_sort_timestamp_can_match_shortcut 9.16626 15.524 6.35775 ms
90th percentile latency asc_sort_timestamp_can_match_shortcut 9.66442 16.0008 6.33639 ms
99th percentile latency asc_sort_timestamp_can_match_shortcut 10.1284 16.5975 6.46907 ms
100th percentile latency asc_sort_timestamp_can_match_shortcut 10.4003 16.993 6.5927 ms
50th percentile service time asc_sort_timestamp_can_match_shortcut 7.85224 14.2555 6.40329 ms
90th percentile service time asc_sort_timestamp_can_match_shortcut 8.04223 14.4154 6.37316 ms
99th percentile service time asc_sort_timestamp_can_match_shortcut 8.56381 15.1301 6.5663 ms
100th percentile service time asc_sort_timestamp_can_match_shortcut 8.9052 15.2233 6.31812 ms
error rate asc_sort_timestamp_can_match_shortcut 0 0 0 %
Min Throughput asc_sort_timestamp_no_can_match_shortcut 2.00651 2.00642 -9e-05 ops/s
Mean Throughput asc_sort_timestamp_no_can_match_shortcut 2.0079 2.00779 -0.00011 ops/s
Median Throughput asc_sort_timestamp_no_can_match_shortcut 2.00779 2.00769 -0.0001 ops/s
Max Throughput asc_sort_timestamp_no_can_match_shortcut 2.00971 2.00957 -0.00014 ops/s
50th percentile latency asc_sort_timestamp_no_can_match_shortcut 9.51725 15.841 6.32376 ms
90th percentile latency asc_sort_timestamp_no_can_match_shortcut 9.85173 16.2846 6.43285 ms
99th percentile latency asc_sort_timestamp_no_can_match_shortcut 11.3225 18.5153 7.19276 ms
100th percentile latency asc_sort_timestamp_no_can_match_shortcut 12.4477 20.5993 8.15157 ms
50th percentile service time asc_sort_timestamp_no_can_match_shortcut 8.12504 14.5372 6.41218 ms
90th percentile service time asc_sort_timestamp_no_can_match_shortcut 8.26719 14.7011 6.43394 ms
99th percentile service time asc_sort_timestamp_no_can_match_shortcut 9.65493 17.2829 7.62796 ms
100th percentile service time asc_sort_timestamp_no_can_match_shortcut 10.7328 19.5628 8.83006 ms
error rate asc_sort_timestamp_no_can_match_shortcut 0 0 0 %
Min Throughput term 2.00612 2.00616 5e-05 ops/s
Mean Throughput term 2.00743 2.00748 5e-05 ops/s
Median Throughput term 2.00733 2.00737 5e-05 ops/s
Max Throughput term 2.00913 2.00918 5e-05 ops/s
50th percentile latency term 6.25913 6.17095 -0.08818 ms
90th percentile latency term 6.70906 6.73614 0.02708 ms
99th percentile latency term 7.49973 9.95234 2.45261 ms
100th percentile latency term 7.5344 12.37 4.83561 ms
50th percentile service time term 4.88807 4.89368 0.00561 ms
90th percentile service time term 5.03103 5.11643 0.0854 ms
99th percentile service time term 5.92128 8.7319 2.81062 ms
100th percentile service time term 5.94868 11.4221 5.47346 ms
error rate term 0 0 0 %
Min Throughput multi_terms-keyword 1.33456 1.31268 -0.02188 ops/s
Mean Throughput multi_terms-keyword 1.33635 1.31495 -0.0214 ops/s
Median Throughput multi_terms-keyword 1.33644 1.31488 -0.02156 ops/s
Max Throughput multi_terms-keyword 1.33778 1.31664 -0.02114 ops/s
50th percentile latency multi_terms-keyword 62230 65123.9 2893.88 ms
90th percentile latency multi_terms-keyword 71971.7 75286.7 3315 ms
99th percentile latency multi_terms-keyword 74171.1 77578.5 3407.46 ms
100th percentile latency multi_terms-keyword 74291.5 77703.4 3411.88 ms
50th percentile service time multi_terms-keyword 740.49 750.878 10.388 ms
90th percentile service time multi_terms-keyword 751.764 761.682 9.918 ms
99th percentile service time multi_terms-keyword 757.172 823.596 66.4242 ms
100th percentile service time multi_terms-keyword 758.32 874.38 116.06 ms
error rate multi_terms-keyword 0 0 0 %
Min Throughput keyword-terms 2.00469 2.00383 -0.00086 ops/s
Mean Throughput keyword-terms 2.0057 2.00464 -0.00106 ops/s
Median Throughput keyword-terms 2.00561 2.00458 -0.00102 ops/s
Max Throughput keyword-terms 2.00698 2.0057 -0.00129 ops/s
50th percentile latency keyword-terms 28.7815 24.8482 -3.93332 ms
90th percentile latency keyword-terms 29.6815 25.4668 -4.21473 ms
99th percentile latency keyword-terms 31.5528 31.0232 -0.52955 ms
100th percentile latency keyword-terms 31.716 31.1814 -0.53459 ms
50th percentile service time keyword-terms 26.8176 22.5725 -4.24513 ms
90th percentile service time keyword-terms 27.1504 23.0825 -4.06794 ms
99th percentile service time keyword-terms 30.5712 28.8448 -1.72636 ms
100th percentile service time keyword-terms 30.8715 29.01 -1.8615 ms
error rate keyword-terms 0 0 0 %
Min Throughput keyword-terms-low-cardinality 2.00632 2.00634 1e-05 ops/s
Mean Throughput keyword-terms-low-cardinality 2.00767 2.00769 2e-05 ops/s
Median Throughput keyword-terms-low-cardinality 2.00756 2.00758 2e-05 ops/s
Max Throughput keyword-terms-low-cardinality 2.00942 2.00944 2e-05 ops/s
50th percentile latency keyword-terms-low-cardinality 23.7521 22.3828 -1.36932 ms
90th percentile latency keyword-terms-low-cardinality 24.1776 22.7734 -1.40426 ms
99th percentile latency keyword-terms-low-cardinality 28.6502 24.2431 -4.40705 ms
100th percentile latency keyword-terms-low-cardinality 32.1075 25.0604 -7.04708 ms
50th percentile service time keyword-terms-low-cardinality 21.4368 20.0596 -1.37719 ms
90th percentile service time keyword-terms-low-cardinality 21.6944 20.3402 -1.35421 ms
99th percentile service time keyword-terms-low-cardinality 26.1158 21.9586 -4.15718 ms
100th percentile service time keyword-terms-low-cardinality 29.3912 22.5749 -6.8163 ms
error rate keyword-terms-low-cardinality 0 0 0 %
Min Throughput composite-terms 2.00217 2.00182 -0.00035 ops/s
Mean Throughput composite-terms 2.00262 2.00221 -0.00041 ops/s
Median Throughput composite-terms 2.00258 2.00219 -0.0004 ops/s
Max Throughput composite-terms 2.00322 2.00272 -0.0005 ops/s
50th percentile latency composite-terms 244.448 228.458 -15.9904 ms
90th percentile latency composite-terms 246.543 232.953 -13.5897 ms
99th percentile latency composite-terms 257.35 247.529 -9.82047 ms
100th percentile latency composite-terms 263.283 248.526 -14.757 ms
50th percentile service time composite-terms 243.308 227.069 -16.239 ms
90th percentile service time composite-terms 245.461 232.079 -13.3818 ms
99th percentile service time composite-terms 256.057 246.311 -9.7461 ms
100th percentile service time composite-terms 262.176 247.003 -15.1729 ms
error rate composite-terms 0 0 0 %
Min Throughput composite_terms-keyword 2.00064 2.00082 0.00017 ops/s
Mean Throughput composite_terms-keyword 2.00077 2.00099 0.00022 ops/s
Median Throughput composite_terms-keyword 2.00077 2.00098 0.00021 ops/s
Max Throughput composite_terms-keyword 2.00094 2.00122 0.00027 ops/s
50th percentile latency composite_terms-keyword 414.505 422.271 7.76657 ms
90th percentile latency composite_terms-keyword 420.854 426.718 5.8642 ms
99th percentile latency composite_terms-keyword 431.605 439.608 8.00218 ms
100th percentile latency composite_terms-keyword 434.384 439.887 5.50281 ms
50th percentile service time composite_terms-keyword 413.438 421.352 7.91422 ms
90th percentile service time composite_terms-keyword 419.436 425.489 6.05394 ms
99th percentile service time composite_terms-keyword 430.628 438.317 7.68967 ms
100th percentile service time composite_terms-keyword 433.372 438.534 5.16235 ms
error rate composite_terms-keyword 0 0 0 %
Min Throughput composite-date_histogram-daily 2.00617 2.00615 -2e-05 ops/s
Mean Throughput composite-date_histogram-daily 2.00749 2.00746 -3e-05 ops/s
Median Throughput composite-date_histogram-daily 2.00739 2.00735 -3e-05 ops/s
Max Throughput composite-date_histogram-daily 2.0092 2.00915 -5e-05 ops/s
50th percentile latency composite-date_histogram-daily 4.76724 4.33593 -0.43131 ms
90th percentile latency composite-date_histogram-daily 5.14384 4.75519 -0.38866 ms
99th percentile latency composite-date_histogram-daily 5.2907 5.4928 0.2021 ms
100th percentile latency composite-date_histogram-daily 5.31965 5.50701 0.18737 ms
50th percentile service time composite-date_histogram-daily 3.3817 3.06583 -0.31587 ms
90th percentile service time composite-date_histogram-daily 3.48896 3.17161 -0.31735 ms
99th percentile service time composite-date_histogram-daily 3.79231 3.38899 -0.40331 ms
100th percentile service time composite-date_histogram-daily 3.82259 3.44634 -0.37625 ms
error rate composite-date_histogram-daily 0 0 0 %
Min Throughput range 2.00591 2.0061 0.0002 ops/s
Mean Throughput range 2.00717 2.00741 0.00024 ops/s
Median Throughput range 2.00707 2.00731 0.00024 ops/s
Max Throughput range 2.00881 2.00909 0.00028 ops/s
50th percentile latency range 17.4834 18.2881 0.80462 ms
90th percentile latency range 17.9668 18.6837 0.7169 ms
99th percentile latency range 18.2471 19.6537 1.40658 ms
100th percentile latency range 18.2837 19.8624 1.57862 ms
50th percentile service time range 16.2551 16.9391 0.68405 ms
90th percentile service time range 16.44 17.1047 0.66479 ms
99th percentile service time range 16.7095 18.2408 1.53132 ms
100th percentile service time range 16.8066 18.3357 1.5291 ms
error rate range 0 0 0 %
Min Throughput range-numeric 2.00655 2.00652 -3e-05 ops/s
Mean Throughput range-numeric 2.00796 2.00791 -5e-05 ops/s
Median Throughput range-numeric 2.00785 2.0078 -5e-05 ops/s
Max Throughput range-numeric 2.00977 2.00971 -6e-05 ops/s
50th percentile latency range-numeric 4.10869 3.77762 -0.33108 ms
90th percentile latency range-numeric 4.53554 4.17578 -0.35976 ms
99th percentile latency range-numeric 4.64491 4.42885 -0.21605 ms
100th percentile latency range-numeric 4.64869 4.57494 -0.07375 ms
50th percentile service time range-numeric 2.83247 2.40918 -0.42329 ms
90th percentile service time range-numeric 2.92217 2.52059 -0.40157 ms
99th percentile service time range-numeric 3.08695 2.94772 -0.13923 ms
100th percentile service time range-numeric 3.09358 3.18864 0.09507 ms
error rate range-numeric 0 0 0 %
Min Throughput keyword-in-range 2.00477 2.00475 -2e-05 ops/s
Mean Throughput keyword-in-range 2.00578 2.00576 -1e-05 ops/s
Median Throughput keyword-in-range 2.0057 2.00568 -2e-05 ops/s
Max Throughput keyword-in-range 2.00709 2.00708 -1e-05 ops/s
50th percentile latency keyword-in-range 81.5428 66.0473 -15.4955 ms
90th percentile latency keyword-in-range 82.0416 66.7006 -15.341 ms
99th percentile latency keyword-in-range 83.6468 67.0621 -16.5846 ms
100th percentile latency keyword-in-range 84.0103 67.1508 -16.8595 ms
50th percentile service time keyword-in-range 80.2678 64.8944 -15.3733 ms
90th percentile service time keyword-in-range 80.5701 65.2046 -15.3655 ms
99th percentile service time keyword-in-range 82.3537 65.6799 -16.6738 ms
100th percentile service time keyword-in-range 82.5567 65.8643 -16.6925 ms
error rate keyword-in-range 0 0 0 %
Min Throughput date_histogram_hourly_agg 2.00461 2.0044 -0.0002 ops/s
Mean Throughput date_histogram_hourly_agg 2.00559 2.00534 -0.00024 ops/s
Median Throughput date_histogram_hourly_agg 2.00551 2.00527 -0.00024 ops/s
Max Throughput date_histogram_hourly_agg 2.00686 2.00656 -0.0003 ops/s
50th percentile latency date_histogram_hourly_agg 8.66882 8.60755 -0.06127 ms
90th percentile latency date_histogram_hourly_agg 9.13957 9.01878 -0.12079 ms
99th percentile latency date_histogram_hourly_agg 9.37838 9.17665 -0.20173 ms
100th percentile latency date_histogram_hourly_agg 9.42178 9.20644 -0.21533 ms
50th percentile service time date_histogram_hourly_agg 7.37476 7.33589 -0.03887 ms
90th percentile service time date_histogram_hourly_agg 7.53414 7.47364 -0.0605 ms
99th percentile service time date_histogram_hourly_agg 8.25687 7.61666 -0.64021 ms
100th percentile service time date_histogram_hourly_agg 8.58757 7.62427 -0.9633 ms
error rate date_histogram_hourly_agg 0 0 0 %
Min Throughput date_histogram_minute_agg 2.0059 2.00584 -6e-05 ops/s
Mean Throughput date_histogram_minute_agg 2.00717 2.00709 -7e-05 ops/s
Median Throughput date_histogram_minute_agg 2.00707 2.007 -7e-05 ops/s
Max Throughput date_histogram_minute_agg 2.0088 2.00871 -9e-05 ops/s
50th percentile latency date_histogram_minute_agg 42.9442 41.0207 -1.92353 ms
90th percentile latency date_histogram_minute_agg 44.102 42.0554 -2.04661 ms
99th percentile latency date_histogram_minute_agg 46.3729 44.2827 -2.09023 ms
100th percentile latency date_histogram_minute_agg 46.4167 44.3504 -2.06633 ms
50th percentile service time date_histogram_minute_agg 41.6254 39.7057 -1.91963 ms
90th percentile service time date_histogram_minute_agg 42.6038 40.6171 -1.98676 ms
99th percentile service time date_histogram_minute_agg 44.8045 42.8916 -1.9129 ms
100th percentile service time date_histogram_minute_agg 44.8246 43.0486 -1.77594 ms
error rate date_histogram_minute_agg 0 0 0 %
Min Throughput scroll 46.4227 45.0723 -1.35049 pages/s
Mean Throughput scroll 46.5024 45.3523 -1.15011 pages/s
Median Throughput scroll 46.5059 45.3916 -1.1142 pages/s
Max Throughput scroll 46.5722 45.5534 -1.01876 pages/s
50th percentile latency scroll 9500.88 12719.7 3218.79 ms
90th percentile latency scroll 10830.3 14306.1 3475.78 ms
99th percentile latency scroll 11111.7 14627.8 3516.14 ms
100th percentile latency scroll 11127.8 14645.9 3518.08 ms
50th percentile service time scroll 525.547 527.425 1.87759 ms
90th percentile service time scroll 534.166 538.28 4.11417 ms
99th percentile service time scroll 549.683 561.803 12.1194 ms
100th percentile service time scroll 552.374 567.067 14.6935 ms
error rate scroll 0 0 0 %
Min Throughput query-string-on-message 2.0056 2.00556 -4e-05 ops/s
Mean Throughput query-string-on-message 2.00679 2.00674 -5e-05 ops/s
Median Throughput query-string-on-message 2.0067 2.00665 -5e-05 ops/s
Max Throughput query-string-on-message 2.00834 2.00827 -7e-05 ops/s
50th percentile latency query-string-on-message 6.08895 6.53517 0.44623 ms
90th percentile latency query-string-on-message 6.85292 6.96909 0.11617 ms
99th percentile latency query-string-on-message 7.40216 8.31601 0.91385 ms
100th percentile latency query-string-on-message 7.47452 8.47312 0.9986 ms
50th percentile service time query-string-on-message 5.11712 5.24291 0.12578 ms
90th percentile service time query-string-on-message 5.27221 5.43078 0.15857 ms
99th percentile service time query-string-on-message 6.43513 6.61511 0.17998 ms
100th percentile service time query-string-on-message 6.52032 6.67714 0.15682 ms
error rate query-string-on-message 0 0 0 %
Min Throughput query-string-on-message-filtered 2.00588 2.00605 0.00017 ops/s
Mean Throughput query-string-on-message-filtered 2.00714 2.00735 0.00021 ops/s
Median Throughput query-string-on-message-filtered 2.00704 2.00724 0.0002 ops/s
Max Throughput query-string-on-message-filtered 2.00877 2.00902 0.00026 ops/s
50th percentile latency query-string-on-message-filtered 15.094 14.1419 -0.95205 ms
90th percentile latency query-string-on-message-filtered 16.5876 14.5841 -2.00348 ms
99th percentile latency query-string-on-message-filtered 23.2466 18.6074 -4.63925 ms
100th percentile latency query-string-on-message-filtered 28.7193 19.7201 -8.9992 ms
50th percentile service time query-string-on-message-filtered 13.658 12.8188 -0.8392 ms
90th percentile service time query-string-on-message-filtered 15.342 13.0163 -2.32569 ms
99th percentile service time query-string-on-message-filtered 21.913 17.4509 -4.46203 ms
100th percentile service time query-string-on-message-filtered 27.4143 18.3638 -9.05053 ms
error rate query-string-on-message-filtered 0 0 0 %
Min Throughput query-string-on-message-filtered-sorted-num 2.00559 2.00579 0.0002 ops/s
Mean Throughput query-string-on-message-filtered-sorted-num 2.00678 2.00702 0.00024 ops/s
Median Throughput query-string-on-message-filtered-sorted-num 2.00669 2.00692 0.00023 ops/s
Max Throughput query-string-on-message-filtered-sorted-num 2.00834 2.00863 0.00029 ops/s
50th percentile latency query-string-on-message-filtered-sorted-num 30.2535 29.226 -1.02742 ms
90th percentile latency query-string-on-message-filtered-sorted-num 30.8948 30.5134 -0.38144 ms
99th percentile latency query-string-on-message-filtered-sorted-num 39.6549 35.112 -4.54299 ms
100th percentile latency query-string-on-message-filtered-sorted-num 45.3373 35.5701 -9.76721 ms
50th percentile service time query-string-on-message-filtered-sorted-num 29.0142 27.8219 -1.19233 ms
90th percentile service time query-string-on-message-filtered-sorted-num 29.418 28.0728 -1.34523 ms
99th percentile service time query-string-on-message-filtered-sorted-num 38.5129 33.3114 -5.20153 ms
100th percentile service time query-string-on-message-filtered-sorted-num 44.1222 33.6679 -10.4544 ms
error rate query-string-on-message-filtered-sorted-num 0 0 0 %
Min Throughput sort_keyword_can_match_shortcut 2.00643 2.00642 -1e-05 ops/s
Mean Throughput sort_keyword_can_match_shortcut 2.0078 2.00779 -2e-05 ops/s
Median Throughput sort_keyword_can_match_shortcut 2.0077 2.00768 -2e-05 ops/s
Max Throughput sort_keyword_can_match_shortcut 2.00959 2.00957 -2e-05 ops/s
50th percentile latency sort_keyword_can_match_shortcut 5.8768 5.58817 -0.28863 ms
90th percentile latency sort_keyword_can_match_shortcut 6.26973 5.97152 -0.2982 ms
99th percentile latency sort_keyword_can_match_shortcut 6.69912 6.1504 -0.54872 ms
100th percentile latency sort_keyword_can_match_shortcut 6.95393 6.18547 -0.76846 ms
50th percentile service time sort_keyword_can_match_shortcut 4.58872 4.26854 -0.32018 ms
90th percentile service time sort_keyword_can_match_shortcut 4.66344 4.34409 -0.31935 ms
99th percentile service time sort_keyword_can_match_shortcut 5.12023 4.98139 -0.13885 ms
100th percentile service time sort_keyword_can_match_shortcut 5.14815 5.10614 -0.04201 ms
error rate sort_keyword_can_match_shortcut 0 0 0 %
Min Throughput sort_keyword_no_can_match_shortcut 2.00656 2.00656 0 ops/s
Mean Throughput sort_keyword_no_can_match_shortcut 2.00796 2.00797 1e-05 ops/s
Median Throughput sort_keyword_no_can_match_shortcut 2.00785 2.00787 2e-05 ops/s
Max Throughput sort_keyword_no_can_match_shortcut 2.00977 2.00979 2e-05 ops/s
50th percentile latency sort_keyword_no_can_match_shortcut 5.64164 5.62656 -0.01508 ms
90th percentile latency sort_keyword_no_can_match_shortcut 6.07949 6.05937 -0.02012 ms
99th percentile latency sort_keyword_no_can_match_shortcut 6.2376 6.98456 0.74697 ms
100th percentile latency sort_keyword_no_can_match_shortcut 6.26989 7.09237 0.82247 ms
50th percentile service time sort_keyword_no_can_match_shortcut 4.32632 4.32337 -0.00294 ms
90th percentile service time sort_keyword_no_can_match_shortcut 4.40882 4.40819 -0.00063 ms
99th percentile service time sort_keyword_no_can_match_shortcut 4.82662 4.53842 -0.2882 ms
100th percentile service time sort_keyword_no_can_match_shortcut 5.09954 4.57356 -0.52597 ms
error rate sort_keyword_no_can_match_shortcut 0 0 0 %
Min Throughput sort_numeric_desc 2.00555 2.00535 -0.0002 ops/s
Mean Throughput sort_numeric_desc 2.00672 2.00648 -0.00024 ops/s
Median Throughput sort_numeric_desc 2.00663 2.00639 -0.00024 ops/s
Max Throughput sort_numeric_desc 2.00826 2.00796 -0.0003 ops/s
50th percentile latency sort_numeric_desc 8.25074 8.00346 -0.24728 ms
90th percentile latency sort_numeric_desc 8.58438 8.45373 -0.13065 ms
99th percentile latency sort_numeric_desc 8.72687 8.58038 -0.14649 ms
100th percentile latency sort_numeric_desc 8.73129 8.58535 -0.14595 ms
50th percentile service time sort_numeric_desc 6.89916 6.75247 -0.14669 ms
90th percentile service time sort_numeric_desc 6.98207 6.83607 -0.14601 ms
99th percentile service time sort_numeric_desc 7.28351 6.98142 -0.30209 ms
100th percentile service time sort_numeric_desc 7.34828 7.01818 -0.3301 ms
error rate sort_numeric_desc 0 0 0 %
Min Throughput sort_numeric_asc 2.0065 2.00646 -4e-05 ops/s
Mean Throughput sort_numeric_asc 2.00789 2.00784 -5e-05 ops/s
Median Throughput sort_numeric_asc 2.00779 2.00774 -5e-05 ops/s
Max Throughput sort_numeric_asc 2.0097 2.00963 -7e-05 ops/s
50th percentile latency sort_numeric_asc 6.73846 6.71722 -0.02123 ms
90th percentile latency sort_numeric_asc 7.19763 7.13252 -0.06512 ms
99th percentile latency sort_numeric_asc 7.54611 7.87442 0.32832 ms
100th percentile latency sort_numeric_asc 7.59918 8.34393 0.74475 ms
50th percentile service time sort_numeric_asc 5.48836 5.43149 -0.05687 ms
90th percentile service time sort_numeric_asc 5.60749 5.54832 -0.05917 ms
99th percentile service time sort_numeric_asc 5.68622 6.34912 0.6629 ms
100th percentile service time sort_numeric_asc 5.69809 6.99256 1.29447 ms
error rate sort_numeric_asc 0 0 0 %
Min Throughput sort_numeric_desc_with_match 2.00651 2.00653 2e-05 ops/s
Mean Throughput sort_numeric_desc_with_match 2.0079 2.00792 2e-05 ops/s
Median Throughput sort_numeric_desc_with_match 2.0078 2.00781 2e-05 ops/s
Max Throughput sort_numeric_desc_with_match 2.0097 2.00973 2e-05 ops/s
50th percentile latency sort_numeric_desc_with_match 3.79238 3.59733 -0.19505 ms
90th percentile latency sort_numeric_desc_with_match 4.19433 3.91692 -0.27741 ms
99th percentile latency sort_numeric_desc_with_match 4.37788 4.05137 -0.32651 ms
100th percentile latency sort_numeric_desc_with_match 4.41712 4.05163 -0.36548 ms
50th percentile service time sort_numeric_desc_with_match 2.46848 2.21671 -0.25177 ms
90th percentile service time sort_numeric_desc_with_match 2.55055 2.28622 -0.26433 ms
99th percentile service time sort_numeric_desc_with_match 2.65772 2.33436 -0.32336 ms
100th percentile service time sort_numeric_desc_with_match 2.69881 2.33805 -0.36076 ms
error rate sort_numeric_desc_with_match 0 0 0 %
Min Throughput sort_numeric_asc_with_match 2.0066 2.00659 -1e-05 ops/s
Mean Throughput sort_numeric_asc_with_match 2.008 2.00799 -1e-05 ops/s
Median Throughput sort_numeric_asc_with_match 2.0079 2.00789 -0 ops/s
Max Throughput sort_numeric_asc_with_match 2.00984 2.00981 -2e-05 ops/s
50th percentile latency sort_numeric_asc_with_match 3.63111 3.71082 0.0797 ms
90th percentile latency sort_numeric_asc_with_match 4.06213 4.13459 0.07245 ms
99th percentile latency sort_numeric_asc_with_match 4.22867 4.24126 0.01259 ms
100th percentile latency sort_numeric_asc_with_match 4.2783 4.25269 -0.0256 ms
50th percentile service time sort_numeric_asc_with_match 2.34852 2.45518 0.10665 ms
90th percentile service time sort_numeric_asc_with_match 2.4153 2.53197 0.11667 ms
99th percentile service time sort_numeric_asc_with_match 2.51881 2.73702 0.21821 ms
100th percentile service time sort_numeric_asc_with_match 2.5242 2.75392 0.22973 ms
error rate sort_numeric_asc_with_match 0 0 0 %
Min Throughput range_field_conjunction_big_range_big_term_query 2.00658 2.00657 -1e-05 ops/s
Mean Throughput range_field_conjunction_big_range_big_term_query 2.00799 2.00798 -1e-05 ops/s
Median Throughput range_field_conjunction_big_range_big_term_query 2.00788 2.00788 0 ops/s
Max Throughput range_field_conjunction_big_range_big_term_query 2.00982 2.0098 -2e-05 ops/s
50th percentile latency range_field_conjunction_big_range_big_term_query 3.8109 3.8803 0.0694 ms
90th percentile latency range_field_conjunction_big_range_big_term_query 4.26092 4.33187 0.07095 ms
99th percentile latency range_field_conjunction_big_range_big_term_query 4.37199 4.48572 0.11373 ms
100th percentile latency range_field_conjunction_big_range_big_term_query 4.40092 4.55752 0.1566 ms
50th percentile service time range_field_conjunction_big_range_big_term_query 2.51156 2.58742 0.07586 ms
90th percentile service time range_field_conjunction_big_range_big_term_query 2.58186 2.66263 0.08078 ms
99th percentile service time range_field_conjunction_big_range_big_term_query 2.77177 2.82245 0.05067 ms
100th percentile service time range_field_conjunction_big_range_big_term_query 2.8509 2.92184 0.07094 ms
error rate range_field_conjunction_big_range_big_term_query 0 0 0 %
Min Throughput range_field_disjunction_big_range_small_term_query 2.00655 2.00654 -0 ops/s
Mean Throughput range_field_disjunction_big_range_small_term_query 2.00795 2.00794 -1e-05 ops/s
Median Throughput range_field_disjunction_big_range_small_term_query 2.00784 2.00783 -0 ops/s
Max Throughput range_field_disjunction_big_range_small_term_query 2.00977 2.00974 -2e-05 ops/s
50th percentile latency range_field_disjunction_big_range_small_term_query 3.72366 3.67632 -0.04734 ms
90th percentile latency range_field_disjunction_big_range_small_term_query 4.10006 4.04413 -0.05593 ms
99th percentile latency range_field_disjunction_big_range_small_term_query 4.21742 4.23131 0.01389 ms
100th percentile latency range_field_disjunction_big_range_small_term_query 4.25088 4.30604 0.05516 ms
50th percentile service time range_field_disjunction_big_range_small_term_query 2.4401 2.29316 -0.14694 ms
90th percentile service time range_field_disjunction_big_range_small_term_query 2.48471 2.36383 -0.12088 ms
99th percentile service time range_field_disjunction_big_range_small_term_query 2.64231 2.51092 -0.13139 ms
100th percentile service time range_field_disjunction_big_range_small_term_query 2.73216 2.58982 -0.14234 ms
error rate range_field_disjunction_big_range_small_term_query 0 0 0 %
Min Throughput range_field_conjunction_small_range_small_term_query 2.00658 2.0066 2e-05 ops/s
Mean Throughput range_field_conjunction_small_range_small_term_query 2.00799 2.008 1e-05 ops/s
Median Throughput range_field_conjunction_small_range_small_term_query 2.00788 2.0079 1e-05 ops/s
Max Throughput range_field_conjunction_small_range_small_term_query 2.00981 2.00984 3e-05 ops/s
50th percentile latency range_field_conjunction_small_range_small_term_query 3.96084 3.44367 -0.51716 ms
90th percentile latency range_field_conjunction_small_range_small_term_query 4.36011 3.9046 -0.4555 ms
99th percentile latency range_field_conjunction_small_range_small_term_query 4.46236 4.01708 -0.44528 ms
100th percentile latency range_field_conjunction_small_range_small_term_query 4.46776 4.03282 -0.43494 ms
50th percentile service time range_field_conjunction_small_range_small_term_query 2.65553 2.19825 -0.45727 ms
90th percentile service time range_field_conjunction_small_range_small_term_query 2.71452 2.25235 -0.46217 ms
99th percentile service time range_field_conjunction_small_range_small_term_query 2.99461 2.30178 -0.69283 ms
100th percentile service time range_field_conjunction_small_range_small_term_query 3.11575 2.30806 -0.8077 ms
error rate range_field_conjunction_small_range_small_term_query 0 0 0 %
Min Throughput range_field_conjunction_small_range_big_term_query 2.00659 2.00658 -1e-05 ops/s
Mean Throughput range_field_conjunction_small_range_big_term_query 2.00799 2.00799 -1e-05 ops/s
Median Throughput range_field_conjunction_small_range_big_term_query 2.00789 2.00787 -2e-05 ops/s
Max Throughput range_field_conjunction_small_range_big_term_query 2.00982 2.00981 -1e-05 ops/s
50th percentile latency range_field_conjunction_small_range_big_term_query 3.66355 4.02132 0.35777 ms
90th percentile latency range_field_conjunction_small_range_big_term_query 4.03828 4.48152 0.44323 ms
99th percentile latency range_field_conjunction_small_range_big_term_query 4.12982 4.69133 0.56152 ms
100th percentile latency range_field_conjunction_small_range_big_term_query 4.15344 4.80734 0.6539 ms
50th percentile service time range_field_conjunction_small_range_big_term_query 2.38696 2.68716 0.3002 ms
90th percentile service time range_field_conjunction_small_range_big_term_query 2.446 2.73078 0.28478 ms
99th percentile service time range_field_conjunction_small_range_big_term_query 2.74562 2.97275 0.22714 ms
100th percentile service time range_field_conjunction_small_range_big_term_query 2.79511 3.08531 0.2902 ms
error rate range_field_conjunction_small_range_big_term_query 0 0 0 %
Min Throughput range-auto-date-histo 0.0998395 0.102973 0.00313 ops/s
Mean Throughput range-auto-date-histo 0.0998598 0.103236 0.00338 ops/s
Median Throughput range-auto-date-histo 0.0998576 0.103208 0.00335 ops/s
Max Throughput range-auto-date-histo 0.0998881 0.103639 0.00375 ops/s
50th percentile latency range-auto-date-histo 2.38313e+06 2.30146e+06 -81669.6 ms
90th percentile latency range-auto-date-histo 2.76294e+06 2.67469e+06 -88248.9 ms
99th percentile latency range-auto-date-histo 2.8483e+06 2.75837e+06 -89927.9 ms
100th percentile latency range-auto-date-histo 2.85303e+06 2.76308e+06 -89947.2 ms
50th percentile service time range-auto-date-histo 9987.78 9812.09 -175.686 ms
90th percentile service time range-auto-date-histo 10104.1 9936.15 -167.972 ms
99th percentile service time range-auto-date-histo 10266.5 10258.3 -8.21582 ms
100th percentile service time range-auto-date-histo 10290.1 10268.9 -21.2148 ms
error rate range-auto-date-histo 0 0 0 %
Min Throughput range-auto-date-histo-with-metrics 0.0422745 0.0445635 0.00229 ops/s
Mean Throughput range-auto-date-histo-with-metrics 0.0423403 0.0446162 0.00228 ops/s
Median Throughput range-auto-date-histo-with-metrics 0.042345 0.0446132 0.00227 ops/s
Max Throughput range-auto-date-histo-with-metrics 0.042375 0.0446781 0.0023 ops/s
50th percentile latency range-auto-date-histo-with-metrics 5.78617e+06 5.4882e+06 -297975 ms
90th percentile latency range-auto-date-histo-with-metrics 6.7175e+06 6.37247e+06 -345034 ms
99th percentile latency range-auto-date-histo-with-metrics 6.92511e+06 6.57144e+06 -353672 ms
100th percentile latency range-auto-date-histo-with-metrics 6.93663e+06 6.58254e+06 -354088 ms
50th percentile service time range-auto-date-histo-with-metrics 23559.3 22553.7 -1005.65 ms
90th percentile service time range-auto-date-histo-with-metrics 23836.5 22758.4 -1078.13 ms
99th percentile service time range-auto-date-histo-with-metrics 24497.8 22978.6 -1519.25 ms
100th percentile service time range-auto-date-histo-with-metrics 24996.6 23005.3 -1991.31 ms
error rate range-auto-date-histo-with-metrics 0 0 0 %
Min Throughput range-agg-1 2.00647 2.00645 -2e-05 ops/s
Mean Throughput range-agg-1 2.00784 2.00782 -2e-05 ops/s
Median Throughput range-agg-1 2.00773 2.00772 -2e-05 ops/s
Max Throughput range-agg-1 2.00964 2.00962 -2e-05 ops/s
50th percentile latency range-agg-1 4.40967 4.05432 -0.35535 ms
90th percentile latency range-agg-1 4.84153 4.47909 -0.36243 ms
99th percentile latency range-agg-1 4.99348 5.64617 0.65269 ms
100th percentile latency range-agg-1 5.05057 6.54214 1.49157 ms
50th percentile service time range-agg-1 3.09615 2.77203 -0.32411 ms
90th percentile service time range-agg-1 3.17337 2.85499 -0.31838 ms
99th percentile service time range-agg-1 3.26896 2.91085 -0.35811 ms
100th percentile service time range-agg-1 3.32682 2.91303 -0.41379 ms
error rate range-agg-1 0 0 0 %
Min Throughput range-agg-2 2.00659 2.00657 -2e-05 ops/s
Mean Throughput range-agg-2 2.00799 2.00797 -2e-05 ops/s
Median Throughput range-agg-2 2.00788 2.00786 -2e-05 ops/s
Max Throughput range-agg-2 2.00981 2.00978 -2e-05 ops/s
50th percentile latency range-agg-2 4.02069 3.7638 -0.25689 ms
90th percentile latency range-agg-2 4.40535 4.16979 -0.23556 ms
99th percentile latency range-agg-2 4.49399 4.3326 -0.16139 ms
100th percentile latency range-agg-2 4.49702 4.35053 -0.14649 ms
50th percentile service time range-agg-2 2.6408 2.45294 -0.18786 ms
90th percentile service time range-agg-2 2.70852 2.52895 -0.17956 ms
99th percentile service time range-agg-2 2.94095 2.61453 -0.32642 ms
100th percentile service time range-agg-2 2.99183 2.61899 -0.37284 ms
error rate range-agg-2 0 0 0 %
Min Throughput cardinality-agg-low 2.00628 2.00625 -4e-05 ops/s
Mean Throughput cardinality-agg-low 2.00763 2.00758 -5e-05 ops/s
Median Throughput cardinality-agg-low 2.00753 2.00747 -6e-05 ops/s
Max Throughput cardinality-agg-low 2.00937 2.00932 -5e-05 ops/s
50th percentile latency cardinality-agg-low 5.15393 4.93767 -0.21625 ms
90th percentile latency cardinality-agg-low 5.8025 5.35705 -0.44545 ms
99th percentile latency cardinality-agg-low 8.31553 5.78493 -2.5306 ms
100th percentile latency cardinality-agg-low 10.4785 6.10695 -4.3716 ms
50th percentile service time cardinality-agg-low 3.99061 3.67497 -0.31565 ms
90th percentile service time cardinality-agg-low 4.08229 3.77875 -0.30354 ms
99th percentile service time cardinality-agg-low 7.09096 4.24136 -2.8496 ms
100th percentile service time cardinality-agg-low 9.45735 4.38562 -5.07173 ms
error rate cardinality-agg-low 0 0 0 %
Min Throughput cardinality-agg-high 0.406459 0.403864 -0.0026 ops/s
Mean Throughput cardinality-agg-high 0.406946 0.404275 -0.00267 ops/s
Median Throughput cardinality-agg-high 0.406915 0.404302 -0.00261 ops/s
Max Throughput cardinality-agg-high 0.407584 0.404452 -0.00313 ops/s
50th percentile latency cardinality-agg-high 490772 494545 3773.27 ms
90th percentile latency cardinality-agg-high 569753 574057 4303.53 ms
99th percentile latency cardinality-agg-high 587507 592098 4590.94 ms
100th percentile latency cardinality-agg-high 588488 593091 4602.75 ms
50th percentile service time cardinality-agg-high 2464.91 2462.23 -2.67493 ms
90th percentile service time cardinality-agg-high 2505.54 2528.06 22.515 ms
99th percentile service time cardinality-agg-high 2585.59 2649.49 63.8938 ms
100th percentile service time cardinality-agg-high 2614.36 2651.78 37.4192 ms
error rate cardinality-agg-high 0 0 0 %

Copy link
Contributor

✅ Gradle check result for a9d111e: SUCCESS

…ing, must be low overhead)

Signed-off-by: Andriy Redko <[email protected]>
Signed-off-by: Andriy Redko <[email protected]>
Copy link
Contributor

❕ Gradle check result for e9d2d82: UNSTABLE

Please review all flaky tests that succeeded after retry and create an issue if one does not already exist to track the flaky failure.

import org.opensearch.plugins.PluginInfo;
import org.opensearch.plugins.PluginsService;
import org.opensearch.secure_sm.SecureSM;
import org.opensearch.secure_sm.policy.PolicyFile;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we cannot use the PolicyFile implementation in JDK21? via --add-exports java.base/sun.security.provider=ALL-UNNAMED

Copy link
Collaborator Author

@reta reta Mar 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we cannot use the PolicyFile implementation in JDK21? via --add-exports java.base/sun.security.provider=ALL-UNNAMED

Yes, we can, but it is a temporary solution, I think the end game is to have OpenSearch 3 running on JDK-24. If we don't find the option to parse policy files in time for 3.x, we could:

  • keep the secure_sm module but delete all the JDK code
  • refactor PolicyFile to inherit sun.security.provider.PolicyFile: PolicyFile extends sun.security.provider.PolicyFile
  • once we have our own policy parsing logic, we just change PolicyFile implementation

In this case, we cannot run on JDK-24 but at least we won't require any breaking changes to add the support a bit later.

Copy link
Contributor

@kumargu kumargu Mar 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In this case, we cannot run on JDK-24 but at least we won't require any breaking changes to add the support a bit later

@andrross @peterzhuamazon Is that acceptable for 3.0? (AFAIK we are shipping 3.0 with JDK-21)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed that it is a temporary solution but I would vote for picking this temporary solution and get to the end state of the Java agent sooner. That will help us to find any breaking changes in the plugin/s.

We will continue to work on our own Policy parsing logic. A "fresh" logic may land next in 2-3 days weeks but it wont be necessarily tied to 3.0 and Java agent can be delivered without blockers or time-slips in 3.0. Whenever we have the policy parser ready that version we will swap the implementations and open gates for JDK-24.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement or improvement to existing feature or request skip-changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[POC] [Security Manager Replacement] Native Java Agent (dynamic code rewriting, must be low overhead)
6 participants