milkΒΆ
High-performance real-time image processing framework for Adaptive Optics and scientific computing. Microsecond-latency pipelines through zero-copy shared memory.
milk orchestrates many small compute units that communicate through zero-copy shared memory tensors, enabling microsecond-latency data pipelines. The three pillars β ImageStreamIO, FPS, and processinfo β live entirely in /dev/shm/.
Getting StartedΒΆ
-
Install
Clone, build, and configure the milk framework.
-
Build Tiers
Engine β Core β Full: compile only what you need.
-
CLI Overview
Interactive shell, standalone executables, and scripting basics.
-
FAQ
Common issues with builds, SHM, FPS, and CLI.
Core ConceptsΒΆ
-
Streams
Zero-copy shared memory tensors (
ImageStreamIO). -
FPS
Live parameter sync, state control, TUI dashboards.
-
Process Info
Heartbeat telemetry, loop-rate profiling, health monitoring.
-
Architecture
System overview, layered design, data flow diagrams.
Developer GuidesΒΆ
-
Tutorial
Write your first compute module step by step.
-
Coding Standards
C style, line length, includes, Kernel-Doc.
-
Adding Plugins
Build modules that compile alongside the core.
-
Template Code
Breakdown of
milk_module_example.
Operations & ReferenceΒΆ
-
Performance
CPU pinning, RT scheduling, SIMD, BLAS, GPU.
-
PGO & LTO
Profile-guided optimization + static link-time optimization for 15β40 % speedup.
-
Debugging
GDB, tmux logs, procinfo diagnostics, common failures.
-
API Reference
Auto-generated Doxygen C API docs with call graphs.
More ResourcesΒΆ
- What's New β recent features and upgrades
- CLI Syntax Reference Β· Readline Keys
- Scripts Reference Β· Python API Β· Valkey Integration
- Programmer's Guide Β· Dependency Graph
- Working with Git Β· Code Assist Tools
- All Markdown Files Β· Tag Index