Samsung / TizenRT

TizenRT is a lightweight RTOS-based platform to support low-end IoT devices
Apache License 2.0
561 stars 560 forks source link

Add performance test for internal & external flash for Read, write & Erase #6233

Closed r-prabu closed 3 weeks ago

r-prabu commented 3 weeks ago

Add performance test for internal & external flash for Read, write & Erase.

Measurement captured as below. Note: Flash sector Config for Internal & External Flash-> 4KB Sector.

<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns="http://www.w3.org/TR/REC-html40">

Flash_Type | Read_4K / 1 MB | Write_4K / 1MB | Erase_4K / 1MB -- | -- | -- | -- Internal | 1 / 29msec | 7 msec / 1713 msec | 41 msec / 10567 msec External | 6msec / 1496msec | 20 msec / 3008 msec | 6 msec / 8572 msec

edwakuwaku commented 3 weeks ago

Hi @r-prabu , could you share whether this result is calculated with using SPI polling, or SPI DMA?

r-prabu commented 3 weeks ago

Hi @r-prabu , could you share whether this result is calculated with using SPI polling, or SPI DMA?

@edwakuwaku SPI DMA is not enabled in the above test.

edwakuwaku commented 3 weeks ago

With enabling the SPI DMA, the performance should rise, you may try and compare it.

r-prabu commented 3 weeks ago

will reopen the PR after the cleanup.