Cloud Optimization | Hokstad Consulting

Cloud Optimization

Blog posts in the Cloud Optimization category

KV-Cache Eviction Metrics Link Memory Use to Costs

Link KV-cache hits, evictions and recomputation to £ per successful agent task to reduce cost without harming latency or quality.

Read more

Scheduled vs. Trigger-Based Retraining: Cost Trade-Offs

Compare scheduled, trigger-based and hybrid retraining by total cost, response time and production quality — not just the training bill.

Read more

Structured vs Unstructured Pruning: Cost Trade-Offs

Compare structured and unstructured pruning by measured latency, memory and serving cost; deploy only when measured savings outweigh integration.

Read more

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

SageMaker Scale Down to Zero: Inference Cost Guide

Compare Serverless, Asynchronous and Inference Components to reduce SageMaker idle inference costs and test recovery and quotas in the UK.

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

Kubernetes Scale-to-Zero: Cold Starts vs Idle GPU Cost

Scale-to-zero saves GPU cost only when nodes terminate; weigh idle-cost savings against cold-start latency, model load time and node-retention.

Read more

Kubernetes LLM Networking: 7 RDMA Deployment Checks

Seven RDMA checks to verify device registration, pod access, GPU–NIC/NUMA locality, runtime access, connectivity and transfer performance.

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

How Complexity Routing Balances LLM Cost and Quality

Route LLM requests by complexity to cut cost per successful task—benchmark tiers, log full costs and tune thresholds.

Read more