-
Notifications
You must be signed in to change notification settings - Fork 767
Park performance investigation #22181
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
base: master
Are you sure you want to change the base?
Conversation
0feb1a6
to
54e5a4e
Compare
@tajila the changes are ready to be built. |
The title should summarize what this will do; perhaps "Improve park performance"? |
jenkins compile xlinux jdk17 |
runtime/vm/threadhelp.cpp
Outdated
|
||
rc = omrthread_park(millis, nanos); | ||
|
||
Trc_VM_ThreadHelp_timeCompensationHelper_parkWaited(vmThread, j9time_nano_time()-currentTime, policy, earlyBreak, count, vmThread->parkRate); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
include context switch rate
jenkins compile xlinux jdk17 |
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]>
Signed-off-by: Gengchen Tuo <[email protected]>
@tajila can you launch a build again since the comparison need to be reversed? |
jenkins compile xlinux jdk17 |
A non-empty description would be helpful as well. |
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.