linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Nikita Danilov <nikita@clusterfs.com>
To: Andrew Morton <akpm@osdl.org>
Cc: linux-mm@kvack.org
Subject: Re: [PATCH]: VM 6/8 page_referenced(): move dirty
Date: Tue, 26 Apr 2005 14:20:03 +0400	[thread overview]
Message-ID: <17006.5587.396660.728303@gargle.gargle.HOWL> (raw)
In-Reply-To: <20050426030517.0a72ee14.akpm@osdl.org>

Andrew Morton writes:
 > Nikita Danilov <nikita@clusterfs.com> wrote:
 > >
 > > Andrew Morton writes:
 > >   > Nikita Danilov <nikita@clusterfs.com> wrote:
 > >   > >
 > >   > >   > 
 > >   > >   > I can envision workloads (such as mmap 80% of memory and continuously dirty
 > >   > >   > it) which would end up performing continuous I/O with this patch.
 > >   > > 
 > >   > >  Below is a version that tries to move dirtiness to the struct page only
 > >   > >  if we are really going to deactivate the page. In your scenario above,
 > >   > >  continuously dirty pages will be on the active list, so it should be
 > >   > >  okay.
 > >   > 
 > >   > OK, well it'll now increase the amount of I/O by a smaller amount.  Trade
 > >   > that off against possibly improved I/O patterns.  But how do we know that
 > >   > all this is a net gain?
 > > 
 > >  By looking at the (micro-) benchmarking results:
 > > 
 > >  2.6.12-rc2:
 > > 
 > >  before-patch page_referenced-move-dirty
 > > 
 > >          45.8  32.3
 > >         204.3  93.2
 > >         194.8  89.5
 > >         194.9  89.9
 > >         197.7  92.1
 > >         195.0  90.2
 > >         199.4  89.5
 > >         196.3  89.2
 > 
 > hm.  What's the reason for such a large difference?  That workload should

Early write-out from pdflush and balance_dirty_pages()?

 > just be doing pretty-much-linear write even if we're writing a
 > page-at-a-time off the tail of the LRU.
 > 
 > Was that box SMP?

Single P4 with HT; file system is ext3.

Nikita.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>

  reply	other threads:[~2005-04-26 10:20 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-17 17:37 Nikita Danilov
2005-04-26  4:00 ` Andrew Morton
2005-04-26  8:49   ` Nikita Danilov
2005-04-26  8:55     ` Andrew Morton
2005-04-26  9:36       ` Nikita Danilov
2005-04-26 10:05         ` Andrew Morton
2005-04-26 10:20           ` Nikita Danilov [this message]
2005-04-26 10:33             ` Andrew Morton

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=17006.5587.396660.728303@gargle.gargle.HOWL \
    --to=nikita@clusterfs.com \
    --cc=akpm@osdl.org \
    --cc=linux-mm@kvack.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