受控實跑回放
兩個 CUDA 任務與一個 CPU 任務
在一台具 24 GiB GPU 的工作站限制 GPU 併發為一。第二個 GPU 任務等第一個釋放執行槽,CPU 任務與第一個 GPU 任務並行。
查看證據與方法技術專題
GPU Compute Orchestration
回放單工作站的真實 CUDA 與 CPU 任務,並用合成佇列比較 FIFO 與回填。
共享運算環境若同時有多個工作,必須兼顧資源需求、等待順序與資源利用。
一個排在前方的大工作可能阻擋後方能先執行的小工作。提高利用率的同時,還要理解不同工作的等待代價。
為各合成工作定義所需 CPU、VRAM 和執行步數。
依單機資源上限與選擇的 FIFO 或回填策略判斷是否可開始工作。
沿離散時間步釋放資源,更新工作狀態、時間軸和資源尖峰。
圖解說明 FIFO 與回填的合成比較。另一份實跑紀錄呈現單工作站的 CUDA/CPU 排程時間與 VRAM 取樣。
以隔離的實際排程器啟動兩個受控 CUDA 工作與一個 CPU 工作,保存相對時間、任務狀態和隔離佇列的 VRAM 取樣。另以固定的合成工作比較 FIFO 與回填。
在測試的單 GPU 執行槽設定下,兩件 CUDA 工作依序執行,CPU 工作與第一件 CUDA 工作並行。兩件 CUDA 工作的程序級取樣峰值均為 286 MiB。
核對實跑開始與結束時間、退出碼和 VRAM 取樣。FIFO 與回填比較沿用合成工作與模擬刻度。
單工作站受控實跑,包含兩項 CUDA 與一項 CPU 任務。
受控實跑回放
在一台具 24 GiB GPU 的工作站限制 GPU 併發為一。第二個 GPU 任務等第一個釋放執行槽,CPU 任務與第一個 GPU 任務並行。
查看證據與方法自主研發的單工作站受控實跑使用自行製作的輸入。示範可驗證准入與並行,正式負載吞吐、多 GPU 或多使用者治理需要另行驗證。
Technical Note
Independent Research and Development · Interactive Demonstration
Replay measured CUDA and CPU jobs on one workstation, and compare FIFO and backfill using a synthetic workload.
A shared compute environment must balance resource demands, queue order and resource usage when several jobs arrive together.
A large job at the head of the queue can block smaller jobs that fit the currently available resources. A policy should make the waiting trade-offs visible.
Set CPU, VRAM and run length for each synthetic job.
Admit jobs under a single-machine resource limit using the selected FIFO or backfill policy.
Release resources in discrete steps and update job status, the timeline and peak consumption.
The diagram explains the synthetic FIFO and backfill comparison. A separate single-workstation run provides real CUDA/CPU timestamps and VRAM samples.
An isolated run of the real scheduler launched two controlled CUDA jobs and one CPU-only job, recording relative timestamps, job state and test-queue VRAM samples. A separate synthetic workload compares FIFO and backfill.
Under a one-GPU-job limit, the two CUDA jobs ran in sequence while the CPU job overlapped the first. Sampled per-process VRAM peaked at 286 MiB for each CUDA job.
Verify recorded start and end times, exit codes and VRAM samples. FIFO and backfill comparisons use synthetic jobs and simulation ticks.
Controlled single-workstation run with two CUDA jobs and one CPU job.
Controlled recorded run
Run on a workstation with a 24 GiB GPU and a one-GPU-job limit. The second GPU job waits for the first to release its slot while the CPU job runs alongside the first.
Open evidence and methodIndependent single-workstation test with generated inputs. The run validates admission and overlap under the stated settings. Production throughput, multi-GPU scheduling and multi-user governance require separate validation.