为什么我的 RAID-6 优于 RAID-10?
Synology 上具有 8x4TB RAID-10 的 Docker 容器:
[root@centos Files]# bonnie++ -d /Files/tmp -r 16G -s 32G -n 1 -f -b -u root
Using uid:0, gid:0.
Writing intelligently...done
Rewriting...done
Reading intelligently...done
start 'em...done...done...done...done...done...
Create files in sequential order...done.
Stat files in sequential order...done.
Delete files in sequential order...done.
Create files in random order...done.
Stat files in random order...done.
Delete files in random order...done.
Version 1.97 ------Sequential Output------ --Sequential Input- --Random-
Concurrency 1 -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP
centos 32G 454106 19 177752 12 336051 11 174.9 9
Latency 637ms 437ms 271ms 1199ms
Version 1.97 ------Sequential Create------ --------Random Create--------
centos -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP
1 19 1 +++++ +++ 24 2 19 1 +++++ +++ 23 3
Latency 401ms 63us 177ms 177ms 19us 122ms
1.97,1.97,centos,1,1503010478,32G,,,,454106,19,177752,12,,,336051,11,174.9,9,1,,,,,19,1,+++++,+++,24,2,19,1,+++++,+++,23,3,,637ms,437ms,,271ms,1199ms,401ms,63us,177ms,177ms,19us,122ms
FreeNAS 6x4TB RAID-Z2、RAID-6 来自监狱:
root@testjail:/ # bonnie++ -d /Files/tmp -r 16G -s 32G -n 1 -f -b -u root
Using uid:0, gid:0.
Writing intelligently...done
Rewriting...done
Reading intelligently...done
start 'em...done...done...done...done...done...
Create files in sequential order...done.
Stat files in sequential order...done.
Delete files in sequential order...done.
Create files in random order...done.
Stat files in random order...done.
Delete files in random order...done.
Version 1.97 ------Sequential Output------ --Sequential Input- --Random-
Concurrency 1 -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP
testjail 32G 1158187 63 850172 70 3130981 97 7888 90
Latency 173ms 79669us 13285us 197ms
Version 1.97 ------Sequential Create------ --------Random Create--------
testjail -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP
1 +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++
Latency 19728us 41us 2506us 102us 20us 154us
1.97,1.97,testjail,1,1503021586,32G,,,,1158187,63,850172,70,,,3130981,97,7888,90,1,,,,,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++,,173ms,79669us,,13285us,197ms,19728us,41us,2506us,102us,20us,154us
root@testjail:/ #
规格:16GB DDR4(2133 与 2400)
- Synology RS3617RPxs - 英特尔至强 D-1521 - 8 x WDD 红色 4TB,Raid 10 - 四核 2.2(基本)/ 2.7(涡轮)GHz - 2 x 8 GB DDR4 ECC UDIMM
- FreeNAS VMware VM - 分配了 1 x 16GB RAM(共 2x16GB) - 仅 16GB NVMe 启动盘 - 6x4TB 桌面驱动器 - 很难开始工作。
由于有些驱动器确实很旧,我预期 RAIDZ2 在良好的情况下的写入速度约为 400MB/秒,而 RAID10 阵列的写入速度约为 750MB/秒。
但是 raidz2 似乎快得不可思议,而 raid10 似乎非常慢。
答案1
我建议使用桌面加速器对您向社区展示的数字充满信心。
本文应该可以帮助您调整 Synology 盒子