happymaster23
2009-Aug-24 10:47 UTC
[CentOS] Samba "use sendfile" configuration option set do disabled as default - why?
Hello, I had problems with speed of Samba, so I was looking for some solution and I had discovered "use sendfile" configuration option. I was checking all Samba release notes and I had discovered, that from some version (older than is in CentOS repo) this option was turned on as default. So my question is, why in CentOS 5.3 is that option in default set to off? Thank you for responses Martin ??astn?
Per Qvindesland
2009-Aug-24 11:24 UTC
[CentOS] Samba "use sendfile" configuration option set do disabled as default - why?
Hi Have you tried this one? socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=65536 SO_SNDBUF=65536 Also look at the log level reduce it to level to or lower. Per --- Original message follows --- SUBJECT:?[CentOS] Samba "use sendfile" configuration option set do disabled as default - why? FROM: ?happymaster23 TO:?"CentOS mailing list" DATE:?24-08-2009 12:47 Hello, I had problems with speed of Samba, so I was looking for some solution and I had discovered "use sendfile" configuration option. I was checking all Samba release notes and I had discovered, that from some version (older than is in CentOS repo) this option was turned on as default. So my question is, why in CentOS 5.3 is that option in default set to off? Thank you for responses Martin ??astn? _______________________________________________ CentOS mailing list CentOS at centos.org http://lists.centos.org/mailman/listinfo/centos -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20090824/ff7563a9/attachment-0003.html>
Christoph Maser
2009-Aug-24 11:27 UTC
[CentOS] Samba "use sendfile" configuration option set do disabled as default - why?
Am Montag, den 24.08.2009, 13:24 +0200 schrieb Per Qvindesland:> socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=65536 > SO_SNDBUF=65536These options are often found if you search for samba tuning. Did someone actaully benchmark the results? Shouldn't tuning buffers manuall be oboslete nowadays? I somewhat doubt this is THE solution for slow sambas. Chris financial.com AG Munich head office/Hauptsitz M?nchen: Maria-Probst-Str. 19 | 80939 M?nchen | Germany Frankfurt branch office/Niederlassung Frankfurt: Messeturm | Friedrich-Ebert-Anlage 49 | 60327 Frankfurt | Germany Management board/Vorstand: Dr. Steffen Boehnert (CEO/Vorsitzender) | Dr. Alexis Eisenhofer | Dr. Yann Samson | Matthias Wiederwach Supervisory board/Aufsichtsrat: Dr. Dr. Ernst zur Linden (chairman/Vorsitzender) Register court/Handelsregister: Munich ? HRB 128 972 | Sales tax ID number/St.Nr.: DE205 370 553
Per Qvindesland
2009-Aug-24 11:54 UTC
[CentOS] Samba "use sendfile" configuration option set do disabled as default - why?
Hi I am not saying that this is the solution but I am saying that it might be worth a short, even if it works for you I would still fine tune it depending on your configs, a lot of the time fine tuning samba is a pain and most of the time it actually comes down to crappy network performance I.E the nic seems to be working but it actually has a fault. Regards Per Qvindesland --- Original message follows --- SUBJECT:?Re: [CentOS] Samba "use sendfile" configuration option set do disabled as default - why? FROM: ?Christoph Maser TO:?"CentOS mailing list" DATE:?24-08-2009 13:27 Am Montag, den 24.08.2009, 13:24 +0200 schrieb Per Qvindesland:> socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=65536 > SO_SNDBUF=65536These options are often found if you search for samba tuning. Did someone actaully benchmark the results? Shouldn't tuning buffers manuall be oboslete nowadays? I somewhat doubt this is THE solution for slow sambas. Chris financial.com AG Munich head office/Hauptsitz M?nchen: Maria-Probst-Str. 19 | 80939 M?nchen | Germany Frankfurt branch office/Niederlassung Frankfurt: Messeturm | Friedrich-Ebert-Anlage 49 | 60327 Frankfurt | Germany Management board/Vorstand: Dr. Steffen Boehnert (CEO/Vorsitzender) | Dr. Alexis Eisenhofer | Dr. Yann Samson | Matthias Wiederwach Supervisory board/Aufsichtsrat: Dr. Dr. Ernst zur Linden (chairman/Vorsitzender) Register court/Handelsregister: Munich ? HRB 128 972 | Sales tax ID number/St.Nr.: DE205 370 553 _______________________________________________ CentOS mailing list CentOS at centos.org http://lists.centos.org/mailman/listinfo/centos -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20090824/93696fe3/attachment-0003.html>
happymaster23
2009-Aug-24 13:41 UTC
[CentOS] Samba "use sendfile" configuration option set do disabled as default - why?
Thank you for replies, with option "use sendfile = yes" it works great (with good speed), but I am asking why is this option in CentOS disabled as default, even in standard samba build it should be (according to Samba release notes) enabled as default. So my question is, why in CentOS?s Samba build is this option as default disabled. Is it experimental? Is it potentially dangerous? (Something like oplocks?) 2009/8/24 Per Qvindesland <per at norhex.com>:> Hi > > I am not saying that this is the solution but I am saying that it might be > worth a short, even if it works for you I would still fine tune it depending > on your configs, a lot of the time fine tuning samba is a pain and most of > the time it actually comes down to crappy network performance I.E the nic > seems to be working but it actually has a fault. > > Regards > Per Qvindesland > > --- Original message follows --- > Subject:?Re: [CentOS] Samba "use sendfile" configuration option set do > disabled as default - why? > From: ?Christoph Maser <cmr at financial.com> > To:?"CentOS mailing list" <centos at centos.org> > Date:?24-08-2009 13:27 > > > Am Montag, den 24.08.2009, 13:24 +0200 schrieb Per Qvindesland: >> socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=65536 >> SO_SNDBUF=65536 > > These options are often found if you search for samba tuning. Did > someone actaully benchmark the results? Shouldn't tuning buffers manuall > be oboslete nowadays? I somewhat doubt this is THE solution for slow > sambas. > > Chris > > > financial.com AG > > Munich head office/Hauptsitz M?nchen: Maria-Probst-Str. 19 | 80939 M?nchen | > Germany > Frankfurt branch office/Niederlassung Frankfurt: Messeturm | > Friedrich-Ebert-Anlage 49 | 60327 Frankfurt | Germany > Management board/Vorstand: Dr. Steffen Boehnert (CEO/Vorsitzender) | Dr. > Alexis Eisenhofer | Dr. Yann Samson | Matthias Wiederwach > Supervisory board/Aufsichtsrat: Dr. Dr. Ernst zur Linden > (chairman/Vorsitzender) > Register court/Handelsregister: Munich ? HRB 128 972 | Sales tax ID > number/St.Nr.: DE205 370 553 > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos > >