[Samba] Red Hat and "use sendfile"

Henrik Zagerholm henke at mac.se
Wed Feb 1 21:54:50 GMT 2006


As I recall sendfile() is a compile option also so you have to make  
sure that samba is compiled with that flag.
Not sureif it is that by default either. =)

Cheers
1 feb 2006 kl. 20:40 skrev Steve Snyder:

> Recently I've seen several suggestions on this list for the  
> enabling of "use
> sendfile" as a means to improve throughput.  I thought this was  
> peculiar
> since the doc says it is enabled by default.  I guess it isn't.
>
> On both RHEL4 (Samba v3.0.10) and Fedora Core 4 (Samba v3.0.14) the  
> entry
> for "use sendfile" in the smb.conf says:
>
> 	Default: use sendfile = yes
>
> Hmm.  In fact I just discovered that sendfile is *not* enabled by  
> default in
> these 2 environments.  By doing a verbose output from testparm I  
> see that
> in both these environments "use sendfile" is set to No.
>
> So what is going on here?  Is the doc just wrong or is Red Hat  
> disabling
> this option in their Samba packages?
>
> I'm running a Samba v3.0.10 server in RHEL4.  The clients for this  
> server
> are Linux, Win2K and WinXP machines.  Given these circumstances,  
> should I
> enable "use sendfile" to get better throughput?
>
> Thanks.
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba



More information about the samba mailing list