[obs-commits] [openSUSE/obs-build] a050a1: Optimize VM image setup
Branch: refs/heads/master Home: https://github.com/openSUSE/obs-build Commit: a050a18f2aae0d488ccd267ed66a5a01bd6e5c5d https://github.com/openSUSE/obs-build/commit/a050a18f2aae0d488ccd267ed66a5a0... Author: Dirk Mueller <dmueller@suse.com> Date: 2013-04-03 (Wed, 03 Apr 2013) Changed paths: M build Log Message: ----------- Optimize VM image setup These changes save over 5s on a VM setup phase of a typical armv7l build. Instead of asking mkfs.ext4 to create a journal (which is causing it to do flushed writes of lots of zero blocks) and immediately deleting it afterwards, simply don't create it initially. This alone saves 2s. Prefering fallocate to make use of persistent preallocation avoids fragmentation and small other fixes further speed up the initial build setup phase by several seconds typically. Commit: aebe2d281c756e5b59f88b5dda16c9d333e4610a https://github.com/openSUSE/obs-build/commit/aebe2d281c756e5b59f88b5dda16c9d... Author: Dirk Mueller <dmueller@suse.com> Date: 2013-04-03 (Wed, 03 Apr 2013) Changed paths: M build Log Message: ----------- avoid a remount data=writeback on ext4 Won't work anyway, there is no journal. Silences a warning. Commit: dcaf4cd0bdf476d781efb6225be725a93f4e9bbe https://github.com/openSUSE/obs-build/commit/dcaf4cd0bdf476d781efb6225be725a... Author: Adrian Schröter <adrian@suse.de> Date: 2013-04-03 (Wed, 03 Apr 2013) Changed paths: M build Log Message: ----------- Merge pull request #52 from dirkmueller/opt/vm_init_create Optimize VM image setup Compare: https://github.com/openSUSE/obs-build/compare/14b691f3ea02...dcaf4cd0bdf4
participants (1)
-
GitHub