Repository navigation
Conversation
Add a validation layer checker, enabled with ZEL_ENABLE_FABRIC_TOPOLOGY_CHECKER=1, that records what the fabric looks like and how a workload moves data across it, for debugging scale-up and scale-out setups. Each process writes a JSON Lines stream to ZEL_FABRIC_TOPOLOGY_OUTPUT: - Topology: once the loader completes zeInitDrivers (or zeDriverGet), the checker enumerates devices and sub-devices, PCI addresses, the P2P matrix and zeFabricVertex/EdgeExp data, with fabric_query diagnostics when no links are reported. - Traffic: copies and fills attributed to (executing device, source, destination), counted at append for immediate lists and on every execute for regular lists, aggregated per ZEL_FABRIC_TOPOLOGY_INTERVAL_MS. - IPC: export/import records keyed by handle hash and dma-buf inode so streams from several processes and hosts can be joined. scripts/fabric_topology_viewer.py merges streams from any number of processes and hosts into a text summary and a self-contained HTML report (topology, throughput and shared-memory views), with --watch for live updates. Add a null-driver test covering topology at init, copy/fill attribution, regular list replay and IPC join keys. Signed-off-by: Neil R. Spruit <neil.r.spruit@intel.com>
Level Zero loader ABI checklast-release ( master ( If an ABI change is intended, a reviewer with write access can accept it: leave an approval review on the PR head commit with the keyword |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Add a validation layer checker, enabled with
ZEL_ENABLE_FABRIC_TOPOLOGY_CHECKER=1, that records what the fabric looks like and how a workload moves data across it, for debugging scale-up and scale-out setups.
Each process writes a JSON Lines stream to ZEL_FABRIC_TOPOLOGY_OUTPUT:
scripts/fabric_topology_viewer.py merges streams from any number of processes and hosts into a text summary and a self-contained HTML report (topology, throughput and shared-memory views), with --watch for live updates.
Add a null-driver test covering topology at init, copy/fill attribution, regular list replay and IPC join keys.