samba-technical@lists.samba.org
[Top] [All Lists]

Re: Samba and Application Response Measurement (ARM 4.0)

Subject: Re: Samba and Application Response Measurement ARM 4.0
From: David Collier-Brown
Date: Mon, 10 Mar 2008 19:38:30 -0400
Good point!

--dave

Volker Lendecke wrote:
On Mon, Mar 10, 2008 at 06:30:14PM -0400, David Collier-Brown wrote:

You're starting with some fairly hard stuff.  It's
easier to find the callers of (sys_)read, for example,
in recvfile.

For a simple server transaction, it starts with a read
of the socket, which gets a request from the client.
The first write to the same socket ends the latency
period, and the last write before a read ends the transfer.
period.  The time between the last write and the next read
the think time of the client user of system.

Once you've done the really coarse measurement, you can
drill down to the detailed requests, which will begin
with the decoding of a request packet (or and_x) and
end with the last reply.


Well, there's always the PROFILE stuff that measures each
and every single SMB, along with the trans2 subtransactions
and so on. Why don't you build upon those?

Volker

--
David Collier-Brown            | Always do right. This will gratify
Sun Microsystems, Toronto      | some people and astonish the rest
davecb@xxxxxxx                 |                      -- Mark Twain
(905) 943-1983, cell: (647) 833-9377, home off: (416) 223-5943 (800) 555-9786 x56583, bridge: (877) 385-4099 code: 506 9191#

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