Samba write performance anomaly

Tim Potter tpot at samba.org
Thu May 25 21:00:36 GMT 2000


J. Robert von Behren writes:

> I've actually just started doing some profiling of Samba performance
> under Linux.  I haven't gathered any interesting results yet, but I have
> put together a patch to make turning on profiling easier.  In all, the
> patch does the following:
> 
>    * registers a function with atexit() to twidle filenames, and prevent
> the various smbd processes from overwriting each other's gmon.out files.
>    * Adjusts the configure.in and Makefile.in files to include profiling
>    * adds a --with-gprof-support option to configure, to allow this to
> be turned on and off.
> 
> I'd like to submit the patch for inclusion in the main source tree (it
> is pretty unobtrusive ;-).  Is there a standard way that the Samba
> community usually does this?

Either post to samba-technical or I think samba bugs.  I was
doing some profiling the other and was annoyed by the whole
gmon.out overwriting thing.

If they are too big send them to me and I'll take a look at
merging them into HEAD/TNG.

> P.S.  I'm planning on instrumenting the Linux kernel with SGI's kernel
> profiling patches, so I can monitor kernel activity under Samba.  I'll
> post any interesting findings to the list.  

Please do!


Regards,

Tim.



More information about the samba-technical mailing list