xfs
[Top] [All Lists]

Re: gather write metrics on multiple files

To: xfs@xxxxxxxxxxx
Subject: Re: gather write metrics on multiple files
From: Joe Landman <joe.landman@xxxxxxxxx>
Date: Thu, 09 Oct 2014 00:49:43 -0400
Delivered-to: xfs@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=87PkDbtdLyOEipJNmxVYCOqzbRqA1MY7YkfY+7EYZB0=; b=AMpyX4f1GMYdkkx23Y1pCbci6gYkjtJxcvTMNqA7Q/UTYm6Xt5sHIlqdYwnEd4qnir eGziB7REUwIPdFKi8bvnR8Ry0lhTUdWefRSymOzJjpX95mBFdW5CiLTy8Outn1MvICKI uaufv8zp1M2JZut66vKY4Yugg6IsziFtApLwP67fgxZTZsf5zUMN8cEBQz2LtpB/0M3a UU0MMP+vj/ilGYb7jT9ssoTMNPVMEKSbfcWDvp8osjrxzMN4mKkQvqJE6ta8PNgSiPTu dDS0PkrXpEhdJlYLDCuwoA/3K9eAsdKO6luJF/uh9dN8fle1j+6MRqdTEp5rNZeagrS4 Qp1g==
In-reply-to: <543611CF.6030904@xxxxxxxxxxxxxxxxx>
References: <543611CF.6030904@xxxxxxxxxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
On 10/09/2014 12:40 AM, Stan Hoeppner wrote:
Does anyone know of a utility that can track writes to files in an
XFS directory tree, or filesystem wide for that matter, and gather
filesystem blocks written per second data, or simply KiB/s, etc?  I
need to analyze an application's actual IO behavior to see if it
matches what I'm being told the application is supposed to be doing.


We've written a few for this purpose (local IO probing).

Start with collectl (looks at /proc/diskstats), and others. Our tools go to /proc/diskstats, and use this to compute BW and IOPs per device.

If you need to log it for a long time, set up a time series database (we use influxdb and the graphite plugin). Then grab your favorite metrics tool that talks to graphite/influxdb (I like https://github.com/joelandman/sios-metrics for obvious reasons), and start collecting data.

Thanks, Stan

_______________________________________________ xfs mailing list
xfs@xxxxxxxxxxx http://oss.sgi.com/mailman/listinfo/xfs


<Prev in Thread] Current Thread [Next in Thread>