Bug 1169236

Summary: Fio (ioengine=gfapi) FS_cached_4k_random_reads fails on gluster v3.6.1
Product: [Community] GlusterFS Reporter: Kiran Patil <kiran>
Component: libgfapiAssignee: Niels de Vos <ndevos>
Status: CLOSED NOTABUG QA Contact: storage-qa-internal <storage-qa-internal>
Severity: high Docs Contact:
Priority: unspecified    
Version: mainlineCC: bugs, jthottan, kiran, ndevos
Target Milestone: ---Keywords: Performance, Triaged
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1371556 1371557 (view as bug list) Environment:
Last Closed: 2018-11-20 09:33:19 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1371556, 1371557    

Description Kiran Patil 2014-12-01 06:15:28 UTC
Description of problem:
I am running fio latest from master branch with below configuration on gluster v3.6.1 CentOS v6.6 and it is failing.

How reproducible:
Always

Steps to Reproduce:
1. install gluster v3.6.1 one machine 1 (Ex: 192.168.1.246)

2. install fio from https://github.com/axboe/fio on machine 2 (Ex: 192.168.1.245)

3. # fio $args --output=4k_caranred_gz.log --section=FS_cached_4k_random_reads --ioengine=gfapi --volume=vol1 --brick=192.168.1.246 fsmb.fio

4. # fio $args --output=4k_caranredmt_gz.log --section=FS_multi-threaded_cached_4k_random_reads --ioengine=gfapi --volume=vol1 --brick=192.168.1.246 fsmb.fio


Actual results:
fio: failed to lseek pre-read file[0KB/0KB/0KB /s] [0/0/0 iops] [eta 1158050440d:23h:16m:01s]

fio: failed to lseek pre-read file[0KB/0KB/0KB /s] [0/0/0 iops] [eta 1158050440d:23h:12m:37s]
fio: failed to lseek pre-read fileone] [0KB/0KB/0KB /s] [0/0/0 iops] [eta 1158050440d:23h:12m:33s]
fio: failed to lseek pre-read fileone] [4KB/0KB/0KB /s] [1/0/0 iops] [eta 1158050440d:23h:12m:32s]
fio: failed to lseek pre-read file


Expected results:
Fio should complete with flying numbers (bandwidth, iops, ...) :)

Additional info:
fsmb.fio configuration file:
----------------------------

[global]

[FS_128k_streaming_writes]
name=seqwrite
rw=write
bs=128k
size=5g
#end_fsync=1
loops=1

[FS_cached_4k_random_reads]
name=randread
rw=randread
pre_read=1
norandommap
bs=4k
size=256m
runtime=30
loops=1

[FS_multi-threaded_cached_4k_random_reads]
name=randread
numjobs=4
rw=randread
pre_read=1
norandommap
bs=4k
size=256m/4
runtime=30
loops=1

Thanks.

Comment 1 Niels de Vos 2014-12-02 12:48:30 UTC
Hi Kiran,

could you let us know if you hit any issues with fio over a fuse mount?
Also, what kind of volume are you running the tests against?

Thanks,
Niels

Comment 2 Kiran Patil 2014-12-02 12:58:05 UTC
Hi Niels,

I will try with fuse mount.

I am using distributed volume.

Thanks,
Kiran.

Comment 3 Jiffin 2018-11-20 09:33:19 UTC
AFAIK fio was able to run against nfs-ganesha/samba(which internally uses gfapi). Hence closing this bug as current.Please feel free to reopen the bug if needed