From: "David Schwartz" <davids@webmaster.com>
To: "Laurent Chavet" <lchavet@av.com>
Cc: <linux-kernel@vger.kernel.org>
Subject: RE: Is there a way to turn file caching off ?
Date: Wed, 18 Apr 2001 11:21:46 -0700 [thread overview]
Message-ID: <NCBBLIEPOCNJOAEKBEAKOEPOOGAA.davids@webmaster.com> (raw)
In-Reply-To: <3ADD4E61.A2A9CE9@av.com>
It's insignificant. If we assume the caching isn't helping, that means each
'non-recent' page access results in an IO operation. The cost of an IO
operation (a millisecond or more) is so much in comparison to the cost of a
primary cache miss (less than a microsecond) that avoiding a ferw primary
cache misses per IO isn't likely to make any measurable difference.
DS
-----Original Message-----
From: lchavet@smo.av.com [mailto:lchavet@smo.av.com]On Behalf Of Laurent
Chavet
Sent: Wednesday, April 18, 2001 1:21 AM
To: David Schwartz
Cc: linux-kernel@vger.kernel.org
Subject: Re: Is there a way to turn file caching off ?
Since the speed already drops before even writing to disk, I was thinking
that for "large memory" the management of the tree that contain which pages
are cached becomes high (since the tree is large and probably doesn't fit in
primary cache).
So if you can limit the size of what you cache, you limit the size of the
tree -> you limit the time spent in the tree.
(by the way I'm using both 2.4.2 that come with RedHat 7.1 and 2.4.4 pre 3
and see the same thing).
Laurent
David Schwartz wrote:
> Is there a way to turn file caching off, or at least limit its size ?
>
> Thanks,
>
> Laurent Chavet
What benefit do you think you would get by limiting its size? All
that
would do is ensure you hit the cache thrashing point sooner.
DS
--
Laurent Chavet
next parent reply other threads:[~2001-04-18 18:22 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 ` David Schwartz [this message]
2001-04-18 19:00 ` Andrea Arcangeli
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=NCBBLIEPOCNJOAEKBEAKOEPOOGAA.davids@webmaster.com \
--to=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 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®