[ https://issues.apache.org/jira/browse/HARMONY-3231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12480496
]
weldon washburn commented on HARMONY-3231:
------------------------------------------
Yes, I agree H3231 depends on H3065 and will update the dependencies accordingly. I also
share the worry that we need to solve both the initial-exec and the inlining of TLS access
simultaneously. I will start a dev email thread on this topic.
> [threading] There is a performance improvement if using "initial-exec" tls model on em64t
linux.
> ------------------------------------------------------------------------------------------------
>
> Key: HARMONY-3231
> URL: https://issues.apache.org/jira/browse/HARMONY-3231
> Project: Harmony
> Issue Type: Improvement
> Components: DRLVM
> Environment: linux-em64t
> Reporter: Rustem Rafikov
> Assigned To: weldon washburn
> Attachments: initial-exec-em64t.diff
>
>
> Hi All,
> The attached patch changes tls model to initial-exec for linux-em64t (instead of general-dynamic
by default). This allows avoiding of __tls_addr_get calls to obtain the address of a thread-local
variable. Initial-exec can be used when all modules are loaded before a program starts working
but may not be loaded at runtime with dlopen().
> The attached patch gives us up to 10% boost on specjbb2005 @ lnx64(and more on thread
intensive benchmarks).
> --bwR
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
|