Skip to content

Bug: --eatmem_free_memory and --page_size flags are silently broken #65

@sayalibhavsar

Description

@sayalibhavsar

Two flags in iozone_run.sh are silently ignored due to getopt/case mismatches.

--eatmem_free_memory: Has a case handler but missing from ARGUMENT_LIST, so getopt rejects it. Default (180 MB) always used.
Fix: Add eatmem_free_memory to ARGUMENT_LIST.

--page_size: Case arm matches --pagesize and assigns to pagesize, but the script uses page_size. Default (1024 KB) always used.
Fix: Change case label to --page_size) and assign page_size=$2.

Found during doc review in #62.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions