Skip to content

Conversation

thallium
Copy link
Contributor

@thallium thallium commented Jul 3, 2025

Trying to improve the performance of park() by sleeping or spinning before calling system park based on various metrics. Right now we're still at the phase of evaluating the impact of different sleep/spin configurations across different workloads.

@thallium thallium force-pushed the park1 branch 3 times, most recently from 0feb1a6 to 54e5a4e Compare July 3, 2025 19:43
@thallium
Copy link
Contributor Author

thallium commented Jul 3, 2025

@tajila the changes are ready to be built.

@keithc-ca
Copy link
Contributor

The title should summarize what this will do; perhaps "Improve park performance"?

@thallium thallium changed the title Park performance Park performance investigation Jul 4, 2025
@tajila
Copy link
Contributor

tajila commented Jul 4, 2025

jenkins compile xlinux jdk17


rc = omrthread_park(millis, nanos);

Trc_VM_ThreadHelp_timeCompensationHelper_parkWaited(vmThread, j9time_nano_time()-currentTime, policy, earlyBreak, count, vmThread->parkRate);
Copy link
Contributor

Choose a reason for hiding this comment

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

include context switch rate

@tajila
Copy link
Contributor

tajila commented Jul 10, 2025

jenkins compile xlinux jdk17

tajila and others added 2 commits July 18, 2025 09:36
Introduce the ability to spin on park in order to address pathological
cases where application behaviour frequently parks/unparks.

Signed-off-by: tajila <[email protected]>
Signed-off-by: Gengchen Tuo <[email protected]>
@thallium
Copy link
Contributor Author

@tajila can you launch a build again since the comparison need to be reversed?

@tajila
Copy link
Contributor

tajila commented Jul 18, 2025

jenkins compile xlinux jdk17

@keithc-ca
Copy link
Contributor

The title should summarize what this will do; perhaps "Improve park performance"?

A non-empty description would be helpful as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants