TAI : threaded asynchronous I/O library for performance and portability
Access full-text files
Date
2017-12
Authors
Liao, Tongliang
Journal Title
Journal ISSN
Volume Title
Publisher
Abstract
In this paper, we investigate the behavior and performance of disk I/O using different types of libraries. We analyze the scenario where we can benefit from asynchronous I/O, and propose our cross-platform library design called TAI (Threaded Async I/O). TAI is designed to be a C++17 library with developer-friendly API. Our benchmark shows it can out-perform other libraries when asynchronous I/O is beneficial, and keep competitive speed in other cases. It also demonstrates TAI's ability to retrieve 20% - 60% speedup on poorly scaled serial code by a simple library replacement.