All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <jens.axboe@oracle.com>
To: Richard Kennedy <richard@rsk.demon.co.uk>
Cc: fio <fio@vger.kernel.org>
Subject: Re: fio mmap writes much slower than default writes
Date: Sat, 18 Jul 2009 08:18:20 +0200	[thread overview]
Message-ID: <20090718061819.GF4148@kernel.dk> (raw)
In-Reply-To: <1247751607.2689.63.camel@localhost.localdomain>

On Thu, Jul 16 2009, Richard Kennedy wrote:
> Running tests of fio write with sizes that are less than the write cache
> size I'm seeing a big slow down when using mmap. I'm running the tests
> on linux 2.6.31-rc* x86_64. 
> 
> Typical results with default writes :- 
> 
> fio size=300m rw=write 
>   write: io=300MiB, bw=314MiB/s, iops=80,418, runt= 955msec
> 
> with mmap :- 
> 
> fio size=300m rw=write ioengine=mmap
>  write: io=300MiB, bw=55,732KiB/s, iops=13,933, runt= 5512msec
> 
> 
> Is this expected or is it indicative of a problem somewhere?

What does the full job file look like? Is the file cached, or are the
faults reading in data?

-- 
Jens Axboe


  reply	other threads:[~2009-07-18  6:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-16 13:40 fio mmap writes much slower than default writes Richard Kennedy
2009-07-18  6:18 ` Jens Axboe [this message]
2009-07-18 13:58   ` Richard Kennedy
2009-07-18 14:20     ` Jens Axboe
2009-07-18 14:39     ` Jens Axboe
2009-07-18 14:50       ` Richard Kennedy

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=20090718061819.GF4148@kernel.dk \
    --to=jens.axboe@oracle.com \
    --cc=fio@vger.kernel.org \
    --cc=richard@rsk.demon.co.uk \
    /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.