Hi Brian,

 

Could you provide more details about the test? Which configuration are you using (a profile or customized configurations) and which service you are using for the testing?

Or provide the build command?

 

Thanks.

 

/Ken

 

From: Quach, Brian via TF-M <tf-m@lists.trustedfirmware.org>
Sent: Thursday, April 27, 2023 7:02 AM
To: tf-m@lists.trustedfirmware.org
Subject: [TF-M] Re: psa_call performance

 

I also observed psa_connect() call time is now ~6000 cycles (previously ~3400 cycles in TF-M v1.1).

 

Regards,
Brian

 

From: Quach, Brian via TF-M <tf-m@lists.trustedfirmware.org>
Sent: Wednesday, April 26, 2023 12:56 PM
To: tf-m@lists.trustedfirmware.org
Subject: [EXTERNAL] [TF-M] psa_call performance

 

Hi,

 

Using isolation level 1 and IPC secure partition, I noticed psa_call() overhead for TFM v1.7 is significantly worse for than v1.1.   Is this expected?

 

Assuming 1 invec and 0 outvec for the PSA call….

 

TF-M version

Psa_call() round trip cycles

v1.1

4038

v1.7

6051

 

 

Regards,

 

Brian Quach

SimpleLink MCU

Texas Instruments Inc.