Multicore covers libraries for effects, domains and concurrent programming.
Multicore repository summaries
1 active · 8 unchanged
ocaml-multicore/eio
PermalinkFeatures
Eio_unix.Backend_configadded; fixed buffers disabled by default (#960, merged 2026-11-01).Eio_main.runaccepts a~configargument to set io_uring parameters (queue depth, fixed-buffer size) without dropping toEio_linux.run.Executor_pool.creategains?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.runfalls back toeio_posixfor the main domain, butDomain_manager-started domains still raisefailwith "io_uring is not available (ENOMEM)". The?on_errorproposal in #959 addresses this at the pool level.