Samba and Application Response Measurement (ARM 4.0)

David Collier-Brown davecb at
Mon Mar 10 23:38:30 GMT 2008

Good point!


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 at                 |                      -- 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#

More information about the samba-technical mailing list