-
-
Notifications
You must be signed in to change notification settings - Fork 606
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
Contention on vma_list_mutex during tomcat benchmark #310
Comments
On Tue, May 20, 2014 at 04:10:58AM -0700, Tomasz Grabiec wrote:
|
That seems to reduce contention significantly,
From:
|
IIRC, @elcallio mentioned at some point that |
On Tue, May 20, 2014 at 4:53 PM, Tomasz Grabiec [email protected]:
Since we control which options we pass to the JVM, I wonder what is the |
On Tue, May 20, 2014 at 05:56:36AM -0700, Glauber Costa wrote:
|
So, the UseMembar flag affects how the HS JVM does thread state transitions. Normally, with the flag off, each transition will do a "psuedo-membar" by writing to a dedicated memory page, which, when stopping threads, is temporarily protected to ensure that stopper/stoppee has the same (or close enough) idea of the threads state. If you are seeing page faults in the transitions in a really significant amount it would seem to be an indicator that you are either GC:ing too much, or have some very bad behaviour with biased locks (which will need to stop other threads in various contended cases). That you get better results on a multi-core system with fences enabled instead is somewhat scary. |
On Tue, May 20, 2014 at 06:47:30AM -0700, Calle Wilund wrote:
|
Tomek, I think we can close this one.
|
I can see some slight contention on
vma_list_mutex
during tomcat benchmark:trace perf-lock
over 3 second period:Trapping with GDB shows it comes from places like:
Which comes from code which triggers a minor collection.
The text was updated successfully, but these errors were encountered: