[linux-cifs-client] Async io support.

Jeremy Allison jra at samba.org
Sat Jun 11 03:54:17 GMT 2005


On Sat, Jun 11, 2005 at 01:48:57PM +1000, James Roper wrote:
> Jeremy,
> 
> I'll test my Linux cifs vfs async read pages patch with it.  
> Unfortunately I don't actually have two linux boxes at the moment, so I 
> can only connect to a samba server on localhost, but I may consider 
> installing linux on my laptop again to test it.  Anyway, attached is my 
> latest patch, which is diffed against the cifs vfs svn head at 
> samba.org, if anyone else wants to test it.  To turn async routines on 
> (should be on by default) echo 1 > /proc/fs/cifs/AsyncRoutinesEnabled.  
> You can also set the maximum number of pages that the kernel will 
> request at once, default is 32, in /proc/fs/cifs/ReadaheadMaxPages, I 
> haven't noticed it to make a huge difference (increases performance by a 
> percent if you set it at 64).  Also, this patch only requests 16KB per 
> read, increasing this will change things.  I'm yet to integrate it with 
> Steve's work on large writes.

When you say "I haven't noticed it to make a huge difference" is that
with standard smbd or Windows, not the aio version ?

Thanks,

	Jeremy.


More information about the linux-cifs-client mailing list