1. I have defined two SPIFFS partitions on main SPI flash. One is sized at 1 MByte. The other is sized at 5 MByte. When I call esp_spiffs_info() after creating them, they report sizes about ~10% smaller than their total partition size. Is this the amount used for managing the file system and tracking wear levelling?
2. Is wear levelling enabled automatically for SPIFFS? Documentation suggests that it is, but if not, what is needed to activate it for SPIFFS?
Thanks!
Simple questions about SPIFFS wear levelling
Re: Simple questions about SPIFFS wear levelling
same question
-
- Posts: 3
- Joined: Tue Sep 22, 2020 12:43 pm
Re: Simple questions about SPIFFS wear levelling
same question here.
i remark than after many (100+) delete/write files on spiffs, system become very slow and sometime corrupt files.
nowhere i found info about garbage collection (how it work), consistency check, or other.
only solution to recover good spiffs work/speed is to format spiffs partition...
who can help/answer/advice ???
i remark than after many (100+) delete/write files on spiffs, system become very slow and sometime corrupt files.
nowhere i found info about garbage collection (how it work), consistency check, or other.
only solution to recover good spiffs work/speed is to format spiffs partition...
who can help/answer/advice ???
Re: Simple questions about SPIFFS wear levelling
SPIFFS becomes corrupt very fast, if something unexpected happens (eg. power-off during access).
It also becomes very slow at a filling level @ ~50%.
I also spend days after days with this issues and testing around with SPIFFS and FATFS. For me the best solution was to migrate to LITTLEFS.
https://www.esp32.com/viewtopic.php?f=13&t=10267
It also becomes very slow at a filling level @ ~50%.
I also spend days after days with this issues and testing around with SPIFFS and FATFS. For me the best solution was to migrate to LITTLEFS.
https://www.esp32.com/viewtopic.php?f=13&t=10267
Who is online
Users browsing this forum: No registered users and 139 guests