Chia 机械P图和固态P图的性能测试

r一:性能测试平台

服务器:联想SR630
CPU:5115 *2
内存:96G
硬盘机械:1.2T SAS 10K 128M *8
硬盘固态:2T Intel p4510 *2
阵列卡:930-16i 4GB
系统:ubuntu 18.04桌面版
chia版本:1.1.4

二:安装chia

在github下载chia的deb包,随后
dpkg -i chia-blockchain_1.1.4_amd64.deb 安装即可。
为了方便起见,创建一个链接。
ln -s /usr/lib/chia-blockchain/resources/app.asar.unpacked/daemon/chia /usr/sbin/chia

三:单盘NVME测试

因为时间太长了,所以就到第二阶段的table2吧。

使用2线程4000M  128个桶 内存P一个k32

chia plots create -k 32 -b 4000 -u 128 -r 2 -t /nvme1 -d /plots

root@chia:/# chia plots create -k 32 -b 4000 -u 128 -r 2 -t /nvme1 -d /plots
2021-05-05T23:15:42.066  chia.plotting.create_plots       : INFO     Creating 1 plots of size 32, pool public key:  b7a57bf71f22a6af879b02ab2daaef93188fa2f2b788611fdfb1b9b82afb4bd73e96b6e2498687e285231ab4f5661dde farmer public key: abb953537974d1527a3f7ca3c7b1414d5961e02e7be6c27d2e5466589423082dfd3579650a546bfadb87256ef7e17e51
2021-05-05T23:15:42.075  chia.plotting.create_plots       : INFO     Memo: b7a57bf71f22a6af879b02ab2daaef93188fa2f2b788611fdfb1b9b82afb4bd73e96b6e2498687e285231ab4f5661ddeabb953537974d1527a3f7ca3c7b1414d5961e02e7be6c27d2e5466589423082dfd3579650a546bfadb87256ef7e17e5155431c308469407d16118974c8d31959ee17d9d3a625522fd877e809ad8ab3a9
2021-05-05T23:15:42.076  chia.plotting.create_plots       : INFO     Adding directory /plots to harvester for farming
2021-05-05T23:15:42.136  chia.plotting.create_plots       : INFO     Starting plot 1/1

Starting plotting progress into temporary dirs: /nvme1 and /nvme1
ID: 74d2d0989b5362cd65b56f9a8dfbe5d1974fff48d797d15d18fd1b0d5660013f
Plot size is: 32
Buffer size is: 4000MiB
Using 128 buckets
Using 2 threads of stripe size 65536

Starting phase 1/4: Forward Propagation into tmp files... Wed May  5 23:15:42 2021
Computing table 1
F1 complete, time: 242.202 seconds. CPU (134.71%) Wed May 5 23:19:44 2021
Computing table 2
Bucket 0 uniform sort. Ram: 3.847GiB, u_sort min: 0.563GiB, qs min: 0.281GiB.
Bucket 1 uniform sort. Ram: 3.847GiB, u_sort min: 1.125GiB, qs min: 0.281GiB.
Bucket 2 uniform sort. Ram: 3.847GiB, u_sort min: 1.125GiB, qs min: 0.281GiB.
Bucket 3 uniform sort. Ram: 3.847GiB, u_sort min: 1.125GiB, qs min: 0.281GiB.
Bucket 125 uniform sort. Ram: 3.847GiB, u_sort min: 0.563GiB, qs min: 0.281GiB.
Bucket 126 uniform sort. Ram: 3.847GiB, u_sort min: 1.125GiB, qs min: 0.281GiB.
Bucket 127 uniform sort. Ram: 3.847GiB, u_sort min: 0.563GiB, qs min: 0.281GiB.
Total matches: 4294903223
Forward propagation table time: 1895.983 seconds. CPU (147.770%) Wed May 5 23:51:20 2021
Computing table 3

 

使用4线程4000M内存P一个k32

chia plots create -k 32 -b 4000 -u 128 -r 4 -t /nvme1 -d /plots

root@chia:/home/foxi# chia plots create -k 32 -b 4000 -u 128 -r 4 -t /nvme1 -d /plots
2021-05-05T23:18:54.683  chia.plotting.create_plots       : INFO     Creating 1 plots of size 32, pool public key:  b7a57bf71f22a6af879b02ab2daaef93188fa2f2b788611fdfb1b9b82afb4bd73e96b6e2498687e285231ab4f5661dde farmer public key: abb953537974d1527a3f7ca3c7b1414d5961e02e7be6c27d2e5466589423082dfd3579650a546bfadb87256ef7e17e51
2021-05-05T23:18:54.692  chia.plotting.create_plots       : INFO     Memo: b7a57bf71f22a6af879b02ab2daaef93188fa2f2b788611fdfb1b9b82afb4bd73e96b6e2498687e285231ab4f5661ddeabb953537974d1527a3f7ca3c7b1414d5961e02e7be6c27d2e5466589423082dfd3579650a546bfadb87256ef7e17e5135b47bfa45dfc2bd2653c0d939ec6031502cc0554ef3013104a8561f897b7ee9
2021-05-05T23:18:54.692  chia.plotting.create_plots       : INFO     Starting plot 1/1

Starting plotting progress into temporary dirs: /nvme1 and /nvme1
ID: b8bdc6119dfeb0dcb7f76eabb9f5032e3fbb3a6536b320dc274d45ecac73ebe5
Plot size is: 32
Buffer size is: 4000MiB
Using 128 buckets
Using 4 threads of stripe size 65536

Starting phase 1/4: Forward Propagation into tmp files... Wed May  5 23:18:54 2021
Computing table 1
F1 complete, time: 312.85 seconds. CPU (141.23%) Wed May 5 23:24:07 2021
Computing table 2
Bucket 0 uniform sort. Ram: 3.840GiB, u_sort min: 1.125GiB, qs min: 0.281GiB.
Bucket 1 uniform sort. Ram: 3.840GiB, u_sort min: 0.563GiB, qs min: 0.281GiB.
Bucket 2 uniform sort. Ram: 3.840GiB, u_sort min: 0.563GiB, qs min: 0.281GiB.
Bucket 3 uniform sort. Ram: 3.840GiB, u_sort min: 1.125GiB, qs min: 0.281GiB.
Bucket 3 uniform sort. Ram: 3.847GiB, u_sort min: 1.125GiB, qs min: 0.281GiB.
Bucket 124 uniform sort. Ram: 3.840GiB, u_sort min: 0.563GiB, qs min: 0.281GiB.
Bucket 125 uniform sort. Ram: 3.840GiB, u_sort min: 0.563GiB, qs min: 0.281GiB.
Bucket 126 uniform sort. Ram: 3.840GiB, u_sort min: 0.563GiB, qs min: 0.281GiB.
Bucket 127 uniform sort. Ram: 3.840GiB, u_sort min: 0.563GiB, qs min: 0.281GiB.
Total matches: 4294778970
Forward propagation table time: 1431.023 seconds. CPU (198.620%) Wed May 5 23:47:58 2021
Computing table 3

 

使用4线程8000M  64个桶 内存P一个k32

chia plots create -k 32 -b 8000 -u 64 -r 4 -t /nvme1 -d /plots

root@chia:/home/foxi# chia plots create -k 32 -b 8000 -u 64 -r 4 -t /nvme1 -d /plots
2021-05-05T23:22:27.806  chia.plotting.create_plots       : INFO     Creating 1 plots of size 32, pool public key:  b7a57bf71f22a6af879b02ab2daaef93188fa2f2b788611fdfb1b9b82afb4bd73e96b6e2498687e285231ab4f5661dde farmer public key: abb953537974d1527a3f7ca3c7b1414d5961e02e7be6c27d2e5466589423082dfd3579650a546bfadb87256ef7e17e51
2021-05-05T23:22:27.815  chia.plotting.create_plots       : INFO     Memo: b7a57bf71f22a6af879b02ab2daaef93188fa2f2b788611fdfb1b9b82afb4bd73e96b6e2498687e285231ab4f5661ddeabb953537974d1527a3f7ca3c7b1414d5961e02e7be6c27d2e5466589423082dfd3579650a546bfadb87256ef7e17e51352b136e645a950f1bad34d8ca88636a5b23b53dd02e5e67e8585ea61eb461c3
2021-05-05T23:22:27.815  chia.plotting.create_plots       : INFO     Starting plot 1/1

Starting plotting progress into temporary dirs: /nvme1 and /nvme1
ID: 07dff13c13294b0d569bf9c6a268fd4315b20f7f9fa5b79413629ea76b4a08f5
Plot size is: 32
Buffer size is: 8000MiB
Using 64 buckets
Using 4 threads of stripe size 65536

Starting phase 1/4: Forward Propagation into tmp files... Wed May  5 23:22:27 2021
Computing table 1
F1 complete, time: 247.601 seconds. CPU (139.01%) Wed May 5 23:26:35 2021
Computing table 2
Bucket 0 uniform sort. Ram: 7.746GiB, u_sort min: 2.250GiB, qs min: 0.563GiB.
Bucket 1 uniform sort. Ram: 7.746GiB, u_sort min: 1.125GiB, qs min: 0.562GiB.
Bucket 2 uniform sort. Ram: 7.746GiB, u_sort min: 2.250GiB, qs min: 0.563GiB.
Bucket 3 uniform sort. Ram: 7.746GiB, u_sort min: 2.250GiB, qs min: 0.563GiB.
Bucket 61 uniform sort. Ram: 7.746GiB, u_sort min: 2.250GiB, qs min: 0.563GiB.
Bucket 62 uniform sort. Ram: 7.746GiB, u_sort min: 2.250GiB, qs min: 0.563GiB.
Bucket 63 uniform sort. Ram: 7.746GiB, u_sort min: 2.250GiB, qs min: 0.563GiB.
Total matches: 4295057343
Forward propagation table time: 1553.086 seconds. CPU (191.600%) Wed May 5 23:52:28 2021
Computing table 3

并发测试

四:单盘raid0测试

使用4线程4000M 128个桶 内存P一个k32

root@chia:/# chia plots create -k 32 -b 4000 -u 128 -r 4 -t /sas1 -d /plots
2021-05-05T23:53:59.022  chia.plotting.create_plots       : INFO     Creating 1 plots of size 32, pool public key:  b7a57bf71f22a6af879b02ab2daaef93188fa2f2b788611fdfb1b9b82afb4bd73e96b6e2498687e285231ab4f5661dde farmer public key: abb953537974d1527a3f7ca3c7b1414d5961e02e7be6c27d2e5466589423082dfd3579650a546bfadb87256ef7e17e51
2021-05-05T23:53:59.031  chia.plotting.create_plots       : INFO     Memo: b7a57bf71f22a6af879b02ab2daaef93188fa2f2b788611fdfb1b9b82afb4bd73e96b6e2498687e285231ab4f5661ddeabb953537974d1527a3f7ca3c7b1414d5961e02e7be6c27d2e5466589423082dfd3579650a546bfadb87256ef7e17e51582bf38f824dadc6f38bd70aed2f5dd9e05351870ba198c680d6e85aefd0310c
2021-05-05T23:53:59.031  chia.plotting.create_plots       : INFO     Starting plot 1/1

Starting plotting progress into temporary dirs: /sas1 and /sas1
ID: fe3b295fb30cfdb2217f769a24086e2e1609b1d14d23e7e210514a3953c798bb
Plot size is: 32
Buffer size is: 4000MiB
Using 128 buckets
Using 4 threads of stripe size 65536

Starting phase 1/4: Forward Propagation into tmp files... Wed May  5 23:53:59 2021
Computing table 1
F1 complete, time: 294.941 seconds. CPU (134.51%) Wed May 5 23:58:53 2021
Computing table 2
Bucket 0 uniform sort. Ram: 3.840GiB, u_sort min: 0.563GiB, qs min: 0.281GiB.
Bucket 1 uniform sort. Ram: 3.840GiB, u_sort min: 1.125GiB, qs min: 0.281GiB.
Bucket 2 uniform sort. Ram: 3.840GiB, u_sort min: 0.563GiB, qs min: 0.281GiB.
Bucket 125 uniform sort. Ram: 3.840GiB, u_sort min: 1.125GiB, qs min: 0.281GiB.
Bucket 126 uniform sort. Ram: 3.840GiB, u_sort min: 0.563GiB, qs min: 0.281GiB.
Bucket 127 uniform sort. Ram: 3.840GiB, u_sort min: 1.125GiB, qs min: 0.281GiB.
Total matches: 4294993727
Forward propagation table time: 1614.256 seconds. CPU (186.460%) Thu May 6 00:25:48 2021
Computing table 3

五:单盘RAID0的zfs阵列测试

4盘的raid0

zpool create fourpan -f /dev/sdc /dev/sdd /dev/sde /dev/sdf

root@chia:/home/foxi# zpool status
  pool: fourpan
 state: ONLINE
  scan: none requested
config:

	NAME        STATE     READ WRITE CKSUM
	fourpan     ONLINE       0     0     0
	  sdc       ONLINE       0     0     0
	  sdd       ONLINE       0     0     0
	  sde       ONLINE       0     0     0
	  sdf       ONLINE       0     0     0

errors: No known data errors

使用4线程4000M 128个桶 内存P一个k32

root@chia:/home/foxi# chia plots create -k 32 -b 4000 -u 128 -r 4 -t /fourpan -d /plots
2021-05-06T00:17:44.340  chia.plotting.create_plots       : INFO     Creating 1 plots of size 32, pool public key:  b7a57bf71f22a6af879b02ab2daaef93188fa2f2b788611fdfb1b9b82afb4bd73e96b6e2498687e285231ab4f5661dde farmer public key: abb953537974d1527a3f7ca3c7b1414d5961e02e7be6c27d2e5466589423082dfd3579650a546bfadb87256ef7e17e51
2021-05-06T00:17:44.349  chia.plotting.create_plots       : INFO     Memo: b7a57bf71f22a6af879b02ab2daaef93188fa2f2b788611fdfb1b9b82afb4bd73e96b6e2498687e285231ab4f5661ddeabb953537974d1527a3f7ca3c7b1414d5961e02e7be6c27d2e5466589423082dfd3579650a546bfadb87256ef7e17e514678e809445f972d60e9b9cbce9fc80a18876f5b801dbb242b2e941367cb0fc5
2021-05-06T00:17:44.350  chia.plotting.create_plots       : INFO     Starting plot 1/1

Starting plotting progress into temporary dirs: /fourpan and /fourpan
ID: ffb825259927f9451121b944fbe9e52f758012922df9a481aa81a7dd4ffb3bd4
Plot size is: 32
Buffer size is: 4000MiB
Using 128 buckets
Using 4 threads of stripe size 65536

Starting phase 1/4: Forward Propagation into tmp files... Thu May  6 00:17:44 2021
Computing table 1
F1 complete, time: 319.067 seconds. CPU (139.13%) Thu May 6 00:23:03 2021
Computing table 2
Bucket 0 uniform sort. Ram: 3.840GiB, u_sort min: 1.125GiB, qs min: 0.281GiB.
Bucket 1 uniform sort. Ram: 3.840GiB, u_sort min: 0.563GiB, qs min: 0.281GiB.
Bucket 2 uniform sort. Ram: 3.840GiB, u_sort min: 0.563GiB, qs min: 0.281GiB.
Bucket 3 uniform sort. Ram: 3.840GiB, u_sort min: 1.125GiB, qs min: 0.281GiB.
Bucket 125 uniform sort. Ram: 3.840GiB, u_sort min: 0.563GiB, qs min: 0.281GiB.
Bucket 126 uniform sort. Ram: 3.840GiB, u_sort min: 1.125GiB, qs min: 0.281GiB.
Bucket 127 uniform sort. Ram: 3.840GiB, u_sort min: 0.563GiB, qs min: 0.281GiB.
Total matches: 4295023004
Forward propagation table time: 1635.374 seconds. CPU (190.500%) Thu May 6 00:50:18 2021
Computing table 3






创建一个8盘的raid0

zpool create pan /dev/sdb /dev/sdc /dev/sdd /dev/sde /dev/sdf /dev/sdh /dev/sdg /dev/sdi 

使用4线程4000M 128个桶 内存P一个k32

root@chia:/home/foxi# chia plots create -k 32 -b 4000 -u 128 -r 4 -t /pan -d /plots
2021-05-06T00:55:24.007  chia.plotting.create_plots       : INFO     Creating 1 plots of size 32, pool public key:  b7a57bf71f22a6af879b02ab2daaef93188fa2f2b788611fdfb1b9b82afb4bd73e96b6e2498687e285231ab4f5661dde farmer public key: abb953537974d1527a3f7ca3c7b1414d5961e02e7be6c27d2e5466589423082dfd3579650a546bfadb87256ef7e17e51
2021-05-06T00:55:24.016  chia.plotting.create_plots       : INFO     Memo: b7a57bf71f22a6af879b02ab2daaef93188fa2f2b788611fdfb1b9b82afb4bd73e96b6e2498687e285231ab4f5661ddeabb953537974d1527a3f7ca3c7b1414d5961e02e7be6c27d2e5466589423082dfd3579650a546bfadb87256ef7e17e5147b155670cc53fa3de202b3ab70e4123108314c1f7904a316f6c136b0bd25dc3
2021-05-06T00:55:24.016  chia.plotting.create_plots       : INFO     Starting plot 1/1

Starting plotting progress into temporary dirs: /pan and /pan
ID: 3929ebc9471e8007968540f98b1ad4218d00cbd9c59a186f2d6a761011ca120a
Plot size is: 32
Buffer size is: 4000MiB
Using 128 buckets
Using 4 threads of stripe size 65536

Starting phase 1/4: Forward Propagation into tmp files... Thu May  6 00:55:24 2021
Computing table 1
F1 complete, time: 373.049 seconds. CPU (138.7%) Thu May 6 01:13:16 2021
Computing table 2
Bucket 0 uniform sort. Ram: 3.840GiB, u_sort min: 0.563GiB, qs min: 0.281GiB.
Bucket 1 uniform sort. Ram: 3.840GiB, u_sort min: 0.563GiB, qs min: 0.281GiB.
Bucket 2 uniform sort. Ram: 3.840GiB, u_sort min: 1.125GiB, qs min: 0.281GiB.
Bucket 3 uniform sort. Ram: 3.840GiB, u_sort min: 0.563GiB, qs min: 0.281GiB.
Bucket 124 uniform sort. Ram: 3.840GiB, u_sort min: 0.563GiB, qs min: 0.281GiB.
Bucket 125 uniform sort. Ram: 3.840GiB, u_sort min: 1.125GiB, qs min: 0.281GiB.
Bucket 126 uniform sort. Ram: 3.840GiB, u_sort min: 0.563GiB, qs min: 0.281GiB.
Bucket 127 uniform sort. Ram: 3.840GiB, u_sort min: 1.125GiB, qs min: 0.281GiB.
Total matches: 4294970998
Forward propagation table time: 1609.943 seconds. CPU (193.410%) Thu May 6 01:40:06 2021
Computing table 3

同时8个线程

单位为秒

 

六:jbod模式的zfs模式

 

zpool create pan /dev/sdb /dev/sdc /dev/sdd /dev/sde /dev/sdf /dev/sdh /dev/sdg /dev/sdi

使用4线程4000M 128个桶 内存P一个k32

root@chia:/home/foxi# chia plots create -k 32 -b 4000 -u 128 -r 4 -t /pan -d /plots
2021-05-06T02:37:36.677  chia.plotting.create_plots       : INFO     Creating 1 plots of size 32, pool public key:  b7a57bf71f22a6af879b02ab2daaef93188fa2f2b788611fdfb1b9b82afb4bd73e96b6e2498687e285231ab4f5661dde farmer public key: abb953537974d1527a3f7ca3c7b1414d5961e02e7be6c27d2e5466589423082dfd3579650a546bfadb87256ef7e17e51
2021-05-06T02:37:36.686  chia.plotting.create_plots       : INFO     Memo: b7a57bf71f22a6af879b02ab2daaef93188fa2f2b788611fdfb1b9b82afb4bd73e96b6e2498687e285231ab4f5661ddeabb953537974d1527a3f7ca3c7b1414d5961e02e7be6c27d2e5466589423082dfd3579650a546bfadb87256ef7e17e512b721947c4a7c36d3416d5bf9286c5795e0182ae911a37217c865f5980c31871
2021-05-06T02:37:36.687  chia.plotting.create_plots       : INFO     Starting plot 1/1

Starting plotting progress into temporary dirs: /pan and /pan
ID: fa6e129ead7c2729d08b81076e86b8d871796f0a316b14893b5f0a176a879f43
Plot size is: 32
Buffer size is: 4000MiB
Using 128 buckets
Using 4 threads of stripe size 65536

Starting phase 1/4: Forward Propagation into tmp files... Thu May  6 02:37:36 2021
Computing table 1
F1 complete, time: 391.527 seconds. CPU (138.53%) Thu May 6 02:44:08 2021
Computing table 2
Bucket 0 uniform sort. Ram: 3.840GiB, u_sort min: 0.563GiB, qs min: 0.281GiB.
Bucket 1 uniform sort. Ram: 3.840GiB, u_sort min: 0.563GiB, qs min: 0.281GiB.
Bucket 2 uniform sort. Ram: 3.840GiB, u_sort min: 1.125GiB, qs min: 0.281GiB
Bucket 124 uniform sort. Ram: 3.840GiB, u_sort min: 1.125GiB, qs min: 0.281GiB.
Bucket 125 uniform sort. Ram: 3.840GiB, u_sort min: 1.125GiB, qs min: 0.281GiB.
Bucket 126 uniform sort. Ram: 3.840GiB, u_sort min: 1.125GiB, qs min: 0.281GiB.
Bucket 127 uniform sort. Ram: 3.840GiB, u_sort min: 0.563GiB, qs min: 0.281GiB.
Total matches: 4294897484
Forward propagation table time: 1583.014 seconds. CPU (195.060%) Thu May 6 03:10:31 2021
Computing table 

七:单机械2P

八:总结

机械P图完全是可以的。不需要无脑入SSD

版权声明:
作者:佛西
链接:https://foxi.buduanwang.vip/linux/1066.html/
文章版权归作者所有,未经允许请勿转载
如需获得支持,请点击网页右上角
THE END
分享
二维码
海报
Chia 机械P图和固态P图的性能测试
r一:性能测试平台 服务器:联想SR630 CPU:5115 *2 内存:96G 硬盘机械:1.2T SAS 10K 128M *8 硬盘固态:2T Intel p4510 *2 阵列卡:930-16i 4GB 系统:ubun……
<<上一篇
下一篇>>
文章目录
关闭
目 录