pomale kopirovani ze SAMBY

Juraj nospam.jurob na mail.viapvt.sk
Úterý Červen 19 22:20:56 CEST 2001


skuste toto ??? uz si nepametam ako to mam presne v robote, keby to stale
neslo tak sa este ozvite.
----------------------
# Global parameters
[global]
xxxxx
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
read raw = no
xxx
------------------------
a precitat dokumentaciu :-(


read raw (G)
This parameter controls whether or not the server will support the raw read
SMB requests when transferring data to clients.
If enabled, raw reads allow reads of 65535 bytes in one packet. This
typically provides a major performance benefit.
However, some clients either negotiate the allowable block size incorrectly
or are incapable of supporting larger block sizes, and for these clients you
may need to disable raw reads.
In general this parameter should be viewed as a system tuning tool and left
severely alone. See also "write raw".
Default: read raw = yes

READ RAW
--------

The "read raw" operation is designed to be an optimised, low-latency
file read operation. A server may choose to not support it,
however. and Samba makes support for "read raw" optional, with it
being enabled by default.

In some cases clients don't handle "read raw" very well and actually
get lower performance using it than they get using the conventional
read operations.

So you might like to try "read raw = no" and see what happens on your
network. It might lower, raise or not affect your performance. Only
testing can really tell.

write raw (G)
This parameter controls whether or not the server will support raw writes
SMB's when transferring data from clients. You should never need to change
this parameter.
Default: write raw = yes

WRITE RAW
---------

The "write raw" operation is designed to be an optimised, low-latency
file write operation. A server may choose to not support it,
however. and Samba makes support for "write raw" optional, with it
being enabled by default.

Some machines may find "write raw" slower than normal write, in which
case you may wish to change this option.




Další informace o konferenci Linux