Samba and Application Response Measurement (ARM 4.0)
Sven Kubiak
sk at it23.de
Sun Mar 16 14:20:56 GMT 2008
Well, i found the profile.c, profiles.c and status_profile.c. But i don't
know if these are the right files to begin with.
As with the callers of (sys_)read, could you name the files to start with.
It's difficult to figure out how and where calls are made.
Thanks and best regards
Sven
Am 10.03.08 23:40 schrieb "Volker Lendecke" unter
<Volker.Lendecke at SerNet.DE>:
> 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
More information about the samba-technical
mailing list