Hi,
I'd like to estimate the life expectancy of an SD-Card that uses a FAT file system given the amount of bytes written per second.
Usually SD-Card manufacturers specify the life expectancy in Terrabytes written, meaning that X Terrabytes can be written to the SD-Card befor it reaches it's end of life. Given a 1GB SD-Card with a life expectancy of 2 Terrabytes written and a data rate of 1 MB/s, would deliver a life time of 2*1024*1024/1 s = 1.6 years. The difficulty here is to accurately estimate the data rate. If 1 MB/s was the amount of data that was written to the file (e.g. via fwrite) per second this would neglect the frequent updates of the file allocation table, which increase the effective data rate. Does anybody know how much overhead the file system (FAT) produces?
Best,
Valentin