linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: "Stephen C. Tweedie" <sct@redhat.com>
To: "Eric W. Biederman" <ebiederm+eric@ccr.net>
Cc: Ingo Molnar <mingo@chiara.csoma.elte.hu>,
	linux-mm@kvack.org, Stephen Tweedie <sct@redhat.com>
Subject: Re: [PATCHES]
Date: Thu, 27 May 1999 07:24:43 +0100 (BST)	[thread overview]
Message-ID: <14156.58667.141026.238904@dukat.scot.redhat.com> (raw)
In-Reply-To: <m1emk7skik.fsf@flinx.ccr.net>

Hi,

On 23 May 1999 13:34:11 -0500, ebiederm+eric@ccr.net (Eric W. Biederman) said:

> My work on dirty pages sets up a bdflush like mechanism on top of the page
> cache.  So for anything that can fit in the page cache the buffer cache
> simply isn't needed.   Where the data goes when it is written simply doesn't
> matter.

One good reason for using buffers aliased into the page cache is
precisely to avoid a new bdflush mechanism.  We have had enough deadlock
and resource starvation issues with one bdflush that I get nervous about
adding another one!

(IM == Ingo)
IM> I'd like the page cache end up in a design where we can almost
IM> completely avoid any filesystem overhead for quickly
IM> created/destroyed and/or fully cached files. I'd like to have a very
IM> simple unaliased pagecache and no filesystem overhead, on big RAM
IM> boxes.  This was the orignal goal of the page cache as well, as far
IM> as i remember.

Actually the initial motivation of the page cache was to try to keep
per-file dirty lists, to fix fsync.  We just never got round to that!

However, this brings up another point: 

	ftp://ftp.uk.linux.org/pub/linux/sct/fs/misc/fsync-2.2.8-v5.diff

is a set of diffs to fix fsync performance on 2.2.  It fully implements
fsync and fdatasync, and applies the same optimisations to O_SYNC.  It
uses per-inode dirty buffer lists.  Please bear in mind that we still
need such functionality even with the dirty-page-cache mechanism, to
keep track of the indirect blocks if nothing else.

--Stephen

--
To unsubscribe, send a message with 'unsubscribe linux-mm my@address'
in the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://humbolt.geo.uu.nl/Linux-MM/

  reply	other threads:[~1999-05-27  6:24 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-05-23  3:36 [PATCHES] Eric W. Biederman
1999-05-23  6:03 ` [PATCHES] Linus Torvalds
1999-05-23 14:54   ` [PATCHES] Eric W. Biederman
1999-05-23 15:49     ` [PATCHES] Ingo Molnar
1999-05-23 18:34       ` [PATCHES] Eric W. Biederman
1999-05-27  6:24         ` Stephen C. Tweedie [this message]
1999-05-27 19:55           ` [PATCHES] Chuck Lever
1999-05-27 23:39             ` [PATCHES] Stephen C. Tweedie
1999-05-28  5:30               ` [PATCHES] Chuck Lever
1999-05-29  1:24                 ` [PATCHES] Stephen C. Tweedie
1999-05-30 17:01           ` [PATCHES] Eric W. Biederman
1999-05-27  6:25         ` [PATCHES] Stephen C. Tweedie
1999-05-24 17:20       ` [PATCHES] Manfred Spraul

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=14156.58667.141026.238904@dukat.scot.redhat.com \
    --to=sct@redhat.com \
    --cc=ebiederm+eric@ccr.net \
    --cc=linux-mm@kvack.org \
    --cc=mingo@chiara.csoma.elte.hu \
    /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