Re: Performance versus FreeBSD 7.0

From: Cyrus Massoumi
Date: Tue Mar 04 2008 - 00:51:22 EST


Andi Kleen wrote:
Cyrus Massoumi <cyrusm@xxxxxxx> writes:
IIRC, going to fine-grained file locking gave them a huge boost in
this particular benchmark (and maybe others).

What locking? You mean their equivalent of i_mutex? There are already file systems on Linux that don't use it significantly
for write.

As I said on lwn.net Peter Zijlstra posted a patch to break the global
file list lock about a year ago [1], but I don't think it was ever
merged. Here [2] are some numbers for the patchset.

The file_list_lock is only for open/close which MySQL is very unlikely
to do in its fast path. You're totally on the wrong path here I think.

Yes, Nick already corrected me, sorry for the noise :)

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/