From owner-svn-src-head@freebsd.org Fri Jan 8 20:44:36 2016 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D465BA67B2D; Fri, 8 Jan 2016 20:44:36 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-pa0-x234.google.com (mail-pa0-x234.google.com [IPv6:2607:f8b0:400e:c03::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B4B111106; Fri, 8 Jan 2016 20:44:36 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by mail-pa0-x234.google.com with SMTP id ho8so26921647pac.2; Fri, 08 Jan 2016 12:44:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=rv1RRJGuzbWc1DcMAp5bHluZLjatJ8f6UeQNf/7vWro=; b=iUhwY317Z5PT4mhaToba0AvNsLNDG5AMUsioK4134Pf9Jh6Yk3dhghggy64hX+KEyU 7yiUvJyAXZSfBW+83oPemGJNoYOp/LBx/CQvYoZg5rhtKmYwatBbqeriXKGl7BZkNHeJ G0pdvuCs7zPe0vxZPJ9uAT6zlLQSCtfIfVDaqKvVCJ436KNaQ7yR3PkBhWaieqX61l2G EKHoCKo2G9HJrXbjtHxHNUUQzdyRTN5aDsZvRT7RWYtAlo2B3SkdWHo2sC9wHiKZHYGl qAckq9AIEYiywU95ge0uyMyi8yC1WME7jPije1NWc4s70KGTBQgqs+OnAXPV/bJzUEf4 p94g== X-Received: by 10.66.235.162 with SMTP id un2mr10239003pac.17.1452285876237; Fri, 08 Jan 2016 12:44:36 -0800 (PST) Received: from ?IPv6:2601:601:800:126d:5503:16e8:a177:a045? ([2601:601:800:126d:5503:16e8:a177:a045]) by smtp.gmail.com with ESMTPSA id s80sm6700077pfi.36.2016.01.08.12.44.33 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 08 Jan 2016 12:44:34 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: svn commit: r293439 - in head: lib/libc/sys sys/dev/ti sys/kern sys/sys usr.bin/netstat From: NGie Cooper In-Reply-To: <201601082034.u08KYvLv075281@repo.freebsd.org> Date: Fri, 8 Jan 2016 12:44:32 -0800 Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <96B980EE-FD2F-490E-BA5E-4F23A67CEB18@gmail.com> References: <201601082034.u08KYvLv075281@repo.freebsd.org> To: Gleb Smirnoff X-Mailer: Apple Mail (2.2104) X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jan 2016 20:44:36 -0000 > On Jan 8, 2016, at 12:34, Gleb Smirnoff 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=