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

updating README #55

Merged
merged 3 commits into from
Feb 28, 2023
Merged

updating README #55

merged 3 commits into from
Feb 28, 2023

Conversation

DDxPlague
Copy link
Contributor

Issue #, if available:

Description of changes:
Updating the README to be more useful.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

README.md Outdated

`aperf-collector` only supports running on Linux.

`aperf-visualizer` supports Mac and Linux.
Copy link
Contributor

Choose a reason for hiding this comment

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

We don't support Mac, yet.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed

README.md Outdated

To visualize the data using `aperf-visualizer` download the directory created by `aperf-collector` and load the data with `aperf-visualizer`.

**WARNING**
Copy link
Contributor

Choose a reason for hiding this comment

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

We could say 'KNOWN LIMITATION'?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

agreed. fixed.

README.md Outdated

**aperf-collector**
1. Download the `aperf-collector` binary.
2. By default `aperf-collector` will collect data for 10 seconds. Configure options are shown below.
Copy link
Contributor

Choose a reason for hiding this comment

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

Point # 2 can be removed.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed

README.md Outdated

`-p, --period` period (how long you want the data collection to run, default is 10s)

`-r, --run-name` run name (name of the run for organization purposes, creates directory of the same name, default of APerf_timestamp)
Copy link
Contributor

Choose a reason for hiding this comment

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

This is aperf_[timestamp]. Here timestamp is the time at which the command was run.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed

README.md Outdated
## Why does APerf exist?
Performance issues in applications are investigated by recreating them locally and collecting data/metrics using monitoring tools like sysstat, perf, sysctl, ebpf, etc... or by running these tools remotely. Installing and executing various performance monitoring tools is a manual process and prone to errors. Even with the [Graviton Performance Runbook](https://github.com/aws/aws-graviton-getting-started/blob/main/perfrunbook/graviton_perfrunbook.md), understanding the output of these tools requires deep domain specific knowledge.

The aim of APerf is to enable anyone to collect performance data in their enviornment while providing tools to analyze and visualize application performance. APerf will enable faster troubleshooting by analyzing and highlighting deviations in performance between two application environments automatically.
Copy link
Contributor

Choose a reason for hiding this comment

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

s/will enable/will eventually, hopefully, enable/ ;)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

changed to "hopefully" just to keep it succint

README.md Outdated

## Building from source
```
cargo build
cargo test
cargo run
Copy link
Contributor

Choose a reason for hiding this comment

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

Still needs a parameter of what to run, could be a meta-parameter here instead of one of the specific two values ..... or just remove this line since the section is about building not running :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

removed the run command for now.

README.md Outdated

**WARNING**

The default configuration of 10ms for `/sys/devices/cpu/perf_event_mux_interval_ms ` is known to cause serious performance overhead for systems with large core counts. We recommend setting this value to 100ms by doing the following:
Copy link
Contributor

Choose a reason for hiding this comment

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

Extra space there after perf_event_mux_interval_ms

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed

README.md Outdated

`aperf-collector` only supports running on Linux.

`aperf-visualizer` supports Mac.
Copy link
Contributor

Choose a reason for hiding this comment

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

We only support Linux for the 'aperf-visualizer' also.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed.

@janaknat
Copy link
Contributor

I remember you were planning to include a few screenshots in the README. Is that not the case anymore?

@DDxPlague
Copy link
Contributor Author

That will come later in the EXAMPLE.MD doc I'm working on, but this gets us a good starting point for now.

@DDxPlague DDxPlague merged commit 9d71731 into main Feb 28, 2023
@DDxPlague DDxPlague deleted the readme-update branch February 28, 2023 19:09
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.

3 participants