All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bruce Cran <bruce@cran.org.uk>
To: Martin Steigerwald <Martin@lichtvoll.de>
Cc: Jens Axboe <axboe@kernel.dk>,
	Greg Sullivan <greg.sullivan@sullivang.net>,
	"fio@vger.kernel.org" <fio@vger.kernel.org>
Subject: Re: "Invalidate" not functional on Windows?
Date: Tue, 14 Aug 2012 18:40:30 +0100	[thread overview]
Message-ID: <502A8D8E.70200@cran.org.uk> (raw)
In-Reply-To: <201208141934.00289.Martin@lichtvoll.de>

On 14/08/2012 18:33, Martin Steigerwald wrote:
> 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.

On Windows (windowsaio) use sync=1 to disable buffering of writes. For 
reads, use direct=1.

-- 
Bruce Cran


  reply	other threads:[~2012-08-14 17:40 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
2012-08-14 17:40       ` Bruce Cran [this message]
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=502A8D8E.70200@cran.org.uk \
    --to=bruce@cran.org.uk \
    --cc=Martin@lichtvoll.de \
    --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 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.