libeatmydata - disable fsync and SAVE

https://lobste.rs/rss Hits: 9
Summary

libeatmydata libeatmydata is a small LD_PRELOAD library designed to (transparently) disable fsync (and friends, like open(O_SYNC)). This has two side-effects: making software that writes data safely to disk a lot quicker and making this software no longer crash safe. DO NOT use libeatmydata on software where you care about what it stores. It's called libEAT-MY-DATA for a reason. Source I've recently been migrating things over to git from the old BZR repository. Git repositories are on github Grab the latest by just doing git clone https://github.com/stewartsmith/libeatmydata.git - although most Linux distros package libeatmydata as eatmydata Download: The GitHub Releases page has all the latest libeatmydata downloads. You can also download the source tarball from here: libeatmydata-131.tar.gz and GPG signature: libeatmydata-131.tar.gz.asc from my GPG key Binaries I've built some Fedora RPMs (for older fedora and libeatmydata), also signed with my GPG key. Install If installing from source, do the following: git clone https://github.com/stewartsmith/libeatmydata.git (or extract from source tarball) cd libeatmydata autoreconf -i (if building from git only) ./configure make make check sudo make install Using Once libeatmydata is installed (either from a package or from source like above, simply run the eatmydata wrapper script: Platform Support I use it primarily on Linux. Others have reported success on MacOS X, OpenSolaris, Solaris, Debian GNU/kFreeBSD. Patches welcome! Contributing You can email me directly with patches. Development is hosted on launchpad and has been transitioning to github. Performance Improvements Running mysql-test-run --do-test=innodb without/with libeatmydata: TEST RESULT TIME (ms) TIME (with libeatmydata) ---------------------------------------------------------------------------------- main.innodb-lock [ pass ] 4523 4323 main.innodb-replace [ pass ] 102 56 main.innodb-ucs2 [ pass ] 5786 1084 main.innodb [ pass ] 78306 24900 main.innodb_gis [...

First seen: 2026-03-29 05:48

Last seen: 2026-03-29 13:53