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

Unable to integrate the Mdtest tool with Python to generate the mdtest report file in required format #462

Open
Pavanmahaveer7 opened this issue May 25, 2023 · 1 comment

Comments

@Pavanmahaveer7
Copy link

Hi team,

I was trying to automate the Mdtest tool using python and generate a csv file for the Mdtest report file. Even though i tried with the custom logic by making changes using pandas and csv library, it cant able to read the whole file data. i just reading the first fields in the field and truncating or hiding the rest data fields.

The data format form Mdtest file is not able to recognize and read properly using python.
Could you please clarify, can we use tools like Mdtest with python and get the proper formatted data

DATA EXTRACTION.pdf

@JulianKunkel
Copy link
Collaborator

Hi, actually mdtest allows storing of csv. Example:
$ mdtest -n 100 -u -e=4000 -w=4000 --saveRankPerformanceDetails=out.csv

rank,items,rate-Directory creation,time-Directory creation,rate-Directory stat,time-Directory stat,rate-Directory read,time-Directory read,rate-Directory rename,time-Directory rename,rate-Directory removal,time-Directory removal,rate-File creation,time-File creation,rate-File stat,time-File stat,rate-File read,time-File read,rate-File removal,time-File removal,rate-Tree creation,time-Tree creation,rate-Tree removal,time-Tree removal
all,100,3.3681072834e+04,2.9690265656e-03,4.6707171492e+05,2.1409988403e-04,1.0485760000e+08,9.5367431641e-07,1.5673781764e+04,6.3800811768e-03,4.3823048793e+04,2.2819042206e-03,3.0732004689e+04,3.2539367676e-03,3.9681210974e+05,2.5200843811e-04,1.5313267616e+05,6.5302848816e-04,7.7457137581e+04,1.2910366058e-03,2.7776847682e+04,3.6001205444e-05,1.3357656051e+04,7.4863433838e-05
0,,3.3691894931e+04,2.9680728912e-03,4.6916152125e+05,2.1314620972e-04,inf,0.0000000000e+00,1.5676124981e+04,6.3791275024e-03,4.3841371381e+04,2.2809505463e-03,3.0741014365e+04,3.2529830933e-03,3.9869809886e+05,2.5081634521e-04,1.5313267616e+05,6.5302848816e-04,7.7457137581e+04,1.2910366058e-03

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants