Re: Samba "use sendfile" configuration option set do disabled as default - why?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Mon, 2009-08-24 at 15:41 +0200, happymaster23 wrote:> 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?)---------------Why is it disabled? You need to ask the "Samba Devel List" that. Just anexample an i586 class machine with 4 Nics will saturate a gig Econnection easily. Its all all about disk throughput and how many discspindles you have. Maybe this will explain it to you! :-) Winblowsrelated mostly.
Hint use "man smb.conf"
 use sendfile (S)             If this parameter is yes, and the sendfile() system call issupported by the  underlying  operating             system, then some SMB read calls (mainly ReadAndX andReadRaw) will use the more efficient sendfile             system call for files that are exclusively oplocked. Thismay make more efficient use of the system             CPU’s  and cause Samba to be faster. Samba automaticallyturns this off for clients that use proto-             col levels lower than NT LM 0.12 and when it detects aclient is Windows 9x  (using  sendfile  from             Linux will cause these clients to fail).
             Default: use sendfile = false
JohnStanley

_______________________________________________CentOS mailing listCentOS@xxxxxxxxxxxxxx://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux