lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-ID: <3cc33ea5-ab63-344e-7251-daa808b855bb@thelounge.net> Date: Thu, 13 Aug 2020 01:14:01 +0200 From: Reindl Harald <h.reindl@...lounge.net> To: Andreas Dilger <adilger@...ger.ca>, Maciej Jablonski <mafjmafj@...il.com> Cc: linux-ext4@...r.kernel.org Subject: Re: libext2fs: mkfs.ext3 really slow on centos 8.2 Am 13.08.20 um 00:45 schrieb Andreas Dilger: > On Aug 10, 2020, at 6:37 AM, Maciej Jablonski <mafjmafj@...il.com> wrote: >> On upgrading from centos 7.6 to centos 8.2 mkfs slowed down by orders >> of magnitude. >> >> e.g. 35GB partition from under 8s to 4m+ on the same host. >> >> Most time is spent on writing the journal to the disk. >> >> strace shows the following: >> >> We have got strace which shows that each each block is zeroed with >> fallocate and each >> invocation of fallocate takes 10ms, this accumulates of course. > > Do you really need to use mkfs.ext3, or can you use mkfs.ext4 and > mount the filesystem as type ext4? Then you can use the "flexbg" > feature and it will not only speed up mkfs but also many other > normal operations (e.g. mount, e2fsck, allocation, etc) typo: it's "flex_bg" and enabled by default (Filesystem created: Sun Aug 9 13:24:15 2020) Filesystem features: has_journal ext_attr resize_inode dir_index filetype needs_recovery extent 64bit flex_bg sparse_super large_file huge_file dir_nlink extra_isize metadata_csum ext3 is something of the past for a full decade now
Powered by blists - more mailing lists