Skip to content
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

[overhead ] README.md enhancements #3939

Merged
merged 5 commits into from
Aug 25, 2021

Conversation

breedx-splk
Copy link
Contributor

It was very sparse. This adds some needed details.

Copy link
Member

@trask trask left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice ❤️ doc

|--------------------------|-----------------------------------------------------------------|
| Startup time | how long it takes for the spring app to report "healthy"
| Total allocated MB | across the life of the application
| Heap (min) | smallest observed heap size
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unrelated to this PR, but is this useful?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably not! 🤓

benchmark-overhead/README.md Outdated Show resolved Hide resolved
benchmark-overhead/README.md Outdated Show resolved Hide resolved
| Heap (min) | smallest observed heap size
| Heap (max) | largest observed heap size
| Thread switch rate | max observed thread context switch rate
| GC time | total amount of time spent paused for garbage collection
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Which GC algo we use?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

G1 default in Java 11.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What exactly does this number say then? The majority of pauses are concurrent anyway, so how can I correlate these numbers to the impact on the application?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

more GC time is going to have some impact response times, especially under load

maybe we should change

total amount of time spent paused for garbage collection

to

total amount of time spent in garbage collection?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, good idea @trask . As far as the pause being concurrent -- sure, many will be, and it's not stop the world here. There are some additional insights that can be had from other G1 related JFR events, but I didn't want to get super duper detailed.

* list of agents (see below)
* maxRequestRate (optional, used to throttle traffic)
* concurrentConnections (number of concurrent virtual users [VUs])
* totalIterations - the number of passes to make through the k6 test script
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are after warm up, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, after warmup. The only thing not after warmup is startup time.

For each test pass, we record the following metrics in order to compare agents and determine
relative overhead.

| metric name | description |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add units to all rows

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And probably it will be useful to have them in summary reports as well

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, added a units column. Let's do the report change in a separate PR? Mind filing an issue?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

filed #3950

@trask trask merged commit 378d0d5 into open-telemetry:main Aug 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants