Write performance optimize for internal EMMC

Hello,

We encountered an issue while testing the performance of the built-in EMMC on ORIN (model G1J38E):

  1. Only the first 1/3 of the free space can achieve high write speeds (185MB/s), while the write speed drops to around 15MB/s for the rest of the space.

  2. It is necessary to manually run fstrim after deleting files to achieve the mentioned performance, and wait for a sufficient amount of time. Otherwise, just deleting files without trimming results in speeds even lower than 185MB/s.

Could you please help confirm:

  1. Whether the described issue is due to the EMMC’s internal storage units being TLC.

  2. Whether the described issue implies the need to actively execute the fstrim command? We are using Jetpack6.

Thanks & Regards,
Guangyu

Hi,
We have done the profiling and please check if you see similar result as shown in the post:
Disk write performance issue on Jetson AGX Orin - #10 by DaneLLL

Hi DaneLLL,

Thank you for your reminder about the performance varies being due to the “dynamic SLC architecture in eMMC”. Actually our metrics are close to what you mentioned for the “next release for Orin,” but we have also found that the execution of fstrim has a significant impact on the metrics. We would like to hear your advice on whether it is necessary to periodically execute fstrim and how to schedule the execution cycle if needed.

Thank you, Guangyu