Skip to content

MILK & CACAO

CACAO - The Compute And Control for Adaptive Optics cacao-org/cacao
A high-performance, free, open-source, community-centric and R&D-oriented RTC suite for adaptive optics systems.

MILK - Modular Image Library Toolkit milk-org/milk
A core infrastructure for orchestrating real-time pipelines, between zero-copy shared memory tensors and a rich library of data processing units.

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


🏛 Core Concepts

  • Streams


    Zero-copy shared memory tensors (ImageStreamIO).

    ⮕ Streams

  • FPS


    Live parameter sync, state control, TUI dashboards.

    ⮕ FPS

  • Process Info


    Heartbeat telemetry, loop-rate profiling, health monitoring.

    ⮕ Process Info

  • Architecture


    System overview, layered design, data flow diagrams.

    ⮕ Architecture


🛠 Developer Guides


📊 Operations & Reference

  • Performance


    CPU pinning, RT scheduling, SIMD, BLAS, GPU.

    ⮕ Performance

  • PGO & LTO


    Profile-guided optimization + static link-time optimization for 15–40 % speedup.

    ⮕ PGO & LTO

  • Debugging


    GDB, tmux logs, procinfo diagnostics, common failures.

    ⮕ Debugging


🔗 More Resources