* Re: [Development] Fwd: samba tuning
[not found] <4F6AEC26.3080109@ipfire.org>
@ 2012-03-22 10:05 ` Michael Tremer
2012-03-22 10:50 ` Christian Schmidt
0 siblings, 1 reply; 3+ messages in thread
From: Michael Tremer @ 2012-03-22 10:05 UTC (permalink / raw)
To: development
[-- Attachment #1: Type: text/plain, Size: 1538 bytes --]
Hi,
I guess nobody ever checked them out.
For at least sendfile: I believe that the first kernels that came with
IPFire 2.1 did not have an implementation of sendfile.
I additionally found, that the buffers are set to approx. 8kb which
could also be increased. Supposedly, everyone has got enough of RAM.
Please open a bug to track this feature and prepare a patch.
Michael
On Thu, 2012-03-22 at 10:08 +0100, WhyTea wrote:
> Hi again!
>
> I've tested it again. Now with 1GBit/s
>
> without these parameters the write speed is about 23 MByte/s
> withe these parameters the write speed is about 80 MByte/s
>
> So I ask again, is there any reason why we don't use them?
>
> - Daniel
>
> -------- Original-Nachricht --------
> Betreff:
> samba tuning
> Datum:
> Wed, 14 Mar 2012 13:34:17 +0100
> Von:
> Daniel Weismüller
> <whytea(a)ipfire.org>
> Antwort an:
> whytea(a)ipfire.org
> An:
> development(a)lists.ipfire.org
>
>
> Hi all,
>
> is there any reason why ipfire don't use the following parameters with
> samba?
>
> use sendfile = 1
> aio read size = 1
> aio write size = 1
>
> I've tested them and it brings my samba-performance from 8,9 MB/s up to
> 9,2 MB/s (using 100Mbit/s fullduplex)
>
> - Daniel
>
> _______________________________________________
> Development mailing list
> Development(a)lists.ipfire.org
> http://lists.ipfire.org/mailman/listinfo/development
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Development] Fwd: samba tuning
2012-03-22 10:05 ` [Development] Fwd: samba tuning Michael Tremer
@ 2012-03-22 10:50 ` Christian Schmidt
2012-03-22 10:55 ` Michael Tremer
0 siblings, 1 reply; 3+ messages in thread
From: Christian Schmidt @ 2012-03-22 10:50 UTC (permalink / raw)
To: development
[-- Attachment #1: Type: text/plain, Size: 403 bytes --]
Refering to http://www.samba.org/samba/docs/man/manpages-3/smb.conf.5.html
the better and correct syntax is
use sendfile = yes
aio read size = 16384
aio write size = 16384
since sendfile can result in some problems with older clients I´am not
quite sure about that
The buffers and tcp options can be changed by using the socket option in
the gui, the detault settings are taken quite conservative
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Development] Fwd: samba tuning
2012-03-22 10:50 ` Christian Schmidt
@ 2012-03-22 10:55 ` Michael Tremer
0 siblings, 0 replies; 3+ messages in thread
From: Michael Tremer @ 2012-03-22 10:55 UTC (permalink / raw)
To: development
[-- Attachment #1: Type: text/plain, Size: 858 bytes --]
On Thu, 2012-03-22 at 11:50 +0100, Christian Schmidt wrote:
> Refering to http://www.samba.org/samba/docs/man/manpages-3/smb.conf.5.html
>
> the better and correct syntax is
>
> use sendfile = yes
> aio read size = 16384
> aio write size = 16384
>
> since sendfile can result in some problems with older clients I´am not
> quite sure about that
That's a good point. The documentation says there a issues with clients
like Win 9x. Nobody does use that anymore. For those who still do, the
option could be configurable. One still needs to decide what the default
setting is. I would vote for "enabled".
> The buffers and tcp options can be changed by using the socket option in
> the gui, the detault settings are taken quite conservative
True. Would this be a problem to change that? I don't think we should
expect any regressions by that.
Michael
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-03-22 10:55 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <4F6AEC26.3080109@ipfire.org>
2012-03-22 10:05 ` [Development] Fwd: samba tuning Michael Tremer
2012-03-22 10:50 ` Christian Schmidt
2012-03-22 10:55 ` Michael Tremer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox