Re: Blktrace with read filter shows events with N for PIDs 0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Dec 4, 2013 at 10:02 AM, Lakshmi <sendtold@xxxxxxxxx> wrote:
> Hi,
>
> I ran a blktrace with -a read mask and when i parsed it to txt
> file,Along with Reads (R) I also see lots of Ns in the RWBS field.

I think the N events indicates that new data structure has been
allocated for the request.

> What does this mean and how do I filter only the reads or writes in
> this case?

you can always filter blkparse output using grep

>
> The Blktrace and Blkparse statements I used are
>
> blktrace -w 130 -d /dev/sdb -a read -b 4096 -o 4K_RR_Trace
>
> blkparse
>   blkparse -i ./*.blktrace.0 -d ./bp.bin -o bp.txt -w 0:130
>
>
>
>   8,16  12        1     0.000000000  8632  Q   R 0 + 128 [vgdisplay]
>   8,16  12        0     0.000008612     0  m     N cfq8632S / alloced
>   8,16  12        2     0.000008807  8632  G   R 0 + 128 [vgdisplay]
>   8,16  12        3     0.000009475  8632  P   N [vgdisplay]
>   8,16  12        4     0.000009686  8632  I     R 0 + 128 [vgdisplay]
>   8,16  12        0     0.000010338     0  m     N cfq8632S / insert_request
>   8,16  12        0     0.000010901     0  m     N cfq8632S / add_to_rr
>   8,16  12        0     0.000011620     0  m      N cfq8632S / idle=0
>   8,16  12        5     0.000011907  8632  U    N [vgdisplay] 1
>   8,16  12        0     0.000012643     0  m     N cfq workload slice:30
>
> Please help.
>
> Thanks
> --
> To unsubscribe from this list: send the line "unsubscribe linux-btrace" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-btrace" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux