English

LCI: a Lightweight Communication Interface for Efficient Asynchronous Multithreaded Communication

Distributed, Parallel, and Cluster Computing 2025-08-26 v2

Abstract

The evolution of architectures, programming models, and algorithms is driving communication towards greater asynchrony and concurrency, usually in multithreaded environments. We present LCI, a communication library designed for efficient asynchronous multithreaded communication. LCI provides a concise interface that supports common point-to-point primitives and diverse completion mechanisms, along with flexible controls for incrementally fine-tuning communication resources and runtime behavior. It features a threading-efficient runtime built on atomic data structures, fine-grained non-blocking locks, and low-level network insights. We evaluate LCI on both Infiniband and Slingshot-11 clusters with microbenchmarks and two application-level benchmarks. Experimental results show that LCI significantly outperforms existing communication libraries in various multithreaded scenarios, achieving performance that exceeds the traditional multi-process execution mode and unlocking new possibilities for emerging programming models and applications. LCI is open-source and available at https://github.com/uiuc-hpc/lci.

Keywords

Cite

@article{arxiv.2505.01864,
  title  = {LCI: a Lightweight Communication Interface for Efficient Asynchronous Multithreaded Communication},
  author = {Jiakun Yan and Marc Snir},
  journal= {arXiv preprint arXiv:2505.01864},
  year   = {2025}
}

Comments

13 pages, 8 figures. This is the accepted version of the paper published at SC25

R2 v1 2026-06-28T23:20:12.803Z