|
楼主 |
发表于 2015-5-23 22:36:12
|
显示全部楼层
本帖最后由 hotsnow 于 2015-5-23 22:51 编辑
Proxmox ZFS RAID1 测试结果出来了,下面是最后5次 dd测试结果
- root@debian:~# dd if=/dev/zero of=test bs=64k count=16k conv=fsync
- 16384+0 records in
- 16384+0 records out
- 1073741824 bytes (1.1 GB) copied, 9.78458 s, 110 MB/s
- root@debian:~# dd if=/dev/zero of=test bs=64k count=16k conv=fsync
- 16384+0 records in
- 16384+0 records out
- 1073741824 bytes (1.1 GB) copied, 7.33572 s, 146 MB/s
- root@debian:~# dd if=/dev/zero of=test bs=64k count=16k conv=fsync
- 16384+0 records in
- 16384+0 records out
- 1073741824 bytes (1.1 GB) copied, 9.50926 s, 113 MB/s
- root@debian:~# dd if=/dev/zero of=test bs=64k count=16k conv=fsync
- 16384+0 records in
- 16384+0 records out
- 1073741824 bytes (1.1 GB) copied, 7.95339 s, 135 MB/s
- root@debian:~# dd if=/dev/zero of=test bs=64k count=16k conv=fsync
- 16384+0 records in
- 16384+0 records out
- 1073741824 bytes (1.1 GB) copied, 5.50562 s, 195 MB/s
复制代码
基本上性能不错,目前发现唯一不爽的是 ZFS 占用内存很高,当然这一点在技术文档里提到过,ZFS 极度依赖内存
32G内存,只开一个2G小鸡,不用 ZFS 内存占用是 8%,ZFS 内存占用是 15%...
- ZFS depends heavily on memory, so you need at least 4GB to start. In practice, use as much you can get for your hardware/budget. To prevent data corruption, the use of high quality ECC RAM is very recommended.
复制代码
这里也提到了,ZFS 的内存占用是有多少榨干多少,所以最好限制一下 ZFS 的内存使用,限制为 50%-70%,否则。。。
- It is good to use max 50-70 percent of the system memory for ZFS arc to prevent performance shortage of the host. ZFS will uses all available memory.
复制代码 |
|