All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: Greg Sullivan <greg.sullivan@sullivang.net>
Cc: fio@vger.kernel.org
Subject: Re: Direct io on Ubuntu i386?
Date: Mon, 20 Aug 2012 12:57:57 +0200	[thread overview]
Message-ID: <50321835.8060608@kernel.dk> (raw)
In-Reply-To: <CAHaS=Qwn2zxQWkvy=ZPQstwwOuX1P__=Gp1jw9WW3Jy6jpDWxA@mail.gmail.com>

On 08/20/2012 02:57 AM, Greg Sullivan wrote:
> I'm trying to do direct io (to avoid the file system cache) on Ubuntu
> i386. I've tried direct=1, and tried the io engines sync and libaio -
> it always seems to use the cache.
> 
> Is there a way to bypass the file system cache on Ubuntu? I've got a
> vanilla install using the automated Ubuntu installer for Windows i386
> 32-bit (dual boot).

direct=1 will certainly bypass the cache on Linux, regardless of
version. What makes you suspect otherwise?

-- 
Jens Axboe


  reply	other threads:[~2012-08-20 10:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-20  0:57 Direct io on Ubuntu i386? Greg Sullivan
2012-08-20 10:57 ` Jens Axboe [this message]
2012-08-20 11:37   ` Greg Sullivan
2012-08-20 11:42     ` Jens Axboe
2012-08-21 11:32       ` Greg Sullivan

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=50321835.8060608@kernel.dk \
    --to=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.