writting becomes slow after few writes

Posted by user1566277 on Super User See other posts from Super User or by user1566277
Published on 2012-10-23T10:40:16Z Indexed on 2012/10/23 11:04 UTC
Read the original article Hit count: 199

Filed under:
|
|

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?

© Super User or respective owner

Related posts about linux

Related posts about Performance