Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fio: convert to json for metric data #512

Closed

Conversation

atheurer
Copy link
Contributor

@atheurer atheurer commented Mar 3, 2017

Use same libaries uperf uses to process data

Use same libaries uperf uses to process data
@portante
Copy link
Member

portante commented Mar 4, 2017

@@ -641,8 +604,6 @@ function fio_run_benchmark() {
for block_size in `echo $block_sizes | sed -e s/,/" "/g`; do
job_num=1
iteration="${count}-${test_type}-${block_size}KiB"

echo $iteration >> $benchmark_iterations
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ndokos, don't we need this now? Or is this being replaced by another method?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, but the record_iteration function is not in master yet (only in wip-indexing). I'l fix this up after I PR the iterations commit.

fi
benchmark_iterations="$pbench_tmp/${benchmark_fullname}.iterations"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we need this for the indexing work. Is there a replacement for this?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not sure, but adding it back should not be a problem for this PR

} else {
print "$script: could not find any directories in $tool_group_dir which matched $tool_label_pattern\n";
}
closedir $dh;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should the closedir() be in the if branch? I get complaints about invalid dir handles.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are correct, it should be moved within the branch

@ndokos
Copy link
Member

ndokos commented Mar 6, 2017

We'll need to add the Switch.PM module as a dependency to the RPM. We'll also need to add it the Travis environment for unit testing.

@portante portante modified the milestones: V0.43, V0.42 Mar 17, 2017
@portante
Copy link
Member

@atheurer, @ndokos, where are we at with this work?

@ndokos
Copy link
Member

ndokos commented Jun 26, 2017

Superseded by PR #590.

@ndokos ndokos closed this Jun 26, 2017
@atheurer atheurer deleted the fio_json branch September 5, 2018 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants