[SCM] Samba Shared Repository - branch v3-2-test updated - initial-v3-2-test-2626-g719527f

Volker Lendecke Volker.Lendecke at SerNet.DE
Fri Feb 29 20:10:06 GMT 2008


On Fri, Feb 29, 2008 at 01:44:25PM -0500, David Collier-Brown wrote:
> No, Solaris does read ahead rather enthusiastically: I think three
> sequential read requests of more than 4KB in total guarantees
> read-ahead. 
> 
> Sequential reads of large amounts of data causes larger amounts to
> be read ahead in, as shown by the experiment, and I/O coalescence
> seems to cut in around then and make things unexpectedly nice (;-))
> 
> I *think* Linux around 2.6 shows a similar effect, but the data
> I have was third-hand and I couldn't prove it. I suspect someone
> on this list could discover it's speedup  with a similar experiment,
> and therefor the good buffer-size numbers for it.

Well, then I don't understand your point. If I get it right
you first said it's necessary to use huge read syscalls to
get decent performance. The current client/server code
should be able to do streaming reads without the network
round-trip overhead, even with, say, 16k pread sizes.

So, do I have to modify the code or not?

Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20080229/fdfd6ac7/attachment.bin


More information about the samba-technical mailing list