From: Oleg Drokin <green@namesys.com>
To: Peter Zaitsev <pz@spylog.ru>
Cc: linux-kernel@vger.kernel.org
Subject: Re: MMAP vs READ/WRITE
Date: Wed, 13 Mar 2002 16:41:58 +0300 [thread overview]
Message-ID: <20020313164158.A1219@namesys.com> (raw)
In-Reply-To: <861732271654.20020313161718@spylog.ru>
In-Reply-To: <861732271654.20020313161718@spylog.ru>
Hello!
On Wed, Mar 13, 2002 at 04:17:18PM +0300, Peter Zaitsev wrote:
> So I would say mmap is not really optimized nowdays in Linux and so
> read() may be wining in cases it should not. May be read-ahead is
> used with read and is not used with mmap.
how about reading manual page on madvise(2) and redoing your test?
Also cache is best cleaned by unmounting filesystem in question
and then mounting it back.
Bye,
Oleg
next prev parent reply other threads:[~2002-03-13 13:42 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-13 13:17 MMAP vs READ/WRITE Peter Zaitsev
2002-03-13 13:41 ` Oleg Drokin [this message]
2002-03-14 9:27 ` Re[2]: " Peter Zaitsev
2002-03-13 13:58 ` Rik van Riel
2002-03-13 14:48 ` Re[2]: " Peter Zaitsev
2002-03-13 14:58 ` Rik van Riel
2002-03-13 15:17 ` Re[3]: " Peter Zaitsev
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=20020313164158.A1219@namesys.com \
--to=green@namesys.com \
--cc=linux-kernel@vger.kernel.org \
--cc=pz@spylog.ru \
/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