[CentOS] Samba "use sendfile" configuration option set do disabled as default - why?

Les Mikesell lesmikesell at gmail.com
Mon Aug 24 18:05:28 UTC 2009


happymaster23 wrote:
> This is not problem of disks, this is problem of Samba (operating
> systems in network are Windows XP and Windows 7 only, so this should
> not be problem caused by Windows).
> 
> I am asking because of risks and disadvantages. This is same as
> oplocks - it may be performance tweak, but it is potentially dangerous
> (data corruption).

How does sendfile() mesh with SMB signed packets?  I'd think you would 
have to copy the data for that.  Sendfile should just be saving a 
memory/buffer copy or two anyway.  That seems like it should be a barely 
measurable amount of time unless your server is heavily loaded.

-- 
   Les Mikesell
    lesmikesell at gmail.com






More information about the CentOS mailing list