Skip to content
Permalink
Browse files
update profiling instructions in the readme
* add initial configuration information for YourKit
* fix path to private key when setting up connection authentication in
YourKit
  • Loading branch information
nonbinaryprogrammer committed Mar 20, 2019
1 parent 70e4497 commit 20624db1b076ab5741138563fa2f959a76006756
Showing 1 changed file with 16 additions and 2 deletions.
@@ -104,13 +104,27 @@ Example 2 - run_against_baseline.sh:
## Prerequisites
* You must have fulfilled the prerequisites at the beginning of this doc
* You must have YourKit installed
* Launch YourKit
* In the top menu bar, select `Filters...` under the `Settings` dropdown
* Uncheck the filter with the name `org.apache`
* Click the `Ok` button to save the configuration
* About this setting: When this box is checked, classes in the `org.apache` namespace will not
be profiled, so it must be unchecked to profile geode or geode-benchmarks
* Quit YourKit
* Use your chosen text editor to edit your `/Users/<yourUsername>/.yjp/ui.ini` and add
`-Dyjp.zero.time.methods=false`. Restart the profiler for this change to take effect.
* About this setting: When this value is set to true, Unsafe Park and Unsafe Wait are ignored,
which results in Reentrant Locks not appearing in the profiler. Setting this value to false will
result in some noise from pools that are waiting for work, but is also necessary in order to see
contention around reentrant locks.

## Running in AWS
* Launch YourKit
* On the YourKit "Welcome" page, under the "Monitor Applications" section, hit the green plus to add
a configuration
* In the configuration window, fill in the following:
* `Connection name`: the name of the member that you want to connect to
* `Connection name`: some name for the configuration (the name of the member that is being
connected is usually a good choice)
* `Host or IP Address`: the public IP of the AWS VM hosting the member with which you want to
connect (the launch cluster script prints these in the order that they were started:
[locator-0, server-1, server-2, client-3])
@@ -119,7 +133,7 @@ a configuration
* `SSH port`: `22`
* Click on "Authentication Settings..." and on that window, fill in the following:
* `Authentication method`: `private key`
* `Private Key`: `~/.geode-benchmarks/\<clusterTag\>-privkey.pem`
* `Private Key`: `/Users/<yourUsername>/.geode-benchmarks/<clusterTag>-privkey.pem`
* `Passphrase`: leave blank
* Once you have saved the configuration, it should show up under the "Monitor Applications" section
of the page with the connection status. If the machines are running, the status should be "No

0 comments on commit 20624db

Please sign in to comment.