Skip to contentSkip to conversation

fio 3.12-27g68af on vmware esxi 6.0 build causing segmentation fault

DISCUSSION [email protected] 1 participant 1 message Dec 2, 2018

lore
Share & tools
lore
#0 lore raw

Hello Folks:

Getting a "segmentation fault" error when running latest fio version (3.12.27-g68af) on vmware 6.0:

Quoted 1 line

./fio --bs=16k --size=10GB --readwrite=randrw --ioengine=posixaio

--filename=test10GB.fio --direct=1 --sync=1 --rwmixread=50 --rwmixwrite=50 --direct=1 --sync=1 --name=testvmw6
testvmw6: (g=0): rw=randrw, bs=(R) 16.0KiB-16.0KiB, (W) 16.0KiB-16.0KiB, (T) 16.0KiB-16.0KiB, ioengine=posixaio, iodepth=1
fio-3.12-27-g68af
Segmentation fault

On the following vmware version:

Quoted 1 line

vmware -v

VMware ESXi 6.0.0 build-5050593

Using fio version below:

Quoted 1 line

./fio -version

fio-3.12-27-g68af

Quoted 1 line

./fio --enghelp

Available IO engines:
cpuio
mmap
sync
psync
vsync
pvsync
pvsync2
null
net
netsplice
ftruncate
filecreate
posixaio
falloc
e4defrag
splice
mtd
sg

FIO binary built from Docker using the following Dockerfile (Kudos to Mark Beierl!)

===
FROM multiarch/alpine:x86_64-v3.6 (--- I also tried v3.8 ---)

RUN apk --no-cache add --update \
    git \
    alpine-sdk \
    coreutils \
    linux-headers \
    libaio \
    libaio-dev \
    zlib-dev

RUN git clone http://git.kernel.dk/fio.git fio
RUN cd fio && ./configure --esx
RUN cd fio && EXTFLAGS="-static" make -j $(grep -c ^processor /proc/cpuinfo) install
===

Do I need to use an older fio version and Dockerfile config to run fio on vmware 6.0, or is the segmentation error due to something else? Not sure how to debug this further. Any insight how to debug this further is very much appreciated.

Regards,
Eliezer