[nzlug] reiser3 vs. ext3 & co.
R. Eimann
subscr_nzlug at busy-byte.de
Sat Jul 5 14:43:40 NZST 2008
You're probably right, I may have been a bit out of date on that issue:
"<akpm at zip.com.au>
[PATCH] reiserfs locking fix
reiserfs is using b_inode_buffers and fsync_buffers_list() for
attaching dependent buffers to its journal. For writeout prior to
commit.
This worked OK when a global lock was used everywhere, but the locking
is currently incorrect - try_to_free_buffers() is taking a different
lock when detaching buffers from their "foreign" inode. So list_head
corruption could occur on SMP.
The patch implements a reiserfs_releasepage() which holds the
journal-wide buffer lock while it runs try_to_free_buffers(), so all
those list_heads are protected. The lock is held across the
try_to_free_buffers() call as well, so nobody will attach one of this
page's buffers to a list while try_to_free_buffers() is running."
Cheers,
Raimund
> On Fri 04 Jul 2008 09:27:38 NZST +1200, R. Eimann wrote:
>
>> I have one filesystem that uses 4.107.188 kBytes under ReiserFS3. I
>> copied its
>> files out to an ext3 filesystem. There, the same data occupies 9.130.932
>> kBytes, that's an insane inflation of 222%!
>
> Reiser is exceptionally good for many small files, as you find e.g. in
> email handling.
>
> If you reduce the defulat block size for ext2/3 much, check whether
> performance for large files suffers.
>
> JFS is apparently not so well supported in the kernel. It's use on oS
> 10.3 is somewhat discouraged, and there are problems booting from it
> (ref [opensuse-factory] 11.0 default filesystems again).
>
> Try XFS, it's easy enough.
>
>> On the other hand, ReiserFS does not seem to be an ideal choice for
>> multicore
>> systems as my box (some global kernel locking issue).
>
> Are you certain about that? My understanding is that oS and SLES share
> the same kernel, and chances that SLES has a faulty reiserfs for
> multiprocessor hardware should be slim.
>
> Volker
>
> --
> Volker Kuhlmann is list0570 with the domain in header
> http://volker.dnsalias.net/ Please do not CC list postings to me.
>
> _______________________________________________
> NZLUG mailing list NZLUG at linux.net.nz
> http://www.linux.net.nz/cgi-bin/mailman/listinfo/nzlug
>
--
R. Eimann
Today's wisdom:
Do witches run spell checkers?
More information about the NZLUG
mailing list