From mboxrd@z Thu Jan 1 00:00:00 1970 From: matthias.bgg@googlemail.com (Matthias Brugger) Date: Thu, 02 Feb 2012 11:20:07 +0100 Subject: blktrace vs ftrace Message-ID: <4F2A6357.3060805@gmail.com> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org Hi all, I'm trying to analize I/O behavior of Qemu on the host. I used blktrace and the blk tracer for ftrace but I see different I/O behavior. I use 4 threads in the VM each reading sequentially a file. Readahead is turned off. With blktrace reads are transmitted in a sequential way, which means the next read will be executed when the first one has completed. In comparison with ftrace, up to 4 reads are issued to the disk in parallel. I suppose the different behaviors are due to the overhead introduced by the tracers. My doubt is, which tracer has less influence on the I/O behaviour and therefore reflects the system behaviour without tracing. Thanks a lot, Matthias --- http://motzblog.wordpress.com/