Significantly more time when accessing encrypted littlefs
Posted: Fri May 01, 2026 5:26 am
I encrypted the littlefs partition that contains config and other files I read in during bootup. This has significantly increased the startup time from about 10 seconds to over a minute. Is this to be expected?
Maybe the way I created the file system was to be blamed? I am using MicroPython. It creates a littlefs file system upon first boot. I then copy files into the file system via Thonny. I wonder if this caused the files to be fragmented due to the nature of littlefs. Maybe there's a tool to generate non-fragmented littlefs partition? Thanks.
Maybe the way I created the file system was to be blamed? I am using MicroPython. It creates a littlefs file system upon first boot. I then copy files into the file system via Thonny. I wonder if this caused the files to be fragmented due to the nature of littlefs. Maybe there's a tool to generate non-fragmented littlefs partition? Thanks.