[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Short circuiting data_unlock in ext2fs
From: |
Sergio Lopez |
Subject: |
Short circuiting data_unlock in ext2fs |
Date: |
Tue, 11 May 2010 19:19:01 +0200 |
Hi,
I think short circuiting data_unlock requests in ext2fs (by allocating
the page in file_pager_read_page and returning it unlocked) could
improve file growing performance a bit.
I've tested it in qemu (with kvm), using "dd" to sequentially write
blocks to a file, obtaining an improvement of 10%. I'd like to test it
in real hardware, but currently I don't have a spare machine to do
that. If someone can try it (it's a small patch, and it just requires
to rebuild ext2fs), please let us know the results.
Thanks!
ext2fs_sc_unlock.diff
Description: Text Data
- Short circuiting data_unlock in ext2fs,
Sergio Lopez <=