Logo van Cpu Performance

Cpu Performance

Organisatie
RedHatProductSecurity
cpu-performance

Configure CPU isolation, scheduling policies, storage provisioning, and image pull policies for latency-sensitive Kubernetes workloads. Use when writing, reviewing, or auditing pod specs for telco, far-edge, or real-time workloads that require deterministic CPU performance.

Overzicht

UitgeverRedHatProductSecurity
Repositoryprodsec-skills
Skillnaamcpu-performance
Sterren
56
Forks
9
Meegeleverde bestanden
Alleen instructies
LicentieApache-2.0
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Compleet zonder extra bestanden

    Alles wat het model nodig heeft, staat in de instructies — geen extra bestanden om te synchroniseren.

  • Open source

    Gepubliceerd door RedHatProductSecurity op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Cpu Performance in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/RedHatProductSecurity/prodsec-skills/tree/main/module/skills/cpu-performance
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/RedHatProductSecurity/prodsec-skills.git /tmp/prodsec-skills
mkdir -p .claude/skills
cp -r /tmp/prodsec-skills/module/skills/cpu-performance .claude/skills/cpu-performance
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Cpu Performance in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Cpu Performance automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Cpu Performance niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

CPU and Performance Configuration

Configure workloads for deterministic CPU performance, correct scheduling policies, and reliable storage and image management.

CPU Isolation

For workloads requiring exclusive CPU access (Guaranteed QoS with dedicated CPUs), all containers in the pod must meet these requirements:

Required for: Telco (mandatory), Far-Edge (mandatory), Extended (mandatory), Non-Telco (optional)

  • CPU requests and limits must be identical and specified in whole units (e.g., 2, not 2.5 or 2000m)
  • runtimeClassName must be specified
  • Annotations must disable CPU and IRQ load-balancing
yaml
apiVersion: apps/v1
kind: Deployment
metadata:
  name: app
  annotations:
    cpu-load-balancing.crio.io: "disable"
    irq-load-balancing.crio.io: "disable"
spec:
  template:
    spec:
      runtimeClassName: performance-rt
      containers:
        - name: app
          resources:
            requests:
              cpu: "2"
              memory: 256Mi
            limits:
              cpu: "2"
              memory: 256Mi

CPU Pool Scheduling Policies

Containers must use the correct scheduling policy for their CPU pool type.

Exclusive CPU Pool

Workloads in the exclusive CPU pool must use real-time (RT) scheduling policy with priority less than 10.

Required for: Far-Edge (mandatory), all others (optional)

Isolated CPU Pool

Workloads in the isolated CPU pool must also use RT scheduling policy.

Required for: Far-Edge (mandatory), all others (optional)

Shared CPU Pool

Workloads in the shared CPU pool must use non-RT scheduling policies (e.g., SCHED_OTHER) to share CPU time fairly with other applications and kernel threads.

Required for: Far-Edge (mandatory), all others (optional)

CPU Pool Consistency

If one container in a pod selects an exclusive CPU pool, all containers in that pod must select the same CPU pool type.

Required for: Far-Edge (mandatory), all others (optional)

Image Pull Policy

Containers must use IfNotPresent as the image pull policy. This ensures pods can restart even if the image registry is temporarily unavailable.

Required for: Telco (mandatory), Far-Edge (mandatory), Extended (mandatory), Non-Telco (optional)

yaml
containers:
  - name: app
    image: registry.example.com/app:v1.2.3
    imagePullPolicy: IfNotPresent

Pod Ownership

Workload pods must be deployed as part of a ReplicaSet (via Deployment) or StatefulSet. Do not use naked pods or DaemonSets — they lack proper lifecycle management for updates, scaling, and recovery.

Required for: Telco (mandatory), Far-Edge (mandatory), Extended (mandatory), Non-Telco (optional)

Storage Provisioning

Persistent Volume Reclaim Policy

Persistent volumes used by workloads must have a reclaim policy of Delete. This ensures storage is cleaned up when the workload is removed from the cluster.

Required for: Telco (mandatory), Far-Edge (mandatory), Extended (mandatory), Non-Telco (optional)

yaml
apiVersion: v1
kind: PersistentVolume
metadata:
  name: app-pv
spec:
  persistentVolumeReclaimPolicy: Delete

Storage Provisioner

Multi-node clusters must not use local storage provisioners (kubernetes.io/no-provisioner, topolvm.io). Local storage is only appropriate for single-node clusters, where only one local provisioner type should be installed (LVMS or no-provisioner).

Required for: all profiles (mandatory)

Implementation Checklist

  • CPU-isolated workloads have identical CPU requests and limits in whole units
  • CPU-isolated pods specify runtimeClassName and disable CPU/IRQ load-balancing
  • Exclusive/isolated CPU pool workloads use RT scheduling policy
  • Shared CPU pool workloads use non-RT scheduling policy (SCHED_OTHER)
  • All containers in a pod use the same CPU pool type
  • imagePullPolicy: IfNotPresent is set on all containers
  • Workloads are deployed via Deployments or StatefulSets (no naked pods)
  • Persistent volumes have persistentVolumeReclaimPolicy: Delete
  • Multi-node clusters do not use local storage provisioners

Certsuite Test Mapping

GuidanceCertsuite Test IDProfiles
CPU isolationlifecycle-cpu-isolationTelco/Far-Edge/Extended: mandatory, Non-Telco: optional
Exclusive CPU pool RT schedulingperformance-exclusive-cpu-pool-rt-scheduling-policyFar-Edge: mandatory, all others: optional
Isolated CPU pool RT schedulingperformance-isolated-cpu-pool-rt-scheduling-policyFar-Edge: mandatory, all others: optional
Shared CPU pool non-RT schedulingperformance-shared-cpu-pool-non-rt-scheduling-policyFar-Edge: mandatory, all others: optional
CPU pool consistencyperformance-exclusive-cpu-poolFar-Edge: mandatory, all others: optional
Image pull policylifecycle-image-pull-policyTelco/Far-Edge/Extended: mandatory, Non-Telco: optional
Pod ownershiplifecycle-pod-owner-typeTelco/Far-Edge/Extended: mandatory, Non-Telco: optional
PV reclaim policylifecycle-persistent-volume-reclaim-policyTelco/Far-Edge/Extended: mandatory, Non-Telco: optional
Storage provisionerlifecycle-storage-provisionerAll profiles: mandatory

References

Veelgestelde vragen

Wat doet de AI-skill Cpu Performance?

Configure CPU isolation, scheduling policies, storage provisioning, and image pull policies for latency-sensitive Kubernetes workloads. Use when writing, reviewing, or auditing pod specs for telco, far-edge, or real-time workloads that require deterministic CPU performance.

Waarom Cpu Performance gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Cpu Performance bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Cpu Performance in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/RedHatProductSecurity/prodsec-skills/tree/main/module/skills/cpu-performance. TypingMind leest het bestand SKILL.md en installeert het als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Cpu Performance gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Cpu Performance gebruiken?

Zoveel als je wilt. Je kunt Cpu Performance gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Cpu Performance gratis?

Ja. Deze skill is door RedHatProductSecurity op GitHub gepubliceerd onder de licentie Apache-2.0. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇