Skip to content

Various littlefs operations are quite slow #1079

@manuhrao

Description

@manuhrao

Hi all:
I am using littlefs on an mx25r32 QSPI, driven by an nrf5340 running zephyr.
when I have approx 750 files( many/most of them 50 byte binary files), the fs_stat operation takes almost 5.6 seconds
Image

Further more, when I am writing the (50 byte) files, I note that it typically takes ~300ms, but every ~25th attempt takes 12 seconds
Image

A few questions

  1. Is that expected/normal?
  2. If no, what should I expect, and how can I improve this behavior?

Thanks a lot!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions