-
Notifications
You must be signed in to change notification settings - Fork 32
Please specify dependencies packages name or git repo #2
Comments
Hi Arthus,
The optional dependencies are only required if you choose to create PDF files with the results. ‘pdf2latex’ is used to convert auto generated LaTeX reports to PDFs for easy viewing. ‘terminal png’ is used to create images. I suggest running ioprof.pl without the optional ‘-p’ argument, for now.
In order to better debug, can you share what command line options you were using at the time?
Finally, can you run the following command, but replace /dev/sda with the device that you were tracing at the time? $total_lbas is usually obtained by parsing the following command:
fdisk -ul /dev/sda
Cheers,
Benjamin Donie
From: Arthus Belliqueux <[email protected]>
Sent: Tuesday, May 05, 2020 3:02 AM
To: intel/ioprof <[email protected]>
Cc: Subscribed <[email protected]>
Subject: [intel/ioprof] Please specify dependencies packages name or git repo (#2)
Hi,
Trying to use ioprof. I've been able to obtain a tar file from a trace, but can't create the report.
./ioprof.pl (2.0.5) Unpacking sda.tar. This may take a minute. Use of uninitialized value $total_lbas in scalar chomp at ./ioprof.pl line 1985. Argument "" isn't numeric in multiplication (*) at ./ioprof.pl line 1988. Use of uninitialized value $total_lbas in multiplication (*) at ./ioprof.pl line 1988. Use of uninitialized value $total_lbas in printf at ./ioprof.pl line 1990. lbas: 0 sec_size: 0 total: 0.00 GiB Use of uninitialized value $total_lbas in multiplication (*) at ./ioprof.pl line 1992. Time to parse. Please wait... Finished parsing files. Now to analyze Done correlating files to buckets. Now time to count bucket hits.
I suspect I miss some of the 'Optional dependencies' ?
I couldn't find what you refer to specifically in the optional PDF deps :
Optional PDF report requires:
gnuplot
pdf2latex
terminal png
What are 'pdf2latex' and 'terminal png' ? Packages names ? Can you point to git repos for those ?
Thanks !
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#2>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AB5LLORQB7LM3OB7WS7WPGDRP7PYNANCNFSM4MZN4LDA>.
|
Hi, Sorry for the late reply. Is this utility supposed to work only on Intel SSDs ? Output for Disque /dev/sda : 232,91 GiB, 250059350016 octets, 488397168 secteurs Périphérique Amorçage Début Fin Secteurs Taille Id Type Here is what I do :
I obtain a 10.2ko sda.tar file. After that :
./ioprof.pl (2.0.5) I'm on manjaro/archlinux and found pdflatex in the package pdflatex-core . As for 'terminal png', still no idea what package it refers to... Thanks for your answer ! |
I have not attempted to run this utility with languages other than English. Unfortunately, I believe the French output from fdisk is causing the parser to fail. I didn't have plans to internationalize the tool, but let me know if French is the only language requested. This utility should work on all block devices, regardless of manufacturer, virtual block devices like software raid, and logical volume (LVM) devices. |
Hi, I can obtain the fdisk results in english by setting 'LANG' before the command:
Different result ! ./ioprof.pl (2.0.5) Illegal modulus zero at ./ioprof.pl line 883` The culprit is at line 1979 :
Units: sectors of 1 * 512 = 512 bytes Changing $9 to $8 at line 1979 solves the issue. I'm attaching the resulting tar file if you want to investigate. As for the pdf output, it needs the 'mktexfmt' that's present in the 'texlive-core' package in archlinux. That's a 396.52 MB install. Is there a way to use another tool to generate the pdf ?
kpathsea: Running mktexfmt pdflatex.fmt |
Have you tried pulling the latest changeset from the repo? I had another user report an issue with Ubuntu that I fixed this exact issue last week, but I truly appreciate the quick look into the code! Each version of fdisk seems to have slightly different output, so it makes it tricky to keep up. If you don't truly need a PDF, but just want to see the data, you can exclude the -p option. It will print the heatmap to the console. It is mostly the same data as the PDF, frankly, although the "bucket" size may vary depending on the console size. If you do use the console, try making it really big. |
Hi,
Trying to use ioprof. I've been able to obtain a tar file from a trace, but can't create the report.
./ioprof.pl (2.0.5) Unpacking sda.tar. This may take a minute. Use of uninitialized value $total_lbas in scalar chomp at ./ioprof.pl line 1985. Argument "" isn't numeric in multiplication (*) at ./ioprof.pl line 1988. Use of uninitialized value $total_lbas in multiplication (*) at ./ioprof.pl line 1988. Use of uninitialized value $total_lbas in printf at ./ioprof.pl line 1990. lbas: 0 sec_size: 0 total: 0.00 GiB Use of uninitialized value $total_lbas in multiplication (*) at ./ioprof.pl line 1992. Time to parse. Please wait... Finished parsing files. Now to analyze Done correlating files to buckets. Now time to count bucket hits.
I suspect I miss some of the 'Optional dependencies' ?
I couldn't find what you refer to specifically in the optional PDF deps :
What are 'pdf2latex' and 'terminal png' ? Packages names ? Can you point to git repos for those ?
Thanks !
The text was updated successfully, but these errors were encountered: