Add data cache statistics to nfs-iostat.py

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

 



The first patch adds a --data flag, and prints a line about data being read by NFS

Data Read:     From Server      From Cache           Total   Hit %
               5676.7534MB     1862.0452MB     7538.7987MB  24.70%

The second patch adds a line about write data.  I'm not quire sure about this patch.  I'm seeing oddities where the number of bytes in "NORMALWRITTENBYTES + DIRECTWRITTENBYTES" does not equal SERVERWRITTENBYTES.  In some cases the amount of data written by the app (normalwrittenbytes + directwrittenbytes) is greater than the amount of data written to the server, and in other cases it's less than the amount of data written to the server.  At the moment, i've ascribed that difference to data being written to the local cache and not flushed, but that doesn't make a whole lot of sense.  

Data Written:    To Server        To Cache           Total
                  5.2221MB        0.1951MB        5.4172MB

-kevin


--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux