The Gluster Blog

Gluster blog stories provide high-level spotlights on our users all over the world

Use libgfapi engine for fio


FIO (Flexible I/O Tester) is a popular I/O benchmark tool. It generates sequential/random read/write/trim synchronously or asynchronously. It supports client/server mode and can spawn multiple worker threads.

FIO supports different IO engines. Previously, FIO runs against Gluster FUSE mount. This doesn’t yield the optimal performance due to the overhead associated with FUSE. But now it merged with the libgfapi engine implementation, so we can generate load directly through libgfapi.

The command line syntax to run a quick test using libgfapi engine is

fio --rw=read --bs=4k --size=1g --runtime=5 --numjobs=1 --group_reporting 
--ioengine=gfapi --volume=vol --brick=bd-vm --name=/
This command reads from Gluster volume vol and brick bd-vm.

More information can be found in man page.



  • 06 Dec 2020
    Looking back at 2020 – with g...

    2020 has not been a year we would have been able to predict. With a worldwide pandemic and lives thrown out of gear, as we head into 2021, we are thankful that our community and project continued to receive new developers, users and make small gains. For that and a...

    Read more
  • 27 Apr 2020
    Update from the team

    It has been a while since we provided an update to the Gluster community. Across the world various nations, states and localities have put together sets of guidelines around shelter-in-place and quarantine. We request our community members to stay safe, to care for their loved ones, to continue to be...

    Read more
  • 03 Feb 2020
    Building a longer term focus for Gl...

    The initial rounds of conversation around the planning of content for release 8 has helped the project identify one key thing – the need to stagger out features and enhancements over multiple releases. Thus, while release 8 is unlikely to be feature heavy as previous releases, it will be the...

    Read more