DragonFlyBSD To See Better Low-Level Lock Performance When Heavily Contested

Written by Michael Larabel in BSD on 26 June 2021 at 07:17 AM EDT. 3 Comments
Software running on DragonFlyBSD and making use of pthreads is set to see better performance around low-level locks when heavily contested.

This commit has the details on the change by DragonFlyBSD founder Matthew Dillon. But long story short pthreads-using software should benefit from this low-level lock performance improvement.

As his test case, Dillon found that when running QEMU with the NVMM hypervisor that this change dropped the DragonFlyBSD build-all time from 9:10 to 8:20. This is just one example and an important one given the widespread use of QEMU. QEMU with NVMM turns out to have significant contention issues with high CPU core counts while software not seeing heavy lock contention is unlikely to see any real difference from these optimizations.
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