Hello I have read that under Solaris one can use DTrace to get I/O request size distribution on a global scale (also on a per process/pid basis). See for example http://prefetch.net/articles/observeiodtk.html Can anyone?recommend?an alternative to get similar information under CentOS? I looked into dtrace for linux but it seems still work in progress, even putting aside CDDL issues ... http://www.crisp.demon.co.uk/tools.html Thanks! Antonello
On Tue, 21 Dec 2010, Antonello Piemonte wrote:> To: centos at centos.org > From: Antonello Piemonte <apiemont at googlemail.com> > Subject: [CentOS] I/O size distribution? > > Hello > > I have read that under Solaris one can use DTrace to get I/O request > size distribution on a global scale (also on a per process/pid basis). > See for example > > http://prefetch.net/articles/observeiodtk.html > > Can anyone?recommend?an alternative to get similar information under > CentOS? I looked into dtrace for linux but it seems still work in > progress, even putting aside CDDL issues ...This might do it. It's in the updates repo. Name : systemtap Arch : i386 Version : 1.1 Release : 3.el5_5.3 Size : 6.3 M Repo : installed Summary : Instrumentation System URL : http://sourceware.org/systemtap/ License : GPLv2+ Description: SystemTap is an instrumentation system for systems running Linux 2.6. : Developers can write instrumentation to collect data on the operation : of the system. Kind Regards, Keith Roberts -- In theory, theory and practice are the same; in practice they are not. This email was sent from my laptop with Centos 5.5
On Tue, 2010-12-21 at 23:01 +0100, Antonello Piemonte wrote:> Hello >IOTOP from here [1]. From a very quick glance of the Specfile it should build with no problems under EL5. John [1] http://guichaz.free.fr/iotop/
On 12/21/2010 05:01 PM, Antonello Piemonte wrote:> Hello > > I have read that under Solaris one can use DTrace to get I/O request > size distribution on a global scale (also on a per process/pid basis). > See for example > > http://prefetch.net/articles/observeiodtk.html > > Can anyone recommend an alternative to get similar information under > CentOS? I looked into dtrace for linux but it seems still work in > progress, even putting aside CDDL issues ... >If you want to look at the specific run of an application and not the system as a whole or on a continual basis, then you can use strace. However, this can produce a great deal of data. So I wrote a simple tool to scan through the strace output file and produce some statistics. You can download it at: http://clusterbuffer.wetpaint.com/page/Strace+Analyzer The version that is on the website is currently a bit dated with a few bugs in it. I should be posting the latest version in the next couple of weeks. Thanks! Jeff
Greetings, On Tue, Dec 21, 2010 at 10:01 PM, Antonello Piemonte <apiemont at googlemail.com> wrote:> Hello > > I have read that under Solaris one can use DTrace to get I/O requestI have heard that Dag or rf has it? No guarantees! Regards Rajagopal
......> > I have read that under Solaris one can use DTrace to get I/O request > size distribution on a global scale (also on a per process/pid basis). > See for example > > http://prefetch.net/articles/observeiodtk.html > > Can anyone recommend an alternative to get similar information under > CentOS? I looked into dtrace for linux but it seems still work in > progress, even putting aside CDDL issues ... > > http://www.crisp.demon.co.uk/tools.html >You can try SystemTap: http://sourceware.org/systemtap/ It seems to be roughly analagous to dtrace and is aimed squarly at the linux kernel.
Antonello Piemonte wrote:> Hello > > I have read that under Solaris one can use DTrace to get I/O request > size distribution on a global scale (also on a per process/pid basis). > See for example > > http://prefetch.net/articles/observeiodtk.html > > Can anyone?recommend?an alternative to get similar information under > CentOS? I looked into dtrace for linux but it seems still work in > progress, even putting aside CDDL issues ... > > http://www.crisp.demon.co.uk/tools.htmlMaybe the average request size from iostat -x could supply part of the /global/ piece? -- Charles Polisher
On Tue, Dec 21, 2010 at 10:01 PM, Antonello Piemonte <apiemont at googlemail.com> wrote:> Hello > > I have read that under Solaris one can use DTrace to get I/O request > size distribution on a global scale (also on a per process/pid basis). > See for example > > http://prefetch.net/articles/observeiodtk.html > > Can anyone?recommend?an alternative to get similar information under > CentOS? I looked into dtrace for linux but it seems still work in > progress, even putting aside CDDL issues ... > > http://www.crisp.demon.co.uk/tools.html > > Thanks! > Antonello > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >Nowhere near as advanced, but give dstat a try. http://www.nux.ro/archive/2010/08/I_O_stats_for_Centos.html