All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dmitry Antipov <dantipov@cloudlinux.com>
To: Seyed Mohammad Fakhraie <fk.smoh@gmail.com>
Cc: fio@vger.kernel.org
Subject: Re: Using FIO to benchmark Gluster
Date: Tue, 21 Dec 2021 14:35:42 +0300	[thread overview]
Message-ID: <c6a02612-51e1-c759-0fcd-a6a2e8721d97@cloudlinux.com> (raw)
In-Reply-To: <CACzyWQy7MXp619uJhJ=uDWqabT_xwt=6bu=Z5103twPJJMz1=A@mail.gmail.com>

On 12/21/21 13:21, Seyed Mohammad Fakhraie wrote:

> Thanks Dmitry. As you pointed out, 18446744073709551615 is an
> interesting number. I'm just thinking out loud here and I haven't
> looked at the code yet, could it be caused by an overflow?

Looking through fio sources, my guess is that -1 internally means
"not decided (yet)". Passing -1 via gfapi tells the GlusterFS brick
process to create (size_t)-1 bytes file, which is 2^64 - 1 and not
supported by GlusterFS. Most likely this value is too large for an
underlying filesystem as well (for example, XFS native limit is
2^63 - 1 bytes).

I would suggest to consider simpler scenarios. For example, the
following seems works as expected, and it's quite similar to your
job file:

fio --ioengine=gfapi --volume=test0 --brick=localhost --direct=1 \
     --create_on_open=1 --iodepth=1 --numjobs=1 --bs=4k --size=1G \
     --time_based --runtime=180 --rw=randread --name=test0

Dmitry

      parent reply	other threads:[~2021-12-21 11:35 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-24 16:01 Using FIO to benchmark Gluster Seyed Mohammad Fakhraie
2021-11-24 16:24 ` Dmitry Antipov
     [not found]   ` <CACzyWQzih6gCQ4vYGA9Hwj-Zq4_d+YKC1j=secP8W9nr7bZCgg@mail.gmail.com>
2021-11-25 15:18     ` Dmitry Antipov
     [not found]       ` <CACzyWQwCvsCkh=Ui_cr5Hh8jqZGEkX4B1YwujEnR6nYutjPveA@mail.gmail.com>
2021-12-20 14:38         ` Dmitry Antipov
     [not found]           ` <CACzyWQwe2SYR_W=XyuCk=THBZ-0frnh5u1gtjALfnZBpu6EerA@mail.gmail.com>
2021-12-21  9:34             ` Dmitry Antipov
     [not found]               ` <CACzyWQy7MXp619uJhJ=uDWqabT_xwt=6bu=Z5103twPJJMz1=A@mail.gmail.com>
2021-12-21 11:35                 ` Dmitry Antipov [this message]

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=c6a02612-51e1-c759-0fcd-a6a2e8721d97@cloudlinux.com \
    --to=dantipov@cloudlinux.com \
    --cc=fio@vger.kernel.org \
    --cc=fk.smoh@gmail.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.