Michael Gasch
2006-Aug-01 07:15 UTC
[Samba] [questions] aio settings in smb.conf and compile options
hi, i just have some questions about specific (uncommon) compile options and aio-settings in smb.conf: Asynchronous IO Support ====================== "Experimental support for async IO has been added to smbd for certain platforms. To enable this new feature, Samba must be compiled to include the --with-aio-support configure option. In addition, the "aio read size" and "aio write size" to non-zero values. See the smb.conf(5) man page for more details on these settings. unfortunately i can?t find any documentation about this although it has been in the code since a while." Compile Options - what means/provides (more detailed please) ... ? =================================================================--with-cluster-support --with-automount BIG THX!!!!!! btw: what happened to john? is he still an active member of the samba team, ?cause i did not see any posts on the list for example?!?! -- Michael Gasch Max Planck Institute for Evolutionary Anthropology Department of Human Evolution (IT Staff) Deutscher Platz 6 D-04103 Leipzig Germany Phone: 49 (0)341 - 3550 137 49 (0)341 - 3550 374 Fax: 49 (0)341 - 3550 399
Volker Lendecke
2006-Aug-01 07:26 UTC
[Samba] [questions] aio settings in smb.conf and compile options
On Tue, Aug 01, 2006 at 09:17:04AM +0200, Michael Gasch wrote:> --with-cluster-supportThat's an option to later enable all cluster features that we're working on. If you are interested in the current (VERY experimental) state of affairs look at the vl-messaging temporary svn branch. The idea is that with a clustered file system like GFS, OCFS, GPFS or some others you will be able to share the same file space transparently from all cluster nodes and have locking working properly. Right now we are discussing and designing ways to make the experimental support for that robust so that we don't depend on a single point of failure. 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/attachments/20060801/713bafc2/attachment.bin
Jeremy Allison
2006-Aug-01 15:36 UTC
[Samba] [questions] aio settings in smb.conf and compile options
On Tue, Aug 01, 2006 at 09:17:04AM +0200, Michael Gasch wrote:> hi, > > i just have some questions about specific (uncommon) compile options and > aio-settings in smb.conf: > > Asynchronous IO Support > ======================> > "Experimental support for async IO has been added to smbd for > certain platforms. To enable this new feature, Samba must be > compiled to include the --with-aio-support configure option. > In addition, the "aio read size" and "aio write size" to non-zero > values. See the smb.conf(5) man page for more details on these > settings. > > unfortunately i can?t find any documentation about this although it has > been in the code since a while."Compile with --with-aio-support to enable this. Look in the source code smbd/aio.c. I haven't documented the parameters yet (thanks for the reminder, I'll try and get this done soon). They are : aio read size = <bytes> aio write size = <bytes> aio write behind = <true|false> Any reads/writes over <bytes> will be done via aio. It hasn't been turned on fully yet as some Linux's fake aio support using pthreads which makes smbd *slower* :-(. Kernel support for aio is still a little flakey - I need to spend some more time testing it. The biggest disappointment is that there seems to be no way to get Windows clients to pipeline more than one read or write on the wire. They simply stick with a request/response pair. smbclient will pipeline reads/writes though. Not sure about cifsfs - Stevef, any comments (or I'll just go look in the code :-). aio write behind was an attempt to see if we could fool Windows clients into pipelining. If set true, smbd *lies* about writes being done (and assumes the aio will always succeed) and returns early "success" to the client. Don't set this if you have *any* interest in your data :-).> Compile Options - what means/provides (more detailed please) ... ? > =================================================================> --with-cluster-support > --with-automountVolker knows more about these.> BIG THX!!!!!! > > btw: what happened to john? is he still an active member of the samba > team, ?cause i did not see any posts on the list for example?!?!John is now working at AMD, who keep him rather busy on his day job :-). He still wants to keep active but it's easier said than done :-). Jeremy.
Maybe Matching Threads
- Mac OSX breaking POSIX rights with SMB/CIFS
- when working with "admin users =" "inherit owner" does not work anymore
- How to prevent users from deleting users from domain via usrmgr.exe ???
- weird problem with smbldap-tools and usrmgr.exe
- [UNDERSTANDING] BDC and Trusted Domain