Skip to content

fio benchmark write happen error #1495

Open
@perrynzhou

Description

@perrynzhou
  • mount-s3 mount paramters
perrynzhou@debina-server01:/mnt/perryn-data$ ps -ef |grep -v grep|grep mount
root        1152       1  0 08:33 ?        00:00:00 /usr/sbin/rpc.mountd
root       19265       1 10 08:55 pts/1    00:02:21 mount-s3 --upload-checksums off --endpoint-url http://127.0.0.1:3900 perryn-data /mnt/perryn-data --allow-delete --incremental-upload --allow-overwrite --allow-other --uid 1000 --gid 1000 --max-threads 128
  • when i use this script to test write performancce that happen error .log as follow
perrynzhou@debina-server01:/mnt/perryn-data$ fio -direct=1 -ioengine=libaio -iodepth=1 -rw=write -bs=4k -size=1G -numjobs=1 -runtime=300 -time_based=1 -group_reporti
ng -directory="/mnt/perryn-data/" -name=Seq_Write_Testing
Seq_Write_Testing: (g=0): rw=write, bs=(R) 4096B-4096B, (W) 4096B-4096B, (T) 4096B-4096B, ioengine=libaio, iodepth=1
fio-3.33
Starting 1 process
Seq_Write_Testing: Laying out IO file (1 file / 1024MiB)
fio: io_u error on file /mnt/perryn-data//Seq_Write_Testing.0.0: Bad file descriptor: write offset=0, buflen=4096
fio: pid=24587, err=9/file:io_u.c:1876, func=io_u error, error=Bad file descriptor

Seq_Write_Testing: (groupid=0, jobs=1): err= 9 (file:io_u.c:1876, func=io_u error, error=Bad file descriptor): pid=24587: Sat Jun 28 09:12:16 2025
  cpu          : usr=0.00%, sys=0.00%, ctx=4, majf=0, minf=19
  IO depths    : 1=100.0%, 2=0.0%, 4=0.0%, 8=0.0%, 16=0.0%, 32=0.0%, >=64=0.0%
     submit    : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
     complete  : 0=50.0%, 4=50.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
     issued rwts: total=0,1,0,0 short=0,0,0,0 dropped=0,0,0,0
     latency   : target=0, window=0, percentile=100.00%, depth=1

Run status group 0 (all jobs):

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions