Re: How do narrow down which process is causing high I/O wait times?

From: Richard Pettit [SE Toolkit Author] (richp_at_setoolkit.com)
Date: 08/28/03


Date: Thu, 28 Aug 2003 02:54:12 GMT

John Davis wrote:
> Thanks Rich for your response.
>
> I'm just curious how much does a large TCP send/receive buffer queue
> (via netstat -n) factor into a high I/O wait time?
>
> Does the writing to the TCP sockets factor into a wait time and if so
> does it have a higher priority than say writing to disk?

The cpu_sysinfo structure has a wait member that is an array with elements

W_IO
W_SWAP
W_PIO

but as I recall from my Sun days, only W_IO is ever updated which is disk I/O.

There is also a cpu_syswait structure with members

iowait
swap
physio

but the second 2 members are commented as unused, leaving disk I/O.

I have no reason to believe Solaris will report on anything but disk I/O wait.

Those with kernel source can overrule me.

Rich



Relevant Pages

  • Re: How do narrow down which process is causing high I/O wait times?
    ... Only disk IO is taken into account when updating the wait IO time. ... > Thanks Rich for your response. ... > I'm just curious how much does a large TCP send/receive buffer queue ... > Does the writing to the TCP sockets factor into a wait time and if so ...
    (comp.unix.solaris)
  • Re: Data Storage Issue (Basic Issue)
    ... Reading is faster since it can be cached with no physical disk i/o. ... In an SQL database with writing you have to do actual physical i/o ...
    (comp.lang.java.programmer)