3 ms·
But you don't need to fsync that. It's presumably in a temporary file, or you're just reading it.
by Animats 10y ago
But you don't need to fsync that. It's presumably in a temporary file, or you're just reading it.
- refulgentis 10y agoYou're the only one linking these two ideas together. The article expressly separates discussion of how Samsung gathered data to inform their filesystem design from discussion about Motorola's fsync implementation, and they're inherently separate concepts.
- pjc50 10y agoI suspect what happens is the developer just dumps everything in a sqlite database, which will fsync for you on commit.
- JBReefer 10y ago^ I think this is it. App developers are taught to reflexively use the local db to store data, not files - but may not understand the difference performance characteristics of this db. Someone (like me before reading this post) working on an app for the first time might not realize they're thrashing out fsyncs with UPDATES.