writting becomes slow after few writes
- by user1566277
I am running an embedded Linux on arm with a SD-Card. While writing huge amounts of data
I see bizarre effects. E.g, when I dd a 15 MB file few times, it writes the file (normally)
in less than 2 Secs. But After lets say 3-4 times it takes sometimes 15 to 30 Seconds to
write the same file. If I sync after writing the file, then this does not happen but sync
takes long time too. If there is enough gap between writing two files than presumably
kernel syncs itself. How can I optimize the whole performance so that write should always finish inside 2 Seconds. The File system I am using is ext3. Any pointers?