[
https://issues.apache.org/jira/browse/GIRAPH-592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13631687#comment-13631687
]
Nitay Joffe commented on GIRAPH-592:
------------------------------------
Still undergoing discussion, see https://reviews.apache.org/r/10147/. I'll post
patch when it's ready. You want to comment on the review?
> YourKit profiling API for easy profiling of giraph
> --------------------------------------------------
>
> Key: GIRAPH-592
> URL: https://issues.apache.org/jira/browse/GIRAPH-592
> Project: Giraph
> Issue Type: Bug
> Reporter: Nitay Joffe
> Assignee: Nitay Joffe
>
> Adds YourKit API with helpers to Giraph, to make it easy to profile with
> YourKit. No more having to attach to processes and have the user time things
> by hand. This allows us to profile specific parts of the code very easily.
> As an example this diff adds profiling to edge input loading.
> To use YourKit with Hadoop jobs you need to set parameters as follows:
> {code}
> -Dmapred.task.profile=true \
> -Dmapred.task.profile.maps=0-${numWorkers} \
> -Dmapred.task.profile.params=-agentpath:<path-to-yourkit.so>
> {code}
> Note if the YourKit agent is not passed in (not profiling), the calls I've
> added here have negligible effect.
> https://reviews.apache.org/r/10147/
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira