Multicore covers libraries for effects, domains and concurrent programming.
W44.2026 · 26 Oct – 1 Nov/Multicore
eio
Features
Eio_unix.Backend_config added; fixed buffers disabled by default (#960, merged 2026-11-01). Eio_main.run accepts ~config to set io_uring queue depth and fixed-buffer size without dropping to Eio_linux.run.
Executor_pool.create gains ?on_error (#959, open). A worker domain that fails to create an io_uring ring no longer kills the pool; the handler receives the exception and the pool continues.
Fixes
Fixed buffers off by default in eio_linux (#845, closed 2026-11-01). Old ZFS versions trigger a kernel bug with fixed buffers requiring a reboot; the default now avoids this.
Compatibility
Disabling the 256 KiB fixed buffer cuts a worker domain's locked-memory cost roughly 30×, relevant in containers where the default 8 MiB RLIMIT_MEMLOCK is shared across all processes of a uid (#958, open).
Eio_main.run falls back to eio_posix for the main domain on io_uring ENOMEM, but Domain_manager-started domains still raise failwith "io_uring is not available (ENOMEM)" (#958, open). The ?on_error proposal in #959 addresses this at the pool level.