LinkIoTEdge网关BenchMark报告


系统信息

内存 : {{body['System']['Memory']}}

CPU架构 : {{body['System']['CpuArch']}}

物理CPU个数 : {{body['System']['PhysicalCpu']}}

每个CPU的核数 : {{body['System']['CoresPerCpu']}}

逻辑CPU个数 : {{body['System']['LogicalCpu']}}

CPU型号 : {{body['System']['CpuVersioin']}}

Linux版本 : {{body['System']['LinuxVersion']}}

LinkIoTEdge版本 : {{body['System']['LinkIotEdgeVersion']}}



测试说明:

常规设备接入测试:

该测试在您待接入设备数、每个设备的属性点数、驱动进程个数以及采集(上报)频率确定的情况下,对您所测的网关性能进行测试评估。

测试步骤:
1、测试人员按命令行提示输入测试参数
2、根据输入参数,启动指定数量的驱动进程,接入指定数量的设备,按指定的频率上报指定个数的设备属性
3、启动Listener,侦听设备上报的属性,并记录下每个上报消息的收发延时
4、运行指定的测试时间后,退出驱动进程和Listener
5、对上报属性的延迟进行统计,计算出平均值,最大值,最小值和标准差

最大设备数测试:

该测试在您每个设备属性点数、驱动进程个数以及采集(上报)频率确定的情况下,对您所测的网关所能支持的最大设备数目进行评估。

测试步骤:
1、测试人员按命令行提示输入测试参数
2、根据输入参数,启动指定数量的驱动进程,接入设备数基数+歩进xN(0,1,2...)的设备数,按指定的频率上报指定个数的设备属性
3、启动Listener,侦听设备上报的属性,并记录下每个上报消息的收发延时
4、运行指定的测周期后,退出驱动进程和Listener
5、计算出属性上报的延时平均值,如果未超过指定的延时限制,则继续运行(N+1)次,直到上报延时超过指定的延时限制或者运行次数超过指定的最大测试轮数,得出能够支持的最大设备数

最大属性数测试:

该测试在您设备数、驱动进程个数以及采集(上报)频率确定的情况下,对您所测的网关所能支持的最大设备总属性点数进行评估。

测试步骤:
1、测试人员按命令行提示输入测试参数
2、根据输入参数,启动指定数量的驱动进程,接入指定的设备数,按指定的频率上报(点数基数/设备+歩进xN(0,1,2...))个属性
3、启动Listener,侦听设备上报的属性,并记录下每个上报消息的收发延时
4、运行指定的测试周期后,退出驱动进程和Listener
5、计算出属性上报的延时平均值,如果未超过指定的延时限制,则继续运行(N+1)次,直到上报延时超过指定的延时限制或者运行次数超过指定的最大测试轮数,得出能够支持的最大属性总数

设备-函数计算测试:

该测试在您设备数,每个设备属性点数、驱动进程个数以及采集(上报)频率确定的情况下,对您所测的网关,从设备到函数计算的消息承载能力进行评估。

测试步骤:
1、测试人员按命令行提示输入测试参数
2、根据输入参数,启动指定数量的驱动进程,接入指定数量的设备,按指定的频率上报指定个数的设备属性
3、启动FC,侦听设备上报的属性,并记录下每个上报消息的收发延时
4、运行指定的测试时间后,退出驱动进程和FC
5、对上报属性的延迟进行统计,计算出平均值,最大值,最小值和标准差

测试信息

{% if 'TestType1' in body %} {% set xlsx_path=body['TestType1']['Output']['Xlsx'] %} {% set xlsx_file=xlsx_path[xlsx_path.rfind('/')+1:] %} {% endif %} {% if 'TestType2' in body %} {% set xlsx_path=body['TestType2']['Output']['Xlsx'] %} {% set xlsx_file=xlsx_path[xlsx_path.rfind('/')+1:] %} {% endif %} {% if 'TestType3' in body %} {% set xlsx_path=body['TestType3']['Output']['Xlsx'] %} {% set xlsx_file=xlsx_path[xlsx_path.rfind('/')+1:] %} {% endif %} {% if 'TestType4' in body %} {% set xlsx_path=body['TestType4']['Output']['Xlsx'] %} {% set xlsx_file=xlsx_path[xlsx_path.rfind('/')+1:] %} {% endif %}
测试类型 测试数据
常规设备接入测试 测试参数 驱动进程数 {{body['TestType1']['Input']['DriverCnt']}}
设备数 {{body['TestType1']['Input']['DeviceCnt']}}
点数/设备 {{body['TestType1']['Input']['PropertyCntPerDev']}}
上报周期(毫秒) {{body['TestType1']['Input']['ReportCycle']}}
测试时间(秒) {{body['TestType1']['Input']['TestTime']}}
测试结果
上报消息数 {{body['TestType1']['Output']['ReportMsgTotal']}}
接收消息数 {{body['TestType1']['Output']['ReciveMsgTotal']}}
延时平均值(毫秒) {{body['TestType1']['Output']['DurationAvg']}}
延时最大值(毫秒) {{body['TestType1']['Output']['MaxDuration']}}
延时最小值(毫秒) {{body['TestType1']['Output']['MinDuration']}}
延时标准差(毫秒) {{body['TestType1']['Output']['DurationSD']}}
延时曲线 文件
系统负载(load average) {{body['TestType1']['Output']['LoadAverage']}}
最大设备数测试 测试参数 驱动进程数 {{body['TestType2']['Input']['DriverCnt']}}
设备数基数 {{body['TestType2']['Input']['DeviceCntBase']}}
设备数歩进 {{body['TestType2']['Input']['Step']}}
点数/设备 {{body['TestType2']['Input']['PropertyCntPerDev']}}
上报周期(毫秒) {{body['TestType2']['Input']['ReportCycle']}}
延时平均值限制(毫秒) {{body['TestType2']['Input']['DurationAvgLimit']}}
测试周期(秒) {{body['TestType2']['Input']['TestCycle']}}
最大测试轮数 {{body['TestType2']['Input']['MaxTestTimes']}}
测试结果
最大可达接入设备数 {{body['TestType2']['Output']['MaxDeviceCnt']}}
上报消息数 {{body['TestType2']['Output']['ReportMsgTotal']}}
接收消息数 {{body['TestType2']['Output']['ReciveMsgTotal']}}
延时平均值(毫秒) {{body['TestType2']['Output']['DurationAvg']}}
延时最大(毫秒) {{body['TestType2']['Output']['MaxDuration']}}
延时最小(毫秒) {{body['TestType2']['Output']['MinDuration']}}
延时标准差(毫秒) {{body['TestType2']['Output']['DurationSD']}}
延时曲线 文件
系统负载(load average) {{body['TestType2']['Output']['LoadAverage']}}
最大属性数测试 测试参数 驱动进程数 {{body['TestType3']['Input']['DriverCnt']}}
设备数 {{body['TestType3']['Input']['DeviceCnt']}}
点数基数/设备 {{body['TestType3']['Input']['PropertyCntPerDevBase']}}
点数歩进/设备 {{body['TestType3']['Input']['Step']}}
上报周期(毫秒) {{body['TestType3']['Input']['ReportCycle']}}
延时平均值限制(毫秒) {{body['TestType3']['Input']['DurationAvgLimit']}}
测试周期(秒) {{body['TestType3']['Input']['TestCycle']}}
最大测试轮数 {{body['TestType3']['Input']['MaxTestTimes']}}
测试结果
最大可达接入属性点总数 {{body['TestType3']['Output']['MaxPropertyCntTotal']}}
上报消息数 {{body['TestType3']['Output']['ReportMsgTotal']}}
接收消息数 {{body['TestType3']['Output']['ReciveMsgTotal']}}
延时平均值(毫秒) {{body['TestType3']['Output']['DurationAvg']}}
延时最大(毫秒) {{body['TestType3']['Output']['MaxDuration']}}
延时最小(毫秒) {{body['TestType3']['Output']['MinDuration']}}
延时标准差(毫秒) {{body['TestType3']['Output']['DurationSD']}}
延时曲线 文件
系统负载(load average) {{body['TestType3']['Output']['LoadAverage']}}
设备-函数计算测试 测试参数 驱动进程数 {{body['TestType4']['Input']['DriverCnt']}}
设备数 {{body['TestType4']['Input']['DeviceCnt']}}
点数/设备 {{body['TestType4']['Input']['PropertyCntPerDev']}}
上报周期(毫秒) {{body['TestType4']['Input']['ReportCycle']}}
测试时间(秒) {{body['TestType4']['Input']['TestTime']}}
测试结果
上报消息数 {{body['TestType4']['Output']['ReportMsgTotal']}}
接收消息数 {{body['TestType4']['Output']['ReciveMsgTotal']}}
延时平均值(毫秒) {{body['TestType4']['Output']['DurationAvg']}}
延时最大值(毫秒) {{body['TestType4']['Output']['MaxDuration']}}
延时最小值(毫秒) {{body['TestType4']['Output']['MinDuration']}}
延时标准差(毫秒) {{body['TestType4']['Output']['DurationSD']}}
延时曲线 文件
系统负载(load average) {{body['TestType4']['Output']['LoadAverage']}}