intel/ioprof

Tar creation error for small traces

Closed this issue · 2 comments

ioprof fails when creating traces < 3 seconds long

~/ioprof> ioprof.py -m trace -d /dev/nvme0n1  -r 2
Mapping files to block locations                
Creating tarball nvme0n1.tar
tar -cf nvme0n1.tar blk.out.nvme0n1.*.gz fdisk.nvme0n1  &> /dev/null
ERROR: failed to tarball nvme0n1.tar

(this only happens on the python version)

Great catch! Indeed the tool breaks up long blktrace runs into 3 second bursts to minimize the potential for overrunning the buffer. I’ll investigate.

Thanks,
Benjamin Donie
Intel Corporation | SSD Test Development Engineer

From: Bryce Guinta [mailto:notifications@github.com]
Sent: Wednesday, July 20, 2016 9:04 AM
To: 01org/ioprof ioprof@noreply.github.com
Subject: [01org/ioprof] Tar creation error for small traces (#1)

ioprof fails when creating traces < 3 seconds long

~/ioprof> ioprof.py -m trace -d /dev/nvme0n1 -r 2

Mapping files to block locations

Creating tarball nvme0n1.tar

tar -cf nvme0n1.tar blk.out.nvme0n1.*.gz fdisk.nvme0n1 &> /dev/null

ERROR: failed to tarball nvme0n1.tar


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com//issues/1, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AHq1ulmInUrsErMPuXGNw-B16ABHmVwDks5qXkbwgaJpZM4JQ8D7.

`sudo ioprof/ioprof.pl -m trace -d /dev/sda1 -r 2
ioprof/ioprof.pl (2.0.5)

FINISHED tracing: sda1.tar
Please use this file with ioprof/ioprof.pl -m post -t sda1.tar to create a report
`

This should be resolved on the latest commit. I'm closing out this issue. It was tested on Ubuntu 16.04 LTS and Ubuntu 18.04 LTS