Date: Fri, 8 Jan 2016 12:37:14 -0800 From: Bryan Drewery <bdrewery@FreeBSD.org> To: Gleb Smirnoff <glebius@FreeBSD.org>, 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: <56901DFA.7090409@FreeBSD.org> 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
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --L7B8DSh9ui7GAwvAGd28ElKoSHx5DV9o5 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 1/8/2016 12:34 PM, Gleb Smirnoff wrote: > 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 201= 3 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 async= hronous > I/O, when I/O operations are launched, but not awaited to be complete= =2E 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_READAH= EAD() > macro allows to specify readahead size in pages. > =20 > The new syscalls is a drop in replacement. No modifications are requi= red > to applications. One can take nginx binary for stable/10 and run it > successfully on head. Although SF_NODISKIO lost its original sense, a= s 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 >=20 > Modified: > head/lib/libc/sys/sendfile.2 > head/sys/dev/ti/if_ti.c > head/sys/kern/uipc_mbuf.c > head/sys/kern/uipc_syscalls.c > head/sys/sys/mbuf.h > head/sys/sys/sf_buf.h > head/sys/sys/socket.h > head/usr.bin/netstat/mbuf.c Why not merge the branch with full history? --=20 Regards, Bryan Drewery --L7B8DSh9ui7GAwvAGd28ElKoSHx5DV9o5 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJWkB36AAoJEDXXcbtuRpfPZTYH/13iig98PbKvbGae42o6UGAg czAxIuKAVg1KHPufJgCZPQzfAVF8kYOkHAS9kSCXHmSfLAr1OvgnjfpkHesVhQNu 30z9yoSSbUfw8wF3PKXTT2CwoRQ2aQ0ypGFBtFef5jnPZ3mrSacJjjrgN/v2FImE ty7yLUJjxHcBX5D5jKia7Tkev80HMXkLMscv5pbp4JqAAlQOlpZOG7Nx2Ej6BSEi jEZOhvF3puNPX6DZt8j9GUfVriWZ47VCJoZZsiF/kus2qA4PpOVSdUdrH9Ym9Vh/ QAeEAwhcMfGRYDjCCRjBp2Y9OAEF6HbyAE3SoPFVvR9Xn3rAAA/pNJBXlrVdMm0= =2uLs -----END PGP SIGNATURE----- --L7B8DSh9ui7GAwvAGd28ElKoSHx5DV9o5--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56901DFA.7090409>