Thicket thicket
ocaml
REPOS 9

Multicore covers libraries for effects, domains and concurrent programming.

W44.2026 · 26 Oct – 1 Novocaml-multicore/eio

Features

  • Eio_unix.Backend_config added; fixed buffers disabled by default (#960, merged 2026-11-01). Eio_main.run accepts a ~config argument to set io_uring parameters (queue depth, 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 with remaining workers.

Fixes

  • Fixed buffers off by default in eio_linux (#845, closed 2026-11-01). Old ZFS versions trigger a kernel bug with fixed buffers that requires a reboot; the default now avoids this.

Compatibility

  • Reduced RLIMIT_MEMLOCK pressure per domain. Disabling the 256 KiB fixed buffer cuts a worker domain's locked-memory cost roughly 30×, relevant in containers where the default 8 MiB limit is shared across all processes of a uid (#958, open).
  • io_uring ENOMEM in non-main domains remains unhandled (#958, open). Eio_main.run falls back to eio_posix for the main domain, but Domain_manager-started domains still raise failwith "io_uring is not available (ENOMEM)". The ?on_error proposal in #959 addresses this at the pool level.