Running ZFS With CAM-based ATA On FreeBSD 8.1

Written by Michael Larabel in Software on 26 July 2010 at 03:00 AM EDT. Page 6 of 6. 13 Comments.

With simple 64MB and 256MB reads of 16 counts, the CAM-based infrastructure slowed things down here too.

While there will be more interesting data to look at later this week when the FreeBSD file-systems are compared to EXT4 and Btrfs on Linux, the tests today show that the CAM-based ATA infrastructure being introduced in FreeBSD can show some modest gains (up to 30~40%+) under some I/O workloads namely with PostMark, and continuous writes even with multiple threads. In other tests the benefits were much more humble at around 8%. However, with our test system, the random writes and even the reads had regressed compared to their existing ATA infrastructure. It's a bit concerning to see the CAM-based ATA infrastructure being more than three times slower with some of these regressed tests. While CAM may have improved a lot between FreeBSD 8.0 when it was introduced and the newest FreeBSD 8.1 release, it looks like there still is some optimization work ahead and hopefully by the time FreeBSD 8.2 rolls around it will be in better condition to be enabled by default. Again, the CAM-based ATA infrastructure also adds other features to FreeBSD like NCQ support for SATA devices and better hot-plugging.

If you enjoyed this article consider joining Phoronix Premium to view this site ad-free, multi-page articles on a single page, and other benefits. PayPal or Stripe tips are also graciously accepted. Thanks for your support.


Related Articles
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.