I'm using es8266 arduino with spiffs (FS.h) (1M Flash with 256K SPIFFS) and I noticed that every file allocates 502 bytes memory even if the file is 8 bytes long.
I have 8 bytes long files but every single file covers 502 bytes.
How to reduce that offset or configure for the best?
2 files -> "usedBytes":"1004"
4 files -> "usedBytes":"2008"
6 files -> "usedBytes":"3012"
8 files -> "usedBytes":"4016"
10 files->"usedBytes":"5020"
The "usedBytes" comes from;
FSInfo fs_info;
SPIFFS.info(fs_info);
The other parameters of FSInfo with 10 files in FS is like below:
{"totalBytes":"233681","usedBytes":"5020","blockSize":"4096","pageSize":"256","maxOpenFiles":"5","maxPathLength":"32","FreeSketchSpace":"458752"}