linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dmitry Monakhov <dmonakhov@openvz.org>
To: Jan Kara <jack@suse.cz>
Cc: linux-fsdevel@vger.kernel.org, Dmitry Monakhov <dmonakhov@openvz.org>
Subject: [PATCH 0/2] quota: smp scalability improvements
Date: Thu, 17 Dec 2009 04:12:24 +0300	[thread overview]
Message-ID: <1261012344-13046-1-git-send-email-dmonakhov@openvz.org> (raw)

patches:
1) quota initialization improvements
   - optimize case where quota already initialized
   - redesign dqptr_sem management for vfs_dq_init()
  
2) ext4 journalled quota make_dirty seed-up
   - optimize ->make_dirty() callback for journalled quota.

PERFORMANCE CHART
System: Laptop thinkpad t60 Core Duo T2500 (2 cores) 
open-close     : close(open())
open-unlink    : unlink(open())
write-truncate :  pwrite(,,40960,0); truncate(0)
- w/o quot: without quota 
- w quot: with journalled quota on
- w sem: with dqptr_sem improvement patch
- w mk_drt: with journalled make_dirty patch
|----------------+----------+--------+-------+----------|
|     open-close | w/o quot | w quot | w sem | w mk_drt |
|  NR tasks    1 |      170 |    104 |   161 |      173 |
|                |      176 |    104 |   166 |      172 |
|                |      176 |    104 |   161 |      172 |
|                |          |        |       |          |
|              4 |       80 |     42 |    81 |       79 |
|                |       80 |     42 |    78 |       78 |
|                |       80 |     41 |    80 |       79 |
|                |          |        |       |          |
|              8 |       34 |      4 |    28 |       32 |
|                |       27 |      5 |    23 |       38 |
|                |       33 |      5 |    25 |       35 |
|----------------+----------+--------+-------+----------|
|    open-unlink |          |        |       |          |
|     NR tasks 1 |       25 |   12.7 |    16 |     15.3 |
|                |       25 |   12.8 |    16 |     15.3 |
|                |       24 |   12.7 |    16 |     15.2 |
|                |          |        |       |          |
|              4 |      8.9 |    1.1 |   3.8 |      3.8 |
|                |      8.9 |    1.1 |   3.3 |      3.9 |
|                |      8.1 |    1.1 |   3.8 |      4.0 |
|                |          |        |       |          |
|              8 |      4.3 |   0.54 |  1.12 |     1.37 |
|                |      4.3 |   0.53 |  1.41 |      1.5 |
|                |      3.9 |   0.53 |   1.5 |     1.52 |
|----------------+----------+--------+-------+----------|
| write-truncate |          |        |       |          |
|     NR tasks 1 |     32.1 |   30.1 |  30.7 |     30.1 |
|                |     31.8 |   30.7 |  30.6 |     30.2 |
|                |     32.0 |   30.6 |  30.6 |     30.0 |
|                |          |        |       |          |
|              4 |      8.8 |   8.45 |   8.1 |      8.3 |
|                |      9.0 |    9.1 |   8.2 |      9.4 |
|                |      9.1 |    8.9 |   9.5 |      8.4 |
|                |          |        |       |          |
|              8 |      4.9 |    4.6 |   4.8 |     4.75 |
|                |      4.9 |    4.5 |   4.7 |      5.1 |
|                |      4.7 |    4.9 |   4.5 |      5.8 |
|----------------+----------+--------+-------+----------|

In fact patch-set is a first shot of larger project
https://docs.google.com/fileview?id=0B2R3Idv6LrRhYjczYTA5N2MtMmUwZS00NTAzLWIwMmYtZjllODQ5OTY5YmI4&hl=en 
It is not clear how long does it takes to complete it. I just want to 
let you know what I'm think in that direction.

                 reply	other threads:[~2009-12-17  1:12 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1261012344-13046-1-git-send-email-dmonakhov@openvz.org \
    --to=dmonakhov@openvz.org \
    --cc=jack@suse.cz \
    --cc=linux-fsdevel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).