mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@digeo.com>
To: "Martin J. Bligh" <mbligh@aracnet.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Strange performance change 59 -> 61/62
Date: Sat, 22 Feb 2003 00:04:10 -0800	[thread overview]
Message-ID: <20030222000410.11a46e03.akpm@digeo.com> (raw)
In-Reply-To: <22560000.1045899976@[10.10.2.4]>

"Martin J. Bligh" <mbligh@aracnet.com> wrote:
>
> > mark_inode_dirty() tends to be called _very_ frequently.  Too frequently.
> > 
> > Could you try remounting all filesystems noatime with
> > 
> > 	mount /mnt/point -o remount,noatime
> > 
> > and the below patch will prevent us calling the barrier-happy
> > current_kernel_time() for noatime mounts.
> 
> Cool, that works nicely - thanks.
> 
> 2.5.59-mjb6:             84 __mark_inode_dirty
> 2.5.61-mjb1:            594 __mark_inode_dirty
> 2.5.61-mjb1-no_mb:       74 __mark_inode_dirty
> 2.5.61-mjb1-noatime:     65 __mark_inode_dirty
> 

OK.  We used to only run mark_inode_dirty() for atime updates just when it
had actually changed.  ie: once per second.  But for reasons which remain
obscure that was taken out.

This probably explains your ext3 woes.  Poor old ext3 has to do a ton of work
in ext3_mark_inode_dirty(), yet on 99% of the calls, nothing has even
changed.  Which is why I suggested that you retest ext3 with noatime.

I shall fix it up.


  reply	other threads:[~2003-02-22  7:54 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-19 16:23 Martin J. Bligh
2003-02-19 18:19 ` Andrew Morton
2003-02-21  7:19   ` Martin J. Bligh
2003-02-21  7:28     ` Martin J. Bligh
2003-02-21  7:45       ` Andrew Morton
2003-02-21 17:27         ` Martin J. Bligh
2003-02-21 20:20           ` Andrew Morton
2003-02-22  7:46             ` Martin J. Bligh
2003-02-22  8:04               ` Andrew Morton [this message]
2003-02-22  8:10                 ` Martin J. Bligh
2003-02-19 17:19 Martin J. Bligh

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=20030222000410.11a46e03.akpm@digeo.com \
    --to=akpm@digeo.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mbligh@aracnet.com \
    /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

all inboxes | Powered by JetHome®