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
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Tue, 9 Apr 2013 12:36:48 -0400
From:	Theodore Ts'o <tytso@....edu>
To:	Andrey Sidorov <qrxd43@...orola.com>
Cc:	linux-ext4@...r.kernel.org
Subject: Re: [PATCH V3] ext4: speed-up releasing blocks on commit

On Thu, Mar 28, 2013 at 11:26:58PM +0400, Andrey Sidorov wrote:
> Improve mb_free_blocks speed by clearing entire range at once instead of
> iterating over each bit. Freeing block-by-block also makes buddy bitmap
> subtree flip twice making most of the work a no-op. Very few bits in buddy
> bitmap require change, e.g. freeing entire group is a 1 bit flip only.
> As a result, releasing blocks of 60G file now takes 5ms instead of 2.7s.
> This is especially good for non-preemptive kernels as there is no
> rescheduling during release.
> 
> Signed-off-by: Andrey Sidorov <qrxd43@...orola.com>

Thanks, added to the dev branch for testing.

					- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ