大网数据广告活动
服务器运维问答

Does ZFS in mirror mode double vdev read performance?

· 52CE 我爱测

I'm not able to find a clear yes/no answer to this simple question: does using ZFS in mirror mode double the read performance of the underlying vdevs? This applies to either individual requests or net performance (i.e. a single r…

问题原文

原帖链接 · Mahmoud Al-Qudsi · CC BY-SA 3.0

I'm not able to find a clear yes/no answer to this simple question: does using ZFS in mirror mode double the read performance of the underlying vdevs?

This applies to either individual requests or net performance (i.e. a single read request is sharded across two disks or two simultaneous requests are each served simultaneously from different disks).

已采纳解答

原帖链接 · feitingen · CC BY-SA 4.0

If using Linux/FreeBSD (also FreeNAS) read speed is much better

Source: http://open-zfs.org/wiki/Features#Improve_N-way_mirror_read_performance It's hard to tell whether illumos/OSX have that patch which rebalances read I/O to the least busy device, or just improved round-robin.

In any case, mirror improves read I/O. As the other answer mentions, using SSDs usually doubles read I/O, while spinning drives increase performance by less than double depending on type of load.

My anecdotal testing on Linux shows a significant speed increase, especially when reading large files or more at the same time.

(Edited to reflect changes since the answer was posted)

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2015-03-13)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0 / CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。