From: Mark Mielke <mark@mark.mielke.cc>
To: Robert Love <rml@tech9.net>
Cc: "J.A. Magallon" <jamagallon@able.es>,
Lista Linux-Kernel <linux-kernel@vger.kernel.org>
Subject: Re: More on O_STREAMING (goodby read pauses)
Date: Wed, 9 Oct 2002 23:40:57 -0400 [thread overview]
Message-ID: <20021010034057.GC8805@mark.mielke.cc> (raw)
In-Reply-To: <1034203433.794.152.camel@phantasy>
On Wed, Oct 09, 2002 at 06:43:52PM -0400, Robert Love wrote:
> On Wed, 2002-10-09 at 18:23, J.A. Magallon wrote:
> > But I did the test with an addition: read a 1Gb file and print an '*'
> > after every 10M. Without O_STREAMING, when memory fills, the 'progress
> > bar' stalls for a few seconds while pages are sent to disk.
> > So the patch also favours a constant sustained rate of read from the
> > disk. Very interesting for things like video edition and so on.
> > I like it ;).
> This is 100% the point of the patch and hopefully the point I proved
> when I first posted it.
I assume the stall is not 'while pages are sent to disk', but rather
until kswapd gets around to freeing enough pages to allow memory to
fill again. The stall is due to the pages being fully analyzed to
determine which ones should go, and which ones shouldn't. O_STREAMING
removes the pages ahead of time, so no analysis is ever required.
mark
--
mark@mielke.cc/markm@ncf.ca/markm@nortelnetworks.com __________________________
. . _ ._ . . .__ . . ._. .__ . . . .__ | Neighbourhood Coder
|\/| |_| |_| |/ |_ |\/| | |_ | |/ |_ |
| | | | | \ | \ |__ . | | .|. |__ |__ | \ |__ | Ottawa, Ontario, Canada
One ring to rule them all, one ring to find them, one ring to bring them all
and in the darkness bind them...
http://mark.mielke.cc/
next prev parent reply other threads:[~2002-10-10 3:36 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-09 22:23 More on O_STREAMING (goodby read pauses) J.A. Magallon
2002-10-09 22:43 ` Robert Love
2002-10-10 3:40 ` Mark Mielke [this message]
2002-10-10 14:39 ` J.A. Magallon
2002-10-10 18:01 ` Mark Mielke
2002-10-10 22:50 ` J.A. Magallon
2002-10-10 23:06 ` Andrew Morton
2002-10-11 2:04 ` Mark Mielke
-- strict thread matches above, loose matches on Subject: below --
2002-10-11 8:13 Samium Gromoff
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=20021010034057.GC8805@mark.mielke.cc \
--to=mark@mark.mielke.cc \
--cc=jamagallon@able.es \
--cc=linux-kernel@vger.kernel.org \
--cc=rml@tech9.net \
/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