public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: "Nguyen, Thang P" <thang.p.nguyen@intel.com>
To: "Li Guanglei" <guanglei@cn.ibm.com>,
		"James Dickens" <jamesd.wi@gmail.com>
Cc: <systemtap@sourceware.org>
Subject: RE: Fwd: Systemtap support for disk i/o per pid
Date: Thu, 01 Jun 2006 05:57:00 -0000	[thread overview]
Message-ID: <F08C1D8401AF3B4490213ADF3B70DE2401288147@scsmsx404.amr.corp.intel.com> (raw)

As for disk I/O, currently I am also adding more hooks into ioscheduler
tapset to track disk activities such as block I/O location and estimate
disk seek time.  Li, I can send you what I have, and see where to fit
(or perhaps consolidate) them if necessary.

Thang

-----Original Message-----
From: systemtap-owner@sourceware.org
[mailto:systemtap-owner@sourceware.org] On Behalf Of Li Guanglei
Sent: Sunday, May 28, 2006 11:39 PM
To: James Dickens
Cc: systemtap@sourceware.org
Subject: Re: Fwd: Systemtap support for disk i/o per pid

James Dickens ??:
> resending due to improper mime type on the original
> 
> it would be simpler in most cases to probe syscalls that are easily
> trackable to pid's though this won't give a totally accurate of IO
> because of caching, but it is the easiest, and safest. When you go to
> lower level kernel interfaces it becomes difficult to attiribute
> actions with the pid that caused them.
> 
> James Dickens
> uadmin.blogspot.com

Currently Systemtap could make you able to trace all syscalls by pid,
e.g:
   stap -e "probe addevent.syscall {} " -x pid
to trace both entry & return of all syscalls
or:
   stap -e "probe addevent.syscall {}" -c command

I am getting started with Jose to implement new hooks about IO system 
calls which could give more details other than the syscall name. And 
we are also trying to map systemcall to the io scheduler and scsi hooks.

- Li Guanglei

             reply	other threads:[~2006-06-01  5:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-01  5:57 Nguyen, Thang P [this message]
2006-06-01 10:07 ` Li Guanglei
  -- strict thread matches above, loose matches on Subject: below --
2006-05-28  0:42 R Blundell
2006-05-28  2:58 ` Li Guanglei
     [not found]   ` <cd09bdd10605281208w55049690s93d6c280237d34b8@mail.gmail.com>
2006-05-28 19:10     ` Fwd: " James Dickens
2006-05-29  6:39       ` Li Guanglei

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=F08C1D8401AF3B4490213ADF3B70DE2401288147@scsmsx404.amr.corp.intel.com \
    --to=thang.p.nguyen@intel.com \
    --cc=guanglei@cn.ibm.com \
    --cc=jamesd.wi@gmail.com \
    --cc=systemtap@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).