blktrace is a block layer IO tracing mechanism which provides detailed information about request queue operations up to user space.
Questions tagged [blktrace]
16 questions
7
votes
0 answers
How to get better performance for local SSD disk on GKE?
I'm running a sysbench OLTP benchmark with TiDB on GKE local SSD disk. But I'm getting poor performance compared to GKE persistent SSD disk. How can I get the expected IOPS performance on GKE local SSD disk by default?
I've run TiDB OLTP benchmark…

tennix
- 331
- 2
- 5
2
votes
1 answer
blktrace output error in docker container
my docker container base image is ubuntu, and I ran it with full privilege options that means in run command I use these switches:
--cap-add=SYS_ADMIN --security-opt apparmor:unconfined
I wanna use blktrce using below command:
sudo blktrace -d / -a…

mR.aTA
- 174
- 2
- 19
2
votes
1 answer
How to get the blktrace tool to show the D - issued action
This question is about the blktrace tool. On several Ubuntu 3.16.0 machines in our lab I need to trace the software vs device block IO performance. We sometimes use our custom nvme driver and sometimes the standard one. Here is a excerpt of the…

jimm
- 25
- 4
1
vote
0 answers
Linux io_submit latency large
I find one very strange probelm with io_submit latency.
If I write a loop invoke io_submit 5 times, like following:
for (int i = 0; i < 5; i++) {
gettimeofday(&start);
io_submit(...);
gettimeofday(&end);
}
The latency of io_submit are all…

haipeng31
- 635
- 1
- 7
- 16
1
vote
1 answer
FIO Latency Vs Btt latency
in case of btt results, i am most familiar with
Q2D latency - time from request submission to Device
D2C latency - Device latency for processing request
Q2C latency - total latency , Q2D + D2C = Q2C
i need help comparing latencies reported by…

ankit patel
- 1,399
- 5
- 17
- 29
1
vote
1 answer
How to execute the io trace generated by DiskSim in real environment?
I want to compare different disk models using DiskSim. In many studies using DiskSim, researchers execute the trace files generated by DiskSim on both DiskSim and real devices. However, I didn't find out how to do so.
Therefore, I want to find the…

Yizhou Yan
- 25
- 3
1
vote
2 answers
Can blktrace only trace one specific process?
Can blktrace only trace one specific process? Right now blktrace dump out all io activity out, which takes a lot of time using blkparse to parse it. But we are only interested in one particular process. Is there any way to configure blktrace to…

bilbao
- 13
- 4
0
votes
0 answers
why does not btt in blktrace tool report any data
The btt report is as below:
/ssd/blktrace/btt/btt -i parse.bin
==================== All Devices ====================
ALL MIN AVG MAX N
--------------- ------------- ------------- -------------…

Jun
- 1
- 1
0
votes
1 answer
How to execute shell scripts with blktrace commands in android programmatically?
I have a rooted android device with blktrace installed in it. I want to execute a shell script for testing blktrace from my application. I have tried some solutions found in some resources from internet. I have tried these two methods for executing…

Khaled Saifullah
- 2,279
- 3
- 25
- 26
0
votes
1 answer
understanding blktrace from fio tests
I purchased a virtual server that had 8 vCPUs, 16G memory, and a 500G ssd volume (which is backed by ceph rbd). Then I used fio to test the server's IO performance. To better understanding the fio results, during the test, I also used blktrace to…

Ning
- 1
- 2
0
votes
1 answer
blkparse how to show IO Scheduler message
blktrace version v2.0.0
note: in blkparse output, the m in the sixth column indicate the line is scheduler information.
On Ubuntu 16.04 ext4 I can see the IO Scheduler message, blktrace -d /dev/sda -o - | blkparse -i -
8,0 3 1 …

Honghe.Wu
- 5,899
- 6
- 36
- 47
0
votes
0 answers
fread and fwrite return values does not match blktrace output
I'm doing some experiment on SSDs to check weather they have data loss under power fault. At the first step I write a random data on SSD and then in the next step I inject a power fault to it. At the end I read from the SSD and check weather the…

Mehrshad Lotfi Foroushani
- 375
- 1
- 5
- 21
0
votes
1 answer
Latency using struct bio
I want to draw latency information for each struct bio that passes through the block layer. I have a module that overrides make_request_fn. I would want to find out how long did that bio took from there to reach request queue and from there to…

humble_fool
- 41
- 7
0
votes
1 answer
difference is the data of queue depth , disk offset, iops, throughput during analysis of blktrace
Traces of the IOS are captured using blktrace and same is being replayed using blkreplay. I want to check the parameters like throughput , queue depth and IOS so we are using the tools like seekwatcher and iowatcher. There is a huge difference in…

Chandan Jayaram
- 1
- 1
0
votes
1 answer
How can I get the disk IO trace with actual input values?
I want to generate some trace file from disk IO, but the problem is I need the actual input data along with timestamp, logical address and access block size, etc.
I've been trying to solve the problem by using the "blktrace | blkparse" with "iozone"…

lwy
- 3
- 1