All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: "Ober, Frank" <frank.ober@intel.com>,
	Daniel Menzel <daniel.menzel@menzel-it.net>,
	"fio@vger.kernel.org" <fio@vger.kernel.org>
Subject: Re: io_uring on CentOS8?
Date: Tue, 16 Feb 2021 12:51:10 -0700	[thread overview]
Message-ID: <c115f8ee-a466-8225-99e9-765384bb2ba2@kernel.dk> (raw)
In-Reply-To: <CO1PR11MB48044A2F300CE9B9FCE08D0B8B879@CO1PR11MB4804.namprd11.prod.outlook.com>

On 2/16/21 12:00 PM, Ober, Frank wrote:
> Hi Daniel, Intel uses pvsync2 for QD1 testing so if you cannot use spdk or io_uring (these are the fastest ways to test a device), you can switch your engine to pvsync2 on this kernel and this will work. 
> 
> Here's what I tried on PCIe Gen3 system with an Optane drive and your drive.
> 
> 
> [root@fm42adsdemo001 block]# fio --bs=1M --rw=randwrite --numjobs=1 --iodepth=1  --size=10000M \
>> --filename=/dev/nvme6n1 --name=mylittletest --direct=1 --fsync=1 \
>> --refill_buffers --ioengine=pvsync2 --group_reporting \
>> --fallocate=none --runtime=60 --time_based --hipri
> mylittletest: (g=0): rw=randwrite, bs=(R) 1024KiB-1024KiB, (W) 1024KiB-1024KiB, (T) 1024KiB-1024KiB, ioengine=pvsync2, iodepth=1
> fio-3.24-5-g2ee2
> Starting 1 process
> Jobs: 1 (f=1): [w(1)][100.0%][w=2048MiB/s][w=2048 IOPS][eta 00m:00s]
> 
> I ran the same exact job on this mid-range Intel Xeon cpu and found io_uring only very slightly faster than pvsync2
> Jobs: 1 (f=1): [w(1)][100.0%][w=2057MiB/s][w=2057 IOPS][eta 00m:00s]

That's not too surprising, if you're at queuedepth=1 or doing sync IO, then
I'd consider it a major win that the async API is just as fast or faster
than the sync one :-)


-- 
Jens Axboe



  parent reply	other threads:[~2021-02-16 19:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-14 15:17 io_uring on CentOS8? Daniel Menzel
2021-02-14 16:49 ` Jens Axboe
2021-02-16 19:00   ` Ober, Frank
2021-02-16 19:46     ` Daniel Menzel
2021-02-16 19:51     ` Jens Axboe [this message]
2021-02-17  8:42       ` Daniel Menzel

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=c115f8ee-a466-8225-99e9-765384bb2ba2@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=daniel.menzel@menzel-it.net \
    --cc=fio@vger.kernel.org \
    --cc=frank.ober@intel.com \
    /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.