File tree Expand file tree Collapse file tree 4 files changed +94
-6
lines changed
_assets/file/p440ar-ctrl-benchmark Expand file tree Collapse file tree 4 files changed +94
-6
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ title : P440ar Array Controller 直通评测
3+ tags :
4+ - HP
5+ - HBA
6+ - RAID
7+ - ZFS
8+ categories :
9+ - 搞机
10+ layout : post
11+ date : 2022-03-26
12+ ---
13+
14+ 最近到了一批` HPE DL560 G9 ` 的机器,默认带的是[ P440ar] ( https://support.hpe.com/hpesc/public/docDisplay?docId=emr_na-c04496202 ) 的卡。但是目前我们都是用的ZFS,所以一般来说我们都会把卡刷成` IT Mode ` 直通给系统。
15+
16+ 戴尔的卡已经有[ 很成熟的教程] ( https://fohdeesha.com/docs/index.html ) 了,但是HP似乎都没有,目前可以选择的方案看了一圈只有
17+
18+ - HBA Mode,他们的卡自带了这个模式
19+ - RAID 0 for each physical drive,我没想到的是他们界面直接就有这个选项,看来很多这样的需求
20+
21+ 但是继续找了一下并没有看到有关于更多ZFS的评测,所以这里就记录一下目前收集到的信息
22+
23+ ## 规格
24+
25+ ### 硬盘
26+
27+ 硬盘是` 2.5 inch Seagate 1TB 7200 RPM ` ,具体信息:
28+
29+ ```
30+ Status: OK
31+ Serial Number: 9XG6E9NN
32+ Model: ST910006CLAR1000
33+ Media Type: HDD
34+ Capacity: 1000 GB
35+ Firmware Version: AS0D
36+ Encryption Status Not Encrypted
37+ ```
38+
39+ ### 控制器
40+
41+ 控制器读缓存开启,写缓存关闭
42+
43+ ## 测试
44+
45+ ### 脚本
46+
47+ 使用的是[ fio] ( https://github.com/axboe/fio ) ,配合脚本
48+
49+ <iframe class =" gist-iframe " src =" https://gist.github.com/sennajox/3667757.pibb " ></iframe >
50+
51+ ### RAID 0 结果
52+
53+ <a :href =" raid0 " >fio-raid0.tar.gz</a >
54+
55+ ### HBA 结果
56+
57+ <a :href =" hba " >fio-hba.tar.gz</a >
58+
59+ ## 结论
60+
61+ 目前测试出来单盘的情况下,HBA和Raid0的结果在512K的读写下很相近,但是HBA模式表现似乎要更好一点。
62+
63+ 所有结果都打包在上面,有需要的可以自行下载研究。如果有更多测试/模式想要测试,可以在评论区留言
64+
65+ <script >
66+ export default {
67+ data () {
68+ return {
69+ raid0: require (" ../_assets/file/p440ar-ctrl-benchmark/fio-raid0.tar.gz" ),
70+ hba: require (" ../_assets/file/p440ar-ctrl-benchmark/fio-hba.tar.gz" ),
71+ }
72+ },
73+ }
74+ </script >
75+
76+ <style scoped >
77+ .gist-iframe {
78+ width : 100% ;
79+ min-height : 300px ;
80+ margin : 10px 0 10px 0 ;
81+ border : transparent ;
82+ }
83+ </style >
Original file line number Diff line number Diff line change 11const webpack = require ( 'webpack' )
22
3- exports . chainWebpack = function ( chain ) {
3+ const fileLoaderExt = ( names , chain ) => {
44 chain . module
5- . rule ( "pdf " )
6- . test ( / \. p d f $ / )
7- . use ( "pdf " )
5+ . rule ( "file load path " )
6+ . test ( new RegExp ( `\.( ${ names . join ( '|' ) } )$` ) )
7+ . use ( "file load path " )
88 . loader ( "file-loader" )
99 . options ( {
10- name : "[name].[ext]" ,
10+ name : "[path][ name].[ext]" ,
1111 } ) ;
12- chain . module
12+ }
13+
14+ exports . chainWebpack = function ( chain ) {
15+ fileLoaderExt ( [ "pdf" , "tar.gz" ] , chain )
16+
17+ chain . module
1318 . rule ( "cool" )
1419 . test ( / \. c o o l $ / )
1520 . use ( "cool" )
You can’t perform that action at this time.
0 commit comments