Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-10367

FIO Fails to run with libaio

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • None
    • Lustre 2.10.1
    • None
    • Lustre 2.10.1 RHEL 7.4
    • 3
    • 9223372036854775807

      While doing some bench marking with FIO is seems libaio is not working with Lustre.

      FIO can be found here: https://github.com/axboe/fio/

      When running with libaio it quickly fails with error messages. A sample FIO configuration file is below:

      fsync=1
      directory=/mnt/lustre 
      direct=1
      numjobs=32
      ioengine=libaio
      blocksize=64k
      readwrite=readwrite
      size=65536m
      group_reporting
      
      

      Sample error messages:

      .....
      lustre: Laying out IO file(s) (1 file(s) / 65536MB)
      fio: io_u error on file /mnt/lustre/lustre.21.0: Unknown error -131072: read offset=0, buflen=65536
      fio: io_u error on file /mnt/lustre/lustre.21.0: Unknown error -131072: read offset=65536, buflen=65536
      fio: pid=51260, err=-131072/file:io_u.c:1708, func=io_u error, error=Unknown error -131072
      ...
      
      

      Removing libaio options allows FIO to run.  

      Fsync and Direct really slow Lustre down but they run. 

      Other tests  work as expected. 

            askulysh Andriy Skulysh
            keith Keith Mannthey (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: