From: Jens Axboe <axboe@kernel.dk>
To: Alexey Skidanov <Alexey.Skidanov@sandisk.com>,
"fio@vger.kernel.org" <fio@vger.kernel.org>
Cc: Alex Lemberg <Alex.Lemberg@sandisk.com>
Subject: Re: FIO on ARM
Date: Tue, 05 May 2015 09:47:26 -0600 [thread overview]
Message-ID: <5548E60E.4010301@kernel.dk> (raw)
In-Reply-To: <CF2184B79FF73642B463E092E85766BF04A85605@SACMBXIP01.sdcorp.global.sandisk.com>
On 05/05/2015 03:02 AM, Alexey Skidanov wrote:
> Hi,
>
> I would like to run FIO on an ARM based board. I have cloned the git repository by git clone git://git.kernel.dk/fio.git and cross compiled the sources (exactly as it explained in the README file). After that, I have created a simple job file test.fio:
>
> [global]
> bs=512k
> iodepth=4
> size=1g
> direct=1
> runtime=60
> directory= ...
> filename= ...
> ioengine=libaio
>
> [seq-read]
> rw=read
> stonewall
>
> [rand-read]
> rw=randread
> stonewall
>
> [seq-write]
> rw=write
> stonewall
>
> [rand-write]
> rw=randwrite
> stonewall
>
> Running fio test.fio I get the following error:
>
> fio: engine libaio not loadable
> fio: failed to load engine libaio
> fio: file:ioengines.c:99, func=dlopen, error=libaio: cannot open shared object file: No such file or directory
>
> The config.log file contains the following error:
>
> Compiling test case libaio
> arm-linux-gnueabihf-gcc -D_GNU_SOURCE -include config-host.h -o /tmp/fio-conf--17007-.exe /tmp/fio-conf--17007-.c -laio
> /usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../../arm-linux-gnueabihf/bin/ld: cannot find -laio
> collect2: ld returned 1 exit status
>
> The make printouts contain the following lines :
> FIO_VERSION = fio-2.2.7-29-g020d5
> Running configure for you...
> Operating system Linux
> CPU arm
> Big endian no
> Compiler arm-linux-gnueabihf-gcc
> Cross compile yes
> ...
> Linux AIO support no
> ...
>
> Since libaio-dev exists only for amd and i386 platforms, the fio couldn't be statically linked with aio. Thus, I need to download the libaio sources, compile them and install the libaio.so on the target.
That seems like a distro issue, there's absolutely no reason why
libaio-dev(el) should not be available on arm based distro.
Additionally, fio dynamically links with libaio, it's not a static link.
--
Jens Axboe
next prev parent reply other threads:[~2015-05-05 15:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-05 9:02 FIO on ARM Alexey Skidanov
2015-05-05 15:47 ` Jens Axboe [this message]
2015-05-06 15:52 ` Alexey Skidanov
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=5548E60E.4010301@kernel.dk \
--to=axboe@kernel.dk \
--cc=Alex.Lemberg@sandisk.com \
--cc=Alexey.Skidanov@sandisk.com \
--cc=fio@vger.kernel.org \
/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.