system-profile

Profile scripts, processes, GPUs, memory, and interconnects for performance bottlenecks.

Updated Jul 6, 2026
One-click install
npx skills add https://github.com/caw111/2026-SoftwareCup --skill system-profile-caw111
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: system-profile
Source: https://github.com/caw111/2026-SoftwareCup/tree/main/.agents/skills/system-profile
Command: npx skills add https://github.com/caw111/2026-SoftwareCup --skill system-profile-caw111

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill enables users to profile and analyze the performance of various targets like scripts, processes, GPUs, memory, and interconnects.

Core Features & Use Cases

  • Target Profiling: Analyze performance metrics for specified targets like scripts, processes, GPUs, memory, and interconnects.
  • Custom Profiling: Offers flexible profiling strategies, including code instrumentation when necessary.
  • Multi-dimensional Analysis: Focuses on CPU overhead, memory overhead, interconnect communication, and GPU compute.

Quick Start

Run the system-profile skill to profile the GPU performance of the target process 'train.py'.

Frequently Asked Questions about system-profile

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I profile a Python script to find CPU and memory bottlenecks?

Profiling a Python script for CPU and memory bottlenecks involves using cProfile, py-spy, and tracemalloc to measure execution time of specific code blocks and track memory allocation to pinpoint performance overhead.

What is the best way to measure GPU compute and interconnect communication overhead?

Measuring GPU compute and interconnect communication overhead is done using nvidia-smi and nvidia-smi topo -m. These tools analyze GPU performance metrics, measure component transfers, and map interconnect topology to identify bottlenecks.

Can I perform custom code instrumentation to time specific blocks during performance analysis?

Yes, you can perform custom code instrumentation to time specific blocks during performance analysis. This flexible profiling strategy allows you to precisely target and measure execution time within scripts or processes when standard profiling is insufficient.

When do I need to analyze memory allocation and track interconnect transfers in a process?

You need to analyze memory allocation and track interconnect transfers when experiencing unexplained slowdowns or high overhead in a process. Profiling these targets helps determine if communication delays or memory leaks are causing performance bottlenecks.

Does this performance analysis approach work with both scripts and running system processes?

Yes, this performance analysis approach works with both scripts and running system processes. It provides multi-dimensional profiling for CPU, memory, GPU, and interconnects to determine bottlenecks across various specified targets.