Skip to main content
QUICK REVIEW

[Paper Review] Towards Accommodating Real-time Jobs on HPC Platforms

Sam Nickolay, Eun-Sung Jung|arXiv (Cornell University)|Mar 24, 2021
Distributed and Parallel Computing SystemsComputer Science49 references6 citations
TL;DR

This paper proposes a novel heuristic scheduling algorithm, Weighted Cost Job Scheduling (WCJS), combined with just-in-time checkpointing to enable real-time job execution on HPC platforms without severely degrading batch job performance. Using trace data from the Mira supercomputer, the approach reduces real-time job slowdown by 35% while increasing batch job slowdown by only 10% at 10% real-time job workloads, demonstrating strong practical viability for production HPC systems.

ABSTRACT

Increasing data volumes in scientific experiments necessitate the use of high-performance computing (HPC) resources for data analysis. In many scientific fields, the data generated from scientific instruments and supercomputer simulations must be analyzed rapidly. In fact, the requirement for quasi-instant feedback is growing. Scientists want to use results from one experiment to guide the selection of the next or even to improve the course of a single experiment. Current HPC systems are typically batch-scheduled under policies in which an arriving job is run immediately only if enough resources are available; otherwise, it is queued. It is hard for these systems to support real-time jobs. Real-time jobs, in order to meet their requirements, should sometimes have to preempt batch jobs and/or be scheduled ahead of batch jobs that were submitted earlier. Accommodating real-time jobs may negatively impact system utilization also, especially when preemption/restart of batch jobs is involved. We first explore several existing scheduling strategies to make real-time jobs more likely to be scheduled in due time. We then rigorously formulate the problem as a mixed-integer linear programming for offline scheduling and develop novel scheduling heuristics for online scheduling. We perform simulation studies using trace logs of Mira, the IBM BG/Q system at Argonne National Laboratory, to quantify the impact of real-time jobs on batch job performance for various percentages of real-time jobs in the workload. We present new insights gained from grouping jobs into different categories based on runtime and the number of nodes used and studying the performance of each category. Our results show that with 10% real-time job percentages, just-in-time checkpointing combined with our heuristic can improve the slowdowns of real-time jobs by 35% while limiting the increase of the slowdowns of batch jobs to 10%.

Motivation & Objective

  • To address the challenge of integrating real-time jobs into traditional batch-scheduled HPC systems, which are not natively designed for low-latency, on-demand execution.
  • To evaluate the performance impact of real-time jobs on batch job throughput and system utilization across diverse job categories.
  • To develop a practical, scalable scheduling heuristic that enables real-time job preemption and prioritization while minimizing disruption to batch jobs.
  • To compare the proposed heuristic against an optimal mixed-integer linear programming (MILP) formulation for offline scheduling, validating its effectiveness on real-world traces.

Proposed method

  • Formulates the real-time job scheduling problem as a mixed-integer linear program (MILP) for offline, optimal scheduling, enabling benchmarking of heuristic performance.
  • Designs a novel online scheduling heuristic, Weighted Cost Job Scheduling (WCJS), which prioritizes real-time jobs based on weighted cost functions considering urgency, resource needs, and preemption impact.
  • Introduces just-in-time (JIT) checkpointing to reduce the overhead of preemption by minimizing state loss and restart time for preempted batch jobs.
  • Employs job categorization based on runtime and node count (e.g., narrow-short, wide-long) to analyze performance variations across workload types.
  • Uses trace logs from the Mira IBM BG/Q system at Argonne National Laboratory to simulate real-world HPC workloads with varying real-time job percentages (up to 10%).
  • Compares the WCJS heuristic against the optimal MILP formulation on small-scale problem instances to validate its near-optimality and identify areas for improvement.

Experimental results

Research questions

  • RQ1How do existing scheduling strategies perform when adapted to support real-time jobs in HPC environments with batch workloads?
  • RQ2What is the performance trade-off between real-time job responsiveness and batch job slowdown when real-time jobs are allowed to preempt or be prioritized?
  • RQ3To what extent can just-in-time checkpointing reduce the overhead of preemption and improve real-time job scheduling efficiency?
  • RQ4How does the performance of the proposed WCJS heuristic compare to an optimal MILP-based offline formulation in terms of job slowdown and resource utilization?
  • RQ5Which job categories (based on runtime and node count) are most sensitive to real-time job preemption, and how can scheduling policies be tailored to them?

Key findings

  • With 10% real-time jobs in the workload, the proposed WCJS heuristic combined with just-in-time checkpointing reduces real-time job slowdown from 1.94 to 1.25, a 35% improvement.
  • The same configuration increases batch job slowdown by only 10%, from 2.26 to 2.51, indicating minimal negative impact on traditional workloads.
  • The widest performance improvement for real-time jobs occurs in the wide-long category, where slowdown drops from 3.0 to 1.2 (a 60% reduction), and in the wide-narrow category, from 24.40 to 5.06 (an 80% reduction).
  • The narrow-short job category shows the smallest improvement (20%) due to already low baseline slowdown, but still maintains a reasonable slowdown of 1.94 under load.
  • The WCJS heuristic performs 38% worse than the optimal MILP formulation in real-time job slowdown and 69% worse in batch job slowdown on small-scale test cases, indicating room for further heuristic refinement.
  • The study identifies un-checkpointable batch jobs as a limiting factor, as they cannot be preempted safely, leading to higher real-time job slowdowns depending on their proportion in the workload.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.