eatmydata package for centos

Bug #1457976 reported by Vladimir Kozhukalov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Invalid
Medium
Vladimir Kozhukalov

Bug Description

We need this package to be installed on the master node in order to make it possible to run debootstrap with disabled fsync-s. It could make image build process much faster but more dangerous. At least it could be useful for test/development environments.

This package is not a part of Fedora yet https://bugzilla.redhat.com/show_bug.cgi?id=1007619 But it is a part of Suse https://build.opensuse.org/package/show/openSUSE:Factory/eatmydata

Tags: mos-linux
tags: added: mos-linux
Revision history for this message
Alexei Sheplyakov (asheplyakov) wrote :

Actually it's more useful to disable ext4 journal while building the image (and re-enable it afterwards)

Revision history for this message
Alexander Gordeev (a-gordeev) wrote :

Alexei Sheplyakov, do you know what will be expected amount of building time speed up?

Revision history for this message
Alexei Sheplyakov (asheplyakov) wrote :

Building 6.0 ISO (which involves creating IBP images) on an EXT4 filesystem without a journal yield 2x speedup.

Basically fsync on ext[34] triggers journal commit (at least in data=ordered mode) so fsync'ing a single file is equivalent to sync'ing the whole filesystem (see http://thunk.org/tytso/blog/2009/03/15/dont-fear-the-fsync for more details). That's why fsync is so expensive on ext[34]. There's to way to solve the problem: 1) avoid/eliminate fsync calls, 2) make fsync performance reasonable by turning off journal (or using a less aggressive journaling mode such as data=writeback). Both these methods are essentially equivalent (and both trade safety for speed). However the 2nd one does not require any additional software.

Revision history for this message
Aleksander Mogylchenko (amogylchenko) wrote :

@Vladimir, please evaluate solution provided by Alexei and let us know if you still need additional software (with some proofs).

Changed in fuel:
status: New → Incomplete
assignee: MOS Linux (mos-linux) → Vladimir Kozhukalov (kozhukalov)
Revision history for this message
Aleksandr Didenko (adidenko) wrote :

4 weeks without updates. Changing Incomplete to Invalid.

Changed in fuel:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.