You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by lh...@apache.org on 2026/09/26 11:33:14 UTC

(pulsar) branch lh-ml-mpsc-add-handoff updated (1e80d28e8956 -> 9d0081dd672a)

This is an automated email from the ASF dual-hosted git repository.

lhotari pushed a change to branch lh-ml-mpsc-add-handoff
in repository https://gitbox.apache.org/repos/asf/pulsar.git


 discard 1e80d28e8956 [improve][ml] Drain each add entry handover batch into a local list before running it
 discard 2fef3dd464ad [improve][ml] Rename managedLedgerMaxAddEntryHandoverBatchSize to managedLedgerAddEntryHandoverMaxBatchSize
 discard fd792fdfba0b [improve][ml] Rename managedLedgerMaxAddBatchSize to managedLedgerMaxAddEntryHandoverBatchSize
 discard c7f8df7d2fa1 [improve][ml] Make the maximum add batch size configurable with managedLedgerMaxAddBatchSize
 discard 287ea7a3f9db [improve][ml] Create the add batch queue lazily and name it for what it does
 discard ed65205d9627 [improve][ml] Hand off adds to the managed-ledger executor through an MPSC queue
 discard cd9726ba76f0 [improve][broker] Apply Shared and Key_Shared Flow permits without the dispatcher monitor
 discard 03f36329fdac [improve][test] Name the Key_Shared 500x20 runs after their scenario files
 discard db70de2c1c93 [improve][test] Add a launcher scenario for 500 producers and a 20-member Key_Shared subscription
 discard a782d92167a1 [improve][test] Cut the cool-down before the measurement out of the throughput and backlog charts
 discard 07ef6a5a6c38 [improve][test] Signal the measurement start over HTTP instead of coordination files
 discard 6371fb12951a [improve][test] Report the host's CPU temperature and throttling, and cool down between runs
 discard cb1285cad22f [improve][test] Use AssertJ assertions in the performance launcher and report tool tests
 discard 802cf05997f5 [improve][test] Drop the delivery-after-publish estimate from the run report
 discard 6504c83fc917 [improve][test] Name the end-to-end latency rows after their application
 discard 0aabb5723c3a [improve][test] Name each consumer application's output directory after its subscription
 discard 71a3083d406d [improve][test] Name each consumer application after its subscription in the run report and latency charts
 discard 9550e15d58a8 [improve][test] Name the latency chart lines briefly
 discard 86ada74854ca [improve][test] Draw publish latency dotted, as the producers are in the throughput chart
 discard 22061b65fdfb [improve][test] Plot latency by percentile and over time per application with XChart, log latency every second, and write .hgrm percentile distributions
 discard 441564bb2cbd [improve][test] Leave the 0.0% label off the latency chart's baseline
 discard 561e40e9ded0 [improve][test] Put the latency chart's axis labels right next to the axis
 discard 6416167dc5c2 [improve][test] Put the latency chart's axis labels next to their panels, and the panels further apart
 discard 6bd23d6a4d09 [improve][test] Move the performance reports and renderers to a report-tool module, and serve reports with their text files as text
 discard 78781f1fe97e [improve][test] Count only Pulsar and BookKeeper frames as the application in profiles
 discard dd4c0f45d2ac [improve][test] Link a profile's files from tables with descriptive link texts, and its recordings from the run report
 discard 289a8b45d90e [improve][test] List a run's files in a collapsed section at the end of its report, and save container logs as text
 discard e5dcad1f0515 [improve][test] Say which run each chart shows, link each run's files, and leave stacks without an application frame out of the app-root flame graphs
 discard 704b2e7df54b [improve][test] Write each launcher run to its own directory by day, branch and name, and record its provenance
 discard 820180677df6 [improve][test] Hide BookKeeper and Pulsar dispatch frames in the off-CPU digest and app-root flame graphs, abbreviate Java names on the digest page
 discard 43916988d34b [improve][test] Follow the jonoffcpu 0.7.0 digest options and wording, end the backlog maximum at the producers' finish
 discard e9037063e063 [improve][test] Name only the rendered views, lead the run report with its profiles, bound the backlog maximum to the measurement, tidy the latency chart
 discard 093258463305 [improve][test] Give headings ids in the launcher's HTML report pages
 discard 997532711910 [improve][test] Treat Jetty's reserved threads waiting for a job as idle in off-CPU profiles
 discard 3096def6aefa [improve][test] Write a run report with throughput, latency and sampled backlog, rendered to HTML
 discard 56118a403818 [improve][test] Write a profile report, app-rooted off-CPU graphs and heatmaps for profiled runs
 discard d14778172e20 [improve][test] Upgrade jonoffcpu to 0.7.0
 discard f9e7ba163e16 [improve][test] Use jonoffcpu 0.6.0 from its new home
 discard 66b56e604a97 [improve][doc] Document profiling performance scenarios with jonoffcpu
 discard 79de86e4b0fd [improve][test] Render the configured flame graph views of profiled recordings
 discard 6a3c248841b3 [improve][test] Read the off-CPU idle-wait patterns from a resource file
 discard b49cfb30fb00 [improve][test] Render off-CPU flame graphs with and without idle waits
 discard 2c5a6c08cede [improve][test] Profile IoT performance scenarios with the jonoffcpu off-CPU agent
     add 5eca6a9bf437 [fix][ml] Fail queued adds when a managed ledger is terminated during a ledger rollover (#26680)
     add bc8134c15422 [fix][broker] Do not start classic geo-replicators on scalable-topic segment topics (#26691)
     add 963830c223a2 [improve][misc] Use compact object headers on JDK 25 and 26 (#26719)
     add d56cd3c675a8 [improve][test] Profile IoT performance scenarios with the jonoffcpu off-CPU agent
     add 3268b9bd7362 [improve][test] Render off-CPU flame graphs with and without idle waits
     add 13aafd0036f9 [improve][test] Read the off-CPU idle-wait patterns from a resource file
     add 160a508d84f5 [improve][test] Render the configured flame graph views of profiled recordings
     add 4f65a2f5a56f [improve][doc] Document profiling performance scenarios with jonoffcpu
     add 6466f4a87d5d [improve][test] Use jonoffcpu 0.6.0 from its new home
     add 09c7aea0bf8b [improve][test] Upgrade jonoffcpu to 0.7.0
     add a5fbe9b0f114 [improve][test] Write a profile report, app-rooted off-CPU graphs and heatmaps for profiled runs
     add 0c2fdafd361b [improve][test] Write a run report with throughput, latency and sampled backlog, rendered to HTML
     add a7d596c923a1 [improve][test] Treat Jetty's reserved threads waiting for a job as idle in off-CPU profiles
     add 188c9945ce0a [improve][test] Give headings ids in the launcher's HTML report pages
     add 5c716ba75fc6 [improve][test] Name only the rendered views, lead the run report with its profiles, bound the backlog maximum to the measurement, tidy the latency chart
     add 232442cf841c [improve][test] Follow the jonoffcpu 0.7.0 digest options and wording, end the backlog maximum at the producers' finish
     add 21419a33354e [improve][test] Hide BookKeeper and Pulsar dispatch frames in the off-CPU digest and app-root flame graphs, abbreviate Java names on the digest page
     add 8809f478badb [improve][test] Write each launcher run to its own directory by day, branch and name, and record its provenance
     add 87a8eada7316 [improve][test] Say which run each chart shows, link each run's files, and leave stacks without an application frame out of the app-root flame graphs
     add 95546a1408ca [improve][test] List a run's files in a collapsed section at the end of its report, and save container logs as text
     add f37e683a7101 [improve][test] Link a profile's files from tables with descriptive link texts, and its recordings from the run report
     add aa5604d5e3d1 [improve][test] Count only Pulsar and BookKeeper frames as the application in profiles
     add 345d8b07fa2f [improve][test] Move the performance reports and renderers to a report-tool module, and serve reports with their text files as text
     add 8e8f1ada0872 [improve][test] Put the latency chart's axis labels next to their panels, and the panels further apart
     add 2dfbc00192b8 [improve][test] Put the latency chart's axis labels right next to the axis
     add 8ab74bbb60c4 [improve][test] Leave the 0.0% label off the latency chart's baseline
     add 424ffb3dd3de [improve][test] Plot latency by percentile and over time per application with XChart, log latency every second, and write .hgrm percentile distributions
     add 761475e12834 [improve][test] Draw publish latency dotted, as the producers are in the throughput chart
     add 4fb34b9b59b4 [improve][test] Name the latency chart lines briefly
     add 90a5fd71c44d [improve][test] Name each consumer application after its subscription in the run report and latency charts
     add 61988df2417e [improve][test] Name each consumer application's output directory after its subscription
     add 036a1d871c96 [improve][test] Name the end-to-end latency rows after their application
     add 355b6ca778f0 [improve][test] Drop the delivery-after-publish estimate from the run report
     add b6afb246487c [improve][test] Use AssertJ assertions in the performance launcher and report tool tests
     add 93af7bf3dfec [improve][test] Report the host's CPU temperature and throttling, and cool down between runs
     add 096392414af7 [improve][test] Signal the measurement start over HTTP instead of coordination files
     add 54095bab949c [improve][test] Cut the cool-down before the measurement out of the throughput and backlog charts
     add 332e8e110737 [improve][test] Set environment variables of the producer and consumer containers from the scenario
     add ab6fd4511013 [improve][test] Add scripts that configure the host for performance testing and restore it afterwards
     add 21a786fb610c [improve][test] Add a launcher scenario for 500 producers and a 20-member Key_Shared subscription
     add 99a759590041 [improve][test] Name the Key_Shared 500x20 runs after their scenario files
     add c05fae55533d [improve][broker] Apply Shared and Key_Shared Flow permits without the dispatcher monitor
     add 1d2fbb801c48 [improve][ml] Hand off adds to the managed-ledger executor through an MPSC queue
     add 1d219ab8e014 [improve][ml] Create the add batch queue lazily and name it for what it does
     add 5574b94bf1f7 [improve][ml] Make the maximum add batch size configurable with managedLedgerMaxAddBatchSize
     add 47b515cbdd0d [improve][ml] Rename managedLedgerMaxAddBatchSize to managedLedgerMaxAddEntryHandoverBatchSize
     add 532029e3ffec [improve][ml] Rename managedLedgerMaxAddEntryHandoverBatchSize to managedLedgerAddEntryHandoverMaxBatchSize
     add 9d0081dd672a [improve][ml] Drain each add entry handover batch into a local list before running it

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (1e80d28e8956)
            \
             N -- N -- N   refs/heads/lh-ml-mpsc-add-handoff (9d0081dd672a)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

No new revisions were added by this update.

Summary of changes:
 bin/bookkeeper                                     |   7 +
 bin/function-localrunner                           |   7 +
 bin/pulsar                                         |   7 +
 bin/pulsar-admin-common.cmd                        |   6 +
 bin/pulsar-admin-common.sh                         |   7 +
 bin/pulsar-perf                                    |   7 +
 .../bookkeeper/mledger/impl/ManagedLedgerImpl.java | 107 ++++--
 .../mledger/impl/ManagedLedgerTerminationTest.java | 346 ++++++++++++++++++
 .../broker/service/persistent/PersistentTopic.java |   8 +
 .../ScalableTopicSegmentReplicationTest.java       |  93 +++++
 tests/integration/build.gradle.kts                 |  15 +-
 tests/performance/README.md                        |   8 +-
 .../scripts/configure-perf-test-environment.sh     | 407 +++++++++++++++++++++
 .../install-tuned-performance-testing-profile.sh   | 173 +++++++++
 .../performance/launcher/PerformanceLauncher.java  |  32 +-
 .../launcher/WorkloadEnvironmentTest.java          |  49 +++
 16 files changed, 1248 insertions(+), 31 deletions(-)
 create mode 100644 pulsar-broker/src/test/java/org/apache/pulsar/broker/service/ScalableTopicSegmentReplicationTest.java
 create mode 100755 tests/performance/environment/scripts/configure-perf-test-environment.sh
 create mode 100755 tests/performance/environment/scripts/install-tuned-performance-testing-profile.sh
 create mode 100644 tests/performance/launcher/src/test/java/org/apache/pulsar/tests/performance/launcher/WorkloadEnvironmentTest.java