Thread (2 messages) 2 messages, 2 authors, 2014-08-13

Re: [PATCH v2 0/4] quota: add project quota support

From: Theodore Ts'o <tytso@mit.edu>
Date: 2014-08-13 13:22:38
Also in: linux-fsdevel

On Wed, Aug 13, 2014 at 10:32:31AM +0800, Li Xi wrote:
Yeah, we were using non-journaled quota. And we were doing this
benchmark to confirm that xattr based implementation has extra
overhead. We will run benchmarks on journaled-quota, and let's see
what is the performance difference between non-journaled and
journaled quotas.
Can you give a lot of details about exactly how you ran the benchmark
(and run future benchmarks)?  Was this on a ramdisk?  An SSD?  A HDD?
How many CPU's, how many threads were creating files, etc.  And do you
understand where the performance overhead was coming from?  Was it CPU
overhead?  Locking overhead?

It just doesn't make sense that storing the value in the xattr, when
the xattr is stored in the on-disk inode, that it should make a huge
difference; the cost of the I/O should completely dominate the cost of
whether we format the bytes as an integer or storing it in the
in-inode xattr.  So either there is a bug in the benchmark, or a bug
in our code somewhere.  Either way, we should find and fix it.

Regards,

						- Ted
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help