惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

量子位
博客园_首页
罗磊的独立博客
云风的 BLOG
云风的 BLOG
J
Java Code Geeks
Last Week in AI
Last Week in AI
D
DataBreaches.Net
Jina AI
Jina AI
博客园 - Franky
大猫的无限游戏
大猫的无限游戏
Apple Machine Learning Research
Apple Machine Learning Research
V
V2EX
D
Docker
MongoDB | Blog
MongoDB | Blog
B
Blog RSS Feed
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
宝玉的分享
宝玉的分享
Engineering at Meta
Engineering at Meta
The Cloudflare Blog
博客园 - 三生石上(FineUI控件)
有赞技术团队
有赞技术团队
人人都是产品经理
人人都是产品经理
H
Help Net Security
T
The Blog of Author Tim Ferriss

Stonecharioteer on Tech

I Traced My Traffic Through a Home Tailscale Exit Node What Was I Reading Last? In Three Not-So-Easy Pieces Dogfooding Is Hard Code blocks in your books, finally GoForGo v0.9.0 Merrilin - We built an app to read books I use a Macbook now Data Structures & Algorithms - Preparing for Interviews Using a local DNS namespace for local service discovery Direction KOllector - Publishing KOReader Highlights gbt: branches touched in the last 24 hours A Soiree into Symbols in Ruby Some Smalltalk about Ruby Loops Ruby Blocks Returning from Ruby Blocks, Procs and Lambdas My Linux Laptop Finally Works: How Claude Helped Me Fix Years of Annoyances TIL: Watchexec - Modern File Watching for Development Workflows A Less Busy Mind GoForGo - Learn Go through live examples Migrating My Old Blog to Hugo with Claude The Qtile Window Manager: A Python-Powered Tiling Experience Read the RFCs that Built the Internet Py-x-Protobuf - Or How I Learned to Stop Worrying and Love Protocol Buffers Python Reverse a List New Beginnings Leaving ChainSafe Systems Screen Lock for Cinnamon Desktop using Zenity and Terminal Commands Crews Not Teams A System for Getting Better at LeetCode
TIL: Slurm Workload Manager for HPC Clusters
2021-04-17 · via Stonecharioteer on Tech

Slurm Workload Manager - Quick Start User Guide

A highly scalable cluster management and job scheduling system for Linux clusters:

What is Slurm:

  • Job Scheduler: Manages and schedules computational jobs across cluster nodes
  • Resource Manager: Allocates compute resources (CPUs, memory, GPUs) efficiently
  • Workload Manager: Handles queues, priorities, and job dependencies
  • Open Source: Free and widely adopted in HPC environments

Key Features:

Job Management:

  • Batch Jobs: Submit scripts to run when resources are available
  • Interactive Jobs: Allocate resources for interactive computing sessions
  • Array Jobs: Efficiently handle large numbers of similar tasks
  • Job Dependencies: Chain jobs together with dependency relationships

Resource Allocation:

  • CPU Management: Allocate specific number of cores per job
  • Memory Control: Manage memory allocation and limits
  • GPU Support: Schedule and manage GPU resources
  • Network Resources: Handle interconnect and bandwidth allocation

Scheduling Policies:

  • Fair Share: Ensure equitable resource distribution among users
  • Priority Queues: Different priority levels for different job types
  • Backfill: Optimize resource utilization by filling gaps in schedule
  • Preemption: Higher priority jobs can preempt lower priority ones

Common Use Cases:

High-Performance Computing:

  • Scientific Computing: Physics simulations, climate modeling
  • Machine Learning: Training large models on GPU clusters
  • Bioinformatics: Genomic analysis and computational biology
  • Engineering: CFD, FEA, and other computational engineering tasks

Academic Research:

  • University Clusters: Shared computing resources for researchers
  • Laboratory Computing: Dedicated resources for specific research groups
  • Student Projects: Managed access to computing resources

Basic Commands:

1
2
3
4
5
sbatch job_script.sh    # Submit batch job
squeue                  # View job queue
scancel job_id          # Cancel job
sinfo                   # View cluster information
salloc                  # Allocate resources interactively

Benefits:

  • Scalability: Manages clusters from small to massive scale
  • Efficiency: Maximizes resource utilization
  • Fairness: Ensures equitable access to resources
  • Flexibility: Supports diverse workload types and requirements

Slurm is essential infrastructure for any organization running computational workloads on Linux clusters, providing the foundation for efficient resource management in HPC environments.