I've packaged up the fsync() and fsyncdata() functions above, written a little wrapper which runs a command with it (such as liferea) and then syncs ONCE when the application closes. Again, this is NOT the solution, but a lot of people might find this useful until liferea / sqlite is fixed.
https://projects.kintassa.com/projects/nosync Installation: make && sudo make install. Running liferea through it: "nosync liferea". Benchmarks: liferea --debug-performance: PERF: default_source_source_import took 3,482s Perception of performance: liferea grinds the disk for a few seconds (on a 12GB desktop with no swap enabled!), then grinds some more even after the window appears. nosync liferea --debug-performance: PERF: default_source_source_import took 0,017s Perception of performance: liferea comes up IMMEDIATELY, and is very responsive. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/290666 Title: Liferea stalling, uses excessive number of fsyncs -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs