Add ARCHITECTURE and DRIVER_VERSION to MV_WORKER_NODE_GPU_SUMMARY#132
Open
EdwardKaravakis wants to merge 1 commit into
Open
Add ARCHITECTURE and DRIVER_VERSION to MV_WORKER_NODE_GPU_SUMMARY#132EdwardKaravakis wants to merge 1 commit into
EdwardKaravakis wants to merge 1 commit into
Conversation
Add two columns missing from the GPU summary materialized view that are available in the source worker_node_gpus table but were not projected: - ARCHITECTURE (e.g. Volta, Ampere, Hopper, Ada Lovelace) - DRIVER_VERSION (NVIDIA driver version string) These are needed to support VRAM, GPU architecture, and CUDA version filtering in the PanDA brokerage (ATLASPANDA-1684). Also adds the MV definition to the base postgres schema file (pg_PANDA_SCHEDULER_JOBS.sql) so fresh installations include it.
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.
Summary
ARCHITECTUREandDRIVER_VERSIONcolumns toMV_WORKER_NODE_GPU_SUMMARY(both Oracle and PostgreSQL) — these fields exist in the sourceworker_node_gpustable but were not projected into the MVpg_PANDA_SCHEDULER_JOBS.sql(base schema) so fresh PostgreSQL installations include it0.1.4.patch.sqlto upgrade existing deploymentsMotivation
Required by ATLASPANDA-1684 (GPU brokerage enhancements). The brokerage in panda-server will use these fields to filter queues by GPU microarchitecture generation (Volta, Ampere, Hopper...) and NVIDIA driver version / CUDA compatibility. The companion panda-server PR uses CRIC as a GPU capability gate and the WN GPU monitoring MV as the source for all attribute checks.
Oracle upgrade script
See the DB-upgrade-scripts wiki page (WiP entry for DB version 0.1.4).
Test plan
0.1.4.patch.sqlto DOMA PostgreSQL and verifymv_worker_node_gpu_summaryhas the new columns populatedGRANT SELECTtoATLAS_PANDA_READERis in place