---
title: REE-TEE交互性能损耗
description: "| 用例编号 | 4.3.7 |"
url: https://www.hikunpeng.com/document/detail/zh/kunpengboostkithistory/2300/history/kunpengtrustzone_08_0035.html
sourcePath: /source/zh/kunpengboostkithistory/2300/history/kunpengtrustzone_08_0035.html
indexId: 9c831e32485ff66beca5b1ef5aac5fc62d1fe146a550cf914c7ca769d96012ba76
---
# REE-TEE交互性能损耗

| 用例编号 | 4.3.7 |
| --- | --- |
| 测试目的 | 测试REE\-TEE交互性能损耗。 |
| 测试组网 | 请参见测试组网。 |
| 预置条件 | 服务器已烧写TrustZone套件，并配有TrustZone License。 服务器已加载REE Patch，CA/TA应用可正常加载通信。 |
| 测试步骤 | 登录REE OS，加载TrustZone REE Patch tzdriver，预期结果1。 insmod tzdriver /usr/bin/teecd & 编写CA/TA，CA/TA代码做如下要求，预期结果2。 测试、统计GP Client API接口执行时间，包括TEEC\_InitializeContext、TEEC\_FinalizeContext、TEEC\_OpenSession、TEEC\_CloseSession、TEEC\_InvokeCommand接口。 其中，CA通过TEEC\_InvokeCommand这个API向TA传递的数据规模包含0、256K、512K、768K、1MB。 |
| 预期结果 | REE Patch加载成功，无异常信息。 性能数据可获取。 |
| 测试结果 |  |
| 备注 |  |
