Linux NILFS development
 help / color / mirror / Atom feed
From: Ryusuke Konishi <ryusuke-sG5X7nlA6pw@public.gmane.org>
To: krustev-sueGvCUcFGXR7s880joybQ@public.gmane.org
Cc: linux-nilfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	users-JrjvKiOkagjYtjvyW6yDsg@public.gmane.org
Subject: Re: Performance problems over AoE
Date: Tue, 22 Dec 2009 03:46:36 +0900 (JST)	[thread overview]
Message-ID: <20091222.034636.28059259.ryusuke@osrg.net> (raw)
In-Reply-To: <200912211821.45366.krustev-sueGvCUcFGXR7s880joybQ@public.gmane.org>

Hi,
On Mon, 21 Dec 2009 18:21:39 +0200, Delian Krustev wrote:
> 
> 	Hi,
> 
> Thanks for the answers.
> 
> On Sat, 19 Dec 2009 18:43:46 +0900 (JST) Ryusuke Konishi wrote:
> > Thank you for letting us know the interesting measurement result.
> > 
> > Actually we recognize similar issue on high performance drives, but
> > this looks worse than the cases we know.
> 
> This might be due to the increased latency of the AoE device.

I agree.
 
> > In the 2.6.33 merge window, I sent some series of patches upstream to
> > improve write performance.  And, the effort is still going on.
> > 
> > I would appreciate it if you could try nilfs in kernel 2.6.33-rc1 or
> > optimization patches that will be appeared ongoingly in this list or
> > linux-nilfs.
> 
> OK, I will try it. Just have to figure out on which hardware since the
> setup I've described is on production systems and running early RC kernels
> there is not an option.
> But I will probably find the metal or will create some VM images.

Thank you for your cooperation.

If you prefer customized kernels prior to 2.6.30, I can upload a new
git tree of nilfs2 kmod which backported the latest improvement
patches.

In my debian environment, 2.6.33-rc1 vanilla kernel is, so far,
working nicely.

> > Unfortunately no.  The contiguous check point creation is what nilfs
> > stands for.  But, I think the performance impact of cp creation is not
> > so high unless you are doing osync writes.
> 
> Did you read the part for the cleanerd causing high load on the network
> interface ?

OK, so you mean cp creation by GC.

Yes, it's another issue.  GC of nilfs involves checkpoint creation.
The problem is, the current GC is so stupid and leading to needless
I/O overheads.

You can turn off cleanerd with -i option.

e.g.
 # mount -t nilfs2 -i /dev/xxx /test-dir

And, this is useful when you want to separate the cause of performance
issue.  But anyway, GC should be definitely revised to remedy the
situation.

> And the checkpoints being created with no data modifications ?

Yes, even if you don't modify the filesystem, nilfs internally
requires it for GC.
 
> Do you have a guess for these ?

Well, it looks suffering either or both.  ``mount -i'' would clear up
the matter.

I recognize the current nilfs has both the latency issue and the GC
issue, and I believe both should be improved.

Cheers,
Ryusuke Konishi 

      parent reply	other threads:[~2009-12-21 18:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-19  0:24 Performance problems over AoE Delian Krustev
     [not found] ` <200912190224.46774.krustev-sueGvCUcFGXR7s880joybQ@public.gmane.org>
2009-12-19  9:43   ` Ryusuke Konishi
     [not found]     ` <20091219.184346.239007912.ryusuke-sG5X7nlA6pw@public.gmane.org>
2009-12-21 16:21       ` Delian Krustev
     [not found]         ` <200912211821.45366.krustev-sueGvCUcFGXR7s880joybQ@public.gmane.org>
2009-12-21 18:46           ` Ryusuke Konishi [this message]

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=20091222.034636.28059259.ryusuke@osrg.net \
    --to=ryusuke-sg5x7nla6pw@public.gmane.org \
    --cc=krustev-sueGvCUcFGXR7s880joybQ@public.gmane.org \
    --cc=linux-nilfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=users-JrjvKiOkagjYtjvyW6yDsg@public.gmane.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