[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#605009: serious performance regression with ext4



On 29.11.2010 14:41, Michael Biebl wrote:
> I'm using ext4 (as already mentioned), my small benchmark is (re)installing
> vim-runtime using dpkg -i
> 
> 1.15.8.5:
> real    0m9.259s
> user    0m4.212s
> sys     0m0.752s
> 
> 1.15.8.6:
> real    0m41.766s
> user    0m4.248s
> sys     0m1.028s
> 
> 1.15.8.6 (force-unsafe-io):
> real    0m8.404s
> user    0m4.244s
> sys     0m0.752s
> 
> 1.15.8.6 (+patch posix_fadvise):
> real    0m7.635s
> user    0m4.272s
> sys     0m0.840s

Something interesting I noticed:

I created the ext4 file system on a spare partition and installed a chroot.
After running the test, I exited the chroot, immediately unmounted the partition
and measured how long it took:

1.15.8.5: 0.4s
1.15.8.6: 7.2s
1.15.8.6+patch: 18.4s

If I wait a bit (+60s) after exiting the chroot and then do the unmount, it is
almost instant (< 0.2s) in all three cases.


Michael
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: