[Ocfs2-devel] [PATCH V2] ocfs2: add a mount option journal_async_commit on ocfs2 filesystem
Mark Fasheh
mfasheh at suse.de
Fri Jan 16 15:21:07 PST 2015
On Wed, Jan 07, 2015 at 12:01:41PM +0800, alex chen wrote:
> Add a mount option to support JBD2 feature:
> JBD2_FEATURE_INCOMPAT_ASYNC_COMMIT. When this feature is opened,
> journal commit block can be written to disk without waiting for
> descriptor blocks, which can improve journal commit performance. This
> option will enable 'journal_checksum' internally.
>
> Using the fs_mark benchmark, using journal_async_commit shows a 50%
> improvement, the files per second go up from 215.2 to 317.5.
>
> test script:
> fs_mark -d /mnt/ocfs2/ -s 10240 -n 1000
>
> default:
> FSUse% Count Size Files/sec App Overhead
> 0 1000 10240 215.2 17878
>
> with journal_async_commit option:
> FSUse% Count Size Files/sec App Overhead
> 0 1000 10240 317.5 17881
>
> Signed-off-by: Alex Chen <alex.chen at huawei.com>
> Signed-off-by: Weiwei Wang <wangww631 at huawei.comm>
> Reviewed-by: Joseph Qi <joseph.qi at huawei.com>
Reviewed-by: Mark Fasheh <mfasheh at suse.de>
--Mark
--
Mark Fasheh
More information about the Ocfs2-devel
mailing list