All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrea Arcangeli <andrea@suse.de>
To: David Schwartz <davids@webmaster.com>
Cc: Laurent Chavet <lchavet@av.com>, linux-kernel@vger.kernel.org
Subject: Re: Is there a way to turn file caching off ?
Date: Wed, 18 Apr 2001 21:00:00 +0200	[thread overview]
Message-ID: <20010418210000.H30770@athlon.random> (raw)
In-Reply-To: <3ADD4E61.A2A9CE9@av.com> <NCBBLIEPOCNJOAEKBEAKOEPOOGAA.davids@webmaster.com>
In-Reply-To: <NCBBLIEPOCNJOAEKBEAKOEPOOGAA.davids@webmaster.com>; from davids@webmaster.com on Wed, Apr 18, 2001 at 11:21:46AM -0700

On Wed, Apr 18, 2001 at 11:21:46AM -0700, David Schwartz wrote:
> 
> 
> 	[..] If we assume the caching isn't helping [..]

If you know kernel data cache doesn't help your workload at all then you want
use O_DIRECT at least to save the CPU.  You can run 2.4.4pre3aa3 or apply the
rawio-3 patch and then the o_direct-2 patch on top of 2.4.4pre3 if you want
O_DIRECT support (it also fixes the O_SYNC wait for locked inode bug noticed by
Marcelo).

You will find detailed explanation on the O_DIRECT feature and where to
find the patches if you grep for subject O_DIRECT in the l-k list in the
messages of this month.

Andrea

  reply	other threads:[~2001-04-18 18:45 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <3ADD4E61.A2A9CE9@av.com>
2001-04-18 18:21 ` Is there a way to turn file caching off ? David Schwartz
2001-04-18 19:00   ` Andrea Arcangeli [this message]
2001-04-17 16:37 Laurent Chavet
2001-04-18  4:56 ` David Schwartz
2001-04-18 11:49 ` Bjorn Wesen
2001-04-18 13:43   ` Jeremy Jackson
2001-04-19  8:21     ` Helge Hafting
2001-04-19 16:15       ` Jeremy Jackson
2001-04-19 18:01       ` John Lenton

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=20010418210000.H30770@athlon.random \
    --to=andrea@suse.de \
    --cc=davids@webmaster.com \
    --cc=lchavet@av.com \
    --cc=linux-kernel@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.