NCQ vs UFS/ZFS benchmark [Was: Re: FreeBSD 8.0 Performance (at Phoronix)]

Alexander Motin mav at
Thu Dec 3 09:22:41 UTC 2009

Ivan Voras wrote:
> Alexander Motin wrote:
>> Data doesn't fit into cache. Multiple parallel requests give some effect
>> even with legacy driver, but with NCQ enabled it gives much more, almost
>> doubling performance!
> You've seen queueing in gstat for ZFS+NCQ?

Yes. All the time 32+ requests per drive, when multiple processes
running. That's why enabling NCQ gave such effect.

Some speedup in legacy driver case on multiple processes could probably
be explained by elevator sorter work in disk driver. It was very audible
that drive work in cycles.

Alexander Motin

More information about the freebsd-current mailing list