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

Timeline of loadgen stats #38

Merged
merged 5 commits into from
Jan 17, 2022
Merged

Timeline of loadgen stats #38

merged 5 commits into from
Jan 17, 2022

Conversation

mhofman
Copy link
Member

@mhofman mhofman commented Nov 24, 2021

This PR provides the plumbing to generate a CSV file containing a small subset of the loadgen stats across multiple revisions.

The file is currently generated locally and manually imported into a google spreadsheet. I still want to figure out a better way, by uploading the results automatically somewhere, and make them available to a hosted dashboard, possibly through a "revision completion" hook for the background script.

I generated a preliminary corpus of data on my own machine, with the results available here, using the following config: --no-stage.save-storage --monitor-interval=1 --stage.duration=10 --stage.loadgen.vault.interval=30 --stage.loadgen.amm.interval=30 --stage.loadgen.amm.wait=15 --stage.loadgen.vault.limit=2 --stage.loadgen.amm.limit=2

A longer version is currently being generated on the benchmark machine for the same revisions with the following config: --no-stage.save-storage --monitor-interval=1 --stage.duration=30 --stage.loadgen.vault.interval=60 --stage.loadgen.amm.interval=60 --stage.loadgen.amm.wait=30

I'd ultimately like to run the default 24h test in the background on a subset of past revisions to backfill the data, but I'm not sure which revisions would be the best candidates yet.

Stack on top of compatibility fixes (#37 / #44) and stats work (#36).

As always, best reviewed commit-by-commit.

@mhofman mhofman requested review from michaelfig and warner November 24, 2021 23:36
Copy link
Member

@michaelfig michaelfig left a comment

Choose a reason for hiding this comment

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

LGTM! I have just a few suggestions, but you're welcome to rebut them if you don't find them useful.

Dockerfile Outdated Show resolved Hide resolved
Dockerfile Outdated Show resolved Hide resolved
scripts/common-queue.sh Outdated Show resolved Hide resolved
scripts/README.md Outdated Show resolved Hide resolved
scripts/perf_to_stats_csv.jq Outdated Show resolved Hide resolved
Copy link
Member Author

@mhofman mhofman left a comment

Choose a reason for hiding this comment

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

Thanks for catching those. I agree, splitting long lines is more readable. I need a prettier for bash, I've become to lazy to format my lines manually.

Dockerfile Outdated Show resolved Hide resolved
scripts/perf_to_stats_csv.jq Outdated Show resolved Hide resolved
@mhofman mhofman force-pushed the mhofman/report-stage-results branch from 194b9cd to a2e2263 Compare January 8, 2022 03:11
@mhofman mhofman force-pushed the mhofman/runner-compat-fixes branch 2 times, most recently from b2b3005 to dbf3f59 Compare January 8, 2022 03:22
@mhofman mhofman changed the base branch from mhofman/runner-compat-fixes to mhofman/runner-testnet-compat January 8, 2022 03:23
@mhofman mhofman force-pushed the mhofman/report-stage-results branch from a2e2263 to 9c0e3bd Compare January 8, 2022 08:03
@mhofman mhofman force-pushed the mhofman/runner-testnet-compat branch from 4961771 to afdc022 Compare January 9, 2022 03:59
@mhofman mhofman force-pushed the mhofman/report-stage-results branch from 9c0e3bd to 2541e2f Compare January 9, 2022 03:59
Copy link
Member

@warner warner left a comment

Choose a reason for hiding this comment

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

nice

@mhofman mhofman force-pushed the mhofman/runner-testnet-compat branch from 58cd8be to ceb913f Compare January 17, 2022 22:31
Base automatically changed from mhofman/runner-testnet-compat to main January 17, 2022 22:39
@mhofman mhofman force-pushed the mhofman/report-stage-results branch from 2541e2f to 8717013 Compare January 17, 2022 22:41
@mhofman
Copy link
Member Author

mhofman commented Jan 17, 2022

@michaelfig since your initial review I addressed your feedback and added d30dea3 and 8717013.

Since those are minor changes, and @warner approved the PR following them, I will squash the feedback commits, and merge.

@mhofman mhofman force-pushed the mhofman/report-stage-results branch from 8717013 to bfe276b Compare January 17, 2022 22:48
@mhofman mhofman merged commit bb6a0d4 into main Jan 17, 2022
@mhofman mhofman deleted the mhofman/report-stage-results branch January 17, 2022 22:52
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