summaryrefslogtreecommitdiff
path: root/docs/smbdotconf
diff options
context:
space:
mode:
authorAlexander Bokovoy <ab@samba.org>2007-05-17 12:19:46 +0000
committerGerald W. Carter <jerry@samba.org>2008-04-23 08:47:32 -0500
commit918cbc36777eda4b1d7905275659690fe63cda81 (patch)
tree5a7629a1eb34187c54b9c9667e905ffe1059e603 /docs/smbdotconf
parent13a384b5abcbff97e4cec3a0c0b8dae565c431da (diff)
downloadsamba-918cbc36777eda4b1d7905275659690fe63cda81.tar.gz
samba-918cbc36777eda4b1d7905275659690fe63cda81.tar.bz2
samba-918cbc36777eda4b1d7905275659690fe63cda81.zip
Document async I/O options
(This used to be commit d4bfded7d418e0e07108e329b57ff3f309ac731b)
Diffstat (limited to 'docs/smbdotconf')
-rw-r--r--docs/smbdotconf/tuning/aioreadsize.xml22
-rw-r--r--docs/smbdotconf/tuning/aiowritesize.xml22
2 files changed, 44 insertions, 0 deletions
diff --git a/docs/smbdotconf/tuning/aioreadsize.xml b/docs/smbdotconf/tuning/aioreadsize.xml
new file mode 100644
index 0000000000..082cf5ddfd
--- /dev/null
+++ b/docs/smbdotconf/tuning/aioreadsize.xml
@@ -0,0 +1,22 @@
+<samba:parameter name="aio read size"
+ context="S"
+ type="integer"
+ xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
+<description>
+ <para>If Samba has been built with asynchronous I/O support and this
+ integer parameter is set to non-zero value,
+ Samba will read from file asynchronously when size of request is bigger
+ than this value. Note that it happens only for non-chained and non-chaining
+ reads and when not using write cache.</para>
+
+ <para>Current implementation of asynchronous I/O in Samba 3.0 does support
+ only up to 10 outstanding asynchronous requests, read and write combined.</para>
+
+ <related>write cache size</related>
+ <related>aio write size</related>
+</description>
+
+<value type="default">0</value>
+<value type="example">16384<comment> Use asynchronous I/O for reads bigger than 16KB
+ request size</comment></value>
+</samba:parameter>
diff --git a/docs/smbdotconf/tuning/aiowritesize.xml b/docs/smbdotconf/tuning/aiowritesize.xml
new file mode 100644
index 0000000000..e33a60e98e
--- /dev/null
+++ b/docs/smbdotconf/tuning/aiowritesize.xml
@@ -0,0 +1,22 @@
+<samba:parameter name="aio write size"
+ context="S"
+ type="integer"
+ xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
+<description>
+ <para>If Samba has been built with asynchronous I/O support and this
+ integer parameter is set to non-zero value,
+ Samba will write to file asynchronously when size of request is bigger
+ than this value. Note that it happens only for non-chained and non-chaining
+ reads and when not using write cache.</para>
+
+ <para>Current implementation of asynchronous I/O in Samba 3.0 does support
+ only up to 10 outstanding asynchronous requests, read and write combined.</para>
+
+ <related>write cache size</related>
+ <related>aio read size</related>
+</description>
+
+<value type="default">0</value>
+<value type="example">16384<comment> Use asynchronous I/O for writes bigger than 16KB
+ request size</comment></value>
+</samba:parameter>