Skip to content

Comments

poh, pack: adjust cost limits dynamically#4702

Merged
jherrera-jump merged 1 commit intomainfrom
jherrera/fix-max-cus
Apr 14, 2025
Merged

poh, pack: adjust cost limits dynamically#4702
jherrera-jump merged 1 commit intomainfrom
jherrera/fix-max-cus

Conversation

@jherrera-jump
Copy link
Contributor

@jherrera-jump jherrera-jump commented Apr 2, 2025

Addresses #4691

agave diff

@jherrera-jump jherrera-jump force-pushed the jherrera/fix-max-cus branch 7 times, most recently from e684b2b to 11c357f Compare April 2, 2025 23:44
<summary>The number of compute units rebated for each block pack produced. Compute units are rebated when a transaction fails prior to execution or requests more compute units than it uses.</summary>
</histogram>
<histogram name="CusNet" min="1000000" max="48000000">
<histogram name="CusNet" min="1000000" max="60000000">
Copy link
Contributor

Choose a reason for hiding this comment

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

Hmm. This histogram doesn't really make much sense, if CUs changes dynamically. Maybe we should make this CUSPct which is % filled.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

let me know if you think we should also remove the old metric, I've kept it in for now

@jherrera-jump jherrera-jump force-pushed the jherrera/fix-max-cus branch 4 times, most recently from b35643c to e6c10fe Compare April 10, 2025 18:39
@jherrera-jump jherrera-jump marked this pull request as ready for review April 10, 2025 18:41
@jherrera-jump jherrera-jump force-pushed the jherrera/fix-max-cus branch 7 times, most recently from cc86bda to c503798 Compare April 11, 2025 17:30
ptaffet-jump
ptaffet-jump previously approved these changes Apr 13, 2025
Copy link
Contributor

@ptaffet-jump ptaffet-jump left a comment

Choose a reason for hiding this comment

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

A few nits, but looks good otherwise. Thanks!

@jherrera-jump jherrera-jump force-pushed the jherrera/fix-max-cus branch 2 times, most recently from 531eaba to 1cbe1f3 Compare April 14, 2025 14:35
@jherrera-jump jherrera-jump added this pull request to the merge queue Apr 14, 2025
Merged via the queue into main with commit 20dec15 Apr 14, 2025
10 checks passed
@jherrera-jump jherrera-jump deleted the jherrera/fix-max-cus branch April 14, 2025 19:10
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