소스 검색

Update performance result

RockyJin 5 년 전
부모
커밋
25f2c59726
2개의 변경된 파일28개의 추가작업 그리고 6개의 파일을 삭제
  1. 14 3
      README-CN.md
  2. 14 3
      README.md

+ 14 - 3
README-CN.md

@@ -16,12 +16,12 @@ Kuiper 可以运行在各类物联网的边缘使用场景中,比如工业物
 
 - 超轻量
 
-  - 核心服务安装包约 3.5MB,初始运行时占用内存约 10MB
+  - 核心服务安装包约 4.5MB,初始运行时占用内存约 10MB
 
 - 跨平台
 
   - 流行 CPU 架构:X86 AMD * 32, X86 AMD * 64; ARM * 32, ARM * 64位; PPC
-  - 常见 Linux 发行版、MacOS、Docker
+  - 常见 Linux 发行版、OpenWrt 嵌入式系统、MacOS、Docker
   - 工控机、树莓派、工业网关、家庭网关、MEC 边缘云等
 
 - 完整的数据分析
@@ -49,7 +49,18 @@ Kuiper 可以运行在各类物联网的边缘使用场景中,比如工业物
 
   提供了与 EMQ X Edge 的无缝集成,实现在边缘端从消息接入到数据分析端到端的场景实现能力
 
-<!--性能测试结果-->
+## 性能测试结果
+
+### 测试场景
+
+- 使用 JMeter MQTT 插件来发送数据到 EMQ X 服务器,消息类似于 ``{"temperature": 10, "humidity" : 90}``, 温度与湿度的值是介于 0 ~ 100 之间的随机整数值
+- Kuiper 从 EMQ X 服务器订阅消息,并且通过 SQL 分析数据: ``SELECT * FROM demo WHERE temperature > 50 `` 
+- 分析结果通过 [文件插件](docs/en_US/plugins/sinks/file.md) 写到本地的文件系统里
+
+| 设备                                           | 每秒发送消息数 | CPU 使用        | 内存 |
+| ---------------------------------------------- | -------------- | --------------- | ---- |
+| 树莓派 3B+                                     | 12k            | sys + user: 70% | 20M  |
+| AWS t2.micro( 1 Core * 1 GB) <br />Ubuntu18.04 | 10k            | sys + user: 25% | 20M  |
 
 ## 文档
 

+ 14 - 3
README.md

@@ -16,12 +16,12 @@ It can be run at various IoT edge use scenarios, such as real-time processing of
 
 - Lightweight
 
-  - Core server package is only about 3MB, initial memory usage is about 10MB
+  - Core server package is only about 4.5M, initial memory footprint is about 10MB
 
 - Cross-platform
 
   - CPU Arch:X86 AMD * 32, X86 AMD * 64; ARM * 32, ARM * 64; PPC
-  - The popular Linux distributions, MacOS and Docker
+  - The popular Linux distributions, OpenWrt Linux, MacOS and Docker
   - Industrial PC, Raspberry Pi, industrial gateway, home gateway, MEC edge cloud server
 
 - Data analysis support
@@ -49,7 +49,18 @@ It can be run at various IoT edge use scenarios, such as real-time processing of
 
   Seamless integration with EMQ X Edge, and provided an end to end solution from messaging to analytics. 
 
-<!--Performance result-->
+## Performance test result
+
+### Test scenario
+
+- Using JMeter MQTT plugin to send simulation data to EMQ X Broker, such as: ``{"temperature": 10, "humidity" : 90}``, the value of temperature and humidity are random integer between 0 - 100.
+- Kuiper subscribe from EMQ X Broker, and analyze data with SQL: ``SELECT * FROM demo WHERE temperature > 50 `` 
+- The analysis result are wrote to local file by using [file sink plugin](docs/en_US/plugins/sinks/file.md).
+
+| Devices                                        | Message per second | CPU usage     | Memory usage |
+| ---------------------------------------------- | ------------------ | ------------- | ------------ |
+| Raspberry Pi 3B+                               | 12k                | sys+user: 70% | 20M          |
+| AWS t2.micro( 1 Core * 1 GB) <br />Ubuntu18.04 | 10k                | sys+user: 25% | 20M          |
 
 ## Documents