Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Jan 2016 12:44:32 -0800
From:      NGie Cooper <yaneurabeya@gmail.com>
To:        Gleb Smirnoff <glebius@FreeBSD.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r293439 - in head: lib/libc/sys sys/dev/ti sys/kern sys/sys usr.bin/netstat
Message-ID:  <96B980EE-FD2F-490E-BA5E-4F23A67CEB18@gmail.com>
In-Reply-To: <201601082034.u08KYvLv075281@repo.freebsd.org>
References:  <201601082034.u08KYvLv075281@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

> On Jan 8, 2016, at 12:34, Gleb Smirnoff <glebius@FreeBSD.org> wrote:
>=20
> Author: glebius
> Date: Fri Jan  8 20:34:57 2016
> New Revision: 293439
> URL: https://svnweb.freebsd.org/changeset/base/293439
>=20
> Log:
>  New sendfile(2) syscall. A joint effort of NGINX and Netflix from =
2013 and
>  up to now.
>=20
>  The new sendfile is the code that Netflix uses to send their multiple =
tens
>  of gigabits of data per second. The new implementation features =
asynchronous
>  I/O, when I/O operations are launched, but not awaited to be =
complete. An
>  explanation of why such behavior is beneficial compared to old one is
>  going to be too long for a commit message, so we will skip it here.
>=20
>  Additional features of new syscall are extra flags, which provide an
>  application more control over data sent. The SF_NOCACHE flag tells
>  kernel that data shouldn't be cached after it was sent. The =
SF_READAHEAD()
>  macro allows to specify readahead size in pages.
>=20
>  The new syscalls is a drop in replacement. No modifications are =
required
>  to applications. One can take nginx binary for stable/10 and run it
>  successfully on head. Although SF_NODISKIO lost its original sense, =
as now
>  sendfile doesn't block, and now means something completely different =
(tm),
>  using the new sendfile the old way is absolutely safe.
>=20
>  Celebrates:	Netflix global launch!
>  Sponsored by:	Nginx, Inc.
>  Sponsored by:	Netflix
>  Relnotes:	yes

Did anyone review these changes and the other changes made recently to =
sys/kern and sys/net* ?
Thanks,
-NGie=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?96B980EE-FD2F-490E-BA5E-4F23A67CEB18>