Re: [PATCH 2/3] ext4: journalled quota optimization

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Dmitry Monakhov
Date: Wednesday, April 7, 2010 - 1:12 am

Jan Kara <jack@suse.cz> writes:

This one was done more than a month ago, but i think they are
still correct
http://download.openvz.org/~dmonakhov/docs/quota/STATUS.html
I was too lazy(i say my self that i'm busy) to remeasure results in
more mature SMP host(now i have host with 8 cores). I hope i'll do it
this week. The performance gain is easy to describe
Assume you have 16 writer tasks (with same uid for simplicity)
and the first lucky one is able to grab dqio_mutex.
others 15 are modified dquota and wait for dqio_mutex to
write the exact same value.
But after the patch we have only two IO involved tasks
one which actually acquired the mutex and other which wait for
the mutex.
So in my example only first task from 15 will wait on mutex, and
others will return without wait.
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/3] ext4/quota: journalled quota optimizations, Dmitry Monakhov, (Sat Mar 27, 5:15 am)
[PATCH 1/3] quota: optimize mark_dirty logic, Dmitry Monakhov, (Sat Mar 27, 5:15 am)
[PATCH 2/3] ext4: journalled quota optimization, Dmitry Monakhov, (Sat Mar 27, 5:15 am)
[PATCH 3/3] ext4: optimize quota write locking, Dmitry Monakhov, (Sat Mar 27, 5:15 am)
Re: [PATCH 2/3] ext4: journalled quota optimization, Dmitry Monakhov, (Wed Apr 7, 1:12 am)