-
-
Notifications
You must be signed in to change notification settings - Fork 415
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
Enhance runtime stats tracking #4144
Merged
Merged
Commits on Jul 9, 2022
-
Enhance runtime memory allocation tracking
Runtime allocation tracking now also tracks the number of heap allocations, the number of freed heap allocations and the number of GC iterations via counters. Additionally, there is now a way to check if runtime memory allocation tracking is enabled or not via `ifdef` statements in Pony code. This allows for some useful validations for those folks concerned about heap allocations in the critical path (i.e. if they rely on the compiler's `HeapToStack` optimization pass to convert heap allocations to stack allocations and want to validate it is working correctly).
Configuration menu - View commit details
-
Copy full SHA for 9660846 - Browse repository at this point
Copy the full SHA 9660846View commit details
Commits on Jul 10, 2022
-
Enhance runtime stats tracking
This commit enhances the runtime stats tracking that was previously implemented under the `USE_MEMTRACK` and `USED_MEMTRACK_MESSAGES` defines. The new defines are called `USE_RUNTIMESTATS` and `USE_RUNTIMESTATS_MESSAGES`. Runtime stats tracking tracks the following actor info: * heap memory allocated * heap memory used * heap num allocated * heap realloc counter * heap alloc counter * heap free counter * heap gc counter * system message processing cpu usage * app message processing cpu usage * garbage collection cpu usage * messages sent counter * system messages processed counter * app messages processed counter Runtime tracking tracks the following scheduler info: * mutemap memory used * mutemap memory allocated * memory used for gc acquire/release actormaps and actors created * memory allocated for gc acquire/release actormaps and actors created * created actors counter * destroyed actors counter * actor system message processing cpu for all actor runs on the scheduler * actor app message processing cpu for all actor runs on the scheduler * actor garbage collection cpu for all actor runs on the scheduler * scheduler message processing cpu usage * scheduler misc cpu usage while waiting to do work * memory used by inflight messages * memory allocated by inflight messages * number of inflight messages This runtime stats tracking info has been exposed to pony programs as part of the `runtime_info` package and an example `runtime_info` program has been added to the `examples` directory.
Configuration menu - View commit details
-
Copy full SHA for 12dd8cd - Browse repository at this point
Copy the full SHA 12dd8cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e15b7c - Browse repository at this point
Copy the full SHA 9e15b7cView commit details
Commits on Jul 16, 2022
-
Configuration menu - View commit details
-
Copy full SHA for d299635 - Browse repository at this point
Copy the full SHA d299635View commit details -
Configuration menu - View commit details
-
Copy full SHA for 85eac54 - Browse repository at this point
Copy the full SHA 85eac54View commit details -
Configuration menu - View commit details
-
Copy full SHA for a088ef1 - Browse repository at this point
Copy the full SHA a088ef1View commit details -
Configuration menu - View commit details
-
Copy full SHA for ae34944 - Browse repository at this point
Copy the full SHA ae34944View commit details
Commits on Jul 19, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 7194a97 - Browse repository at this point
Copy the full SHA 7194a97View commit details -
Configuration menu - View commit details
-
Copy full SHA for 037784a - Browse repository at this point
Copy the full SHA 037784aView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.