Resource Allocation | Hokstad Consulting

Resource Allocation

Blog posts in the Resource Allocation category

LLM Capacity Planning: Forecasting Peak Token Demand

Size and test LLM infrastructure for peak token demand—measure input/output tokens, forecast peaks, set headroom and verify failover.

Read more

How Continuous Token Batching Schedules LLM Requests

Explains how continuous token batching schedules LLM requests: admission rules, KV‑cache and token budgets, prefill vs decode, and throughput‑latency trade-offs.

Read more

How to Scale AI Agent Workers with KEDA Queue Triggers

Use KEDA SQS triggers, separate IAM roles and worker limits to scale AI agent workers safely and avoid duplicate side effects.

Read more

TAPAS: Thermal- and Power-Aware Scheduling for LLMs

Details TAPAS's placement, routing and VM reconfiguration to reduce GPU thermal and power peaks, plus pilot and telemetry checks.

Read more

How Much GPU Memory Does LLM Fine-Tuning Need?

Plan VRAM for 7B–70B LLM fine-tuning: compare full fine-tuning, LoRA and QLoRA, test peak allocations and budget headroom.

Read more

LLM Retry Storms: How Backpressure Limits Queue Growth

Cap admitted work with bounded queues, honour Retry-After and use capped exponential backoff with jitter to prevent retry amplification and queue growth.

Read more

LLM Rate Limits: Retry-After Headers and Backoff

Treat Retry-After as a minimum and avoid retry storms: use capped exponential backoff with jitter, idempotency and bounded queues.

Read more

AI Coding ROI: Do Saved Hours Reduce Costs?

Saved coding hours only cut costs when spending falls; otherwise record redeployed capacity separately and avoid double-counting.

Read more

5 Token Budget Controls for AI Agent Loops

Five controls to keep AI agent runs within token and cost limits: per-call caps, run tracking, pre-call checks, iteration caps and stop rules.

Read more

AI Agent Backpressure: How Queue Limits Control Load

Use bounded queues, single deadlines and priority-based shedding to control AI agent load and protect latency under bursts.

Read more

AI Agent Stagnation: How Progress Checks Catch Stalls

Measure verified results, enforce windowed progress checks and block further calls when AI agents show no measurable improvement.

Read more

AI Agent Token Usage and Cost Tracking

Track every model call, normalise tokens, convert rates to GBP, attribute costs to tasks and monitor spend.

Read more