OpenZFS Merges Support For Using Multiple Task Queues To Increase Performance

Written by Michael Larabel in Linux Storage on 5 April 2024 at 10:49 AM EDT. 7 Comments
LINUX STORAGE
The OpenZFS file-system has merged support for using multiple task queues (TaskQs) to enhance performance for multi-core systems.

Up to now OpenZFS has used a single task queue (taskq) that could lead to throughput bottlenecks under heavy loads due to locking contention. By switching to using multiple task queues, they avoid the locking contention overhead. The number of task queues will scale dynamically based on the available CPUs in the system. This is currently wired up for OpenZFS on Linux systems and aims to have six threads per task queue.

The code is merged this week ahead of the next big update for this open-source ZFS file-system.

OpenZFS performance benefits


More details and the motivation for this multiple task queues work for OpenZFS can be found via this pull request that outlines the performance benefits and more. Kudos to iXsystems for working on this nice performance enhancement for OpenZFS.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week