Skip to content

Conversation

@spencer-gre
Copy link

Improves upon #101 adding ability to read in a PerfFlowAspect log with cpu and memory usage.

@spencer-gre spencer-gre marked this pull request as ready for review July 17, 2024 17:22
@ilumsden ilumsden added area-readers Issues and PRs involving Hatchet's data readers priority-normal Normal priority issues and PRs type-feature Requests for new features or PRs which implement new features labels Jul 17, 2024
The PerfFlowAspect Reader used to require that .pfw files
(PerfFlowAspect Traces) conform to JSON standard. However,
PerfFlowAspect does not generate files that are consistent with JSON.
This commit modifies a PerfFlowAspect trace file that does not conform
to JSON standard - by adding the closing brace and removing the trailing
comma.
@spencer-gre
Copy link
Author

I've added b07fbf3 to this pull request. This commit ensures that all PerfFlowAspect Trace files can be read without manual modification.

@spencer-gre spencer-gre marked this pull request as draft July 25, 2024 21:22
@tpatki
Copy link
Member

tpatki commented Jul 25, 2024

This PR will supersede #101 (we will close #101).
This is currently a draft PR and not ready for review yet.

@spencer-gre @alizalisan @loudsun1997:

  • Add the object format reader to this PR. Convert time to seconds for reporting as per Hatchet/Thicket's convention.
  • Rename the readers to be perfflowaspect_array_reader and perfflowaspect_object_reader
  • Add CPU and Memory Usage statistics to object format reader.
  • Remove any JSON example files from here
  • Add adiak metadata parsing and test cases (new pfw files) for just the object format reader in order to support Thicket
  • Add documentation on the two different formats for PFA and compact format usage.

@tpatki tpatki mentioned this pull request Jul 25, 2024
This commit follows remarks that llnl#144 will supersede llnl#101, and
specifically prepares for the integration of both an array reader for
PerfFlowAspect Array Trace Files (already present) and PerfFlowAspect
Object Trace Files (to be added). Additionally removes .json files in
the pytest data directory as no longer needed.
Missed two in the prior commit. Refer there for full explanation.
@spencer-gre
Copy link
Author

@tpatki

b1461b5 and faf48b2 address the following points of the roadmap:

  1. Remove any JSON example files from here
  2. Renamed perfflowaspect_reader to perfflowaspect_array_reader (and once @loudsun1997 adds object reader, that will be named accordingly).

loudsun1997 and others added 7 commits July 28, 2024 23:51
This branch cleans up conflicts/redundancies introduced after object
reader added. Specifically, JSON files were reintroduced, and references
to the original perfflowaspect_reader was being used in the graphframe
(and not perfflowaspect_array_reader)
@ilumsden ilumsden added the status-work-in-progress PR is currently being worked on label Sep 4, 2024
@spencer-gre
Copy link
Author

as of e99b000

-> adiak metadata parsing added
-> object format supported via singular perfflowaspect reader that automatically detects object vs array
-> cpu/mem usage

@tpatki @slabasan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-readers Issues and PRs involving Hatchet's data readers priority-normal Normal priority issues and PRs status-work-in-progress PR is currently being worked on type-feature Requests for new features or PRs which implement new features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants