Modifying Samba to skip file system reads for IOZONE READ and REREAD

Jeremy Allison jra at
Sat Oct 29 00:22:45 GMT 2005

On Fri, Oct 28, 2005 at 04:46:26PM -0700, Richard Sharpe wrote:
> On Fri, 28 Oct 2005, Iozone wrote:
> >Richard,
> >
> >   Noticed you hack:
> >
> >   --------
> >   *
> >+		 * Little hack for IOZONE ... if name is iozone.DUMMY.
> >+		 * then set a flag and create a buffer for read
> >+		 */
> >--------
> Ummm, that little hack I installed was never in any released code, either 
> from the Samba team nor from Panasas (my former employer). It was simply 
> an experiment to allows us to get an idea of the max throughput that 
> could be achieved with IOZONE if the filesystem was not in the way.
> I also did another hack to throw the data away on writes so we could 
> measure in both directions and determine where problems might lie.
> I am sorry if that wasn't clear before now.
> However, I do think that making the data more random will stop people 
> optimizing for IOZONE.

Thanks Richard - that's what I thought the deal was. I remember you
doing it and I thought it was for testing network throughput. I didn't 
think you'd put it into any released code.



More information about the samba-technical mailing list