Skip to content

Improve pattern verfiy %o when thread=1 or verify_async > 1 #1973

@vincentkfu

Description

@vincentkfu

Currently fio does a malloc/free each time it verifies a block with a %o in its verify_pattern when thread=1 or verify_async > 1. This is slow and should be improved by doing the following:

  • at init time determine how many buffers are needed and allocate them
  • during verify, make each thread use its own buffer to avoid interfering with other threads

For more background see #1845

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions