From: Martin Steigerwald <Martin@lichtvoll.de>
To: Jens Axboe <axboe@kernel.dk>
Cc: Greg Sullivan <greg.sullivan@sullivang.net>,
fio@vger.kernel.org, Bruce Cran <BCran@fusionio.com>
Subject: Re: "Invalidate" not functional on Windows?
Date: Tue, 14 Aug 2012 19:33:59 +0200 [thread overview]
Message-ID: <201208141934.00289.Martin@lichtvoll.de> (raw)
In-Reply-To: <502A4D53.7080801@kernel.dk>
Am Dienstag, 14. August 2012 schrieb Jens Axboe:
> On 08/14/2012 06:57 AM, Greg Sullivan wrote:
> > I need to perform reads without using any caching. I have the line
> > "invalidate=1" in my job file, however it is still using the cache. I
> > am running Windows 7 32-bit. Is the "invalidate" command supposed to
> > be functional on Windows? If so, what am I doing wrong?
> >
> > That aside, what a great utility this is - thankyou!!
>
> As far as what I remember from talking/mailing with Bruce (CC'ed),
> there's no way to invalidate the cache in Windows.
invalidate discards the buffer cache before the job group is started.
During the job execution caches will be in use anyway. Unless using
direct I/O (direct=1). Don´t know whether direct I/O will work with
"windowsaio" I/O engine or in any other way on Windows.
--
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA B82F 991B EAAC A599 84C7
next prev parent reply other threads:[~2012-08-14 17:33 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAHaS=QzLW_CcDATeZnWXPEiVEGRJr9UHdohyJo53M4pp+hh27g@mail.gmail.com>
2012-08-14 4:57 ` "Invalidate" not functional on Windows? Greg Sullivan
2012-08-14 13:06 ` Jens Axboe
2012-08-14 17:33 ` Martin Steigerwald [this message]
2012-08-14 17:40 ` Bruce Cran
2012-08-14 17:50 ` Martin Steigerwald
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=201208141934.00289.Martin@lichtvoll.de \
--to=martin@lichtvoll.de \
--cc=BCran@fusionio.com \
--cc=axboe@kernel.dk \
--cc=fio@vger.kernel.org \
--cc=greg.sullivan@sullivang.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