From owner-svn-src-projects@FreeBSD.ORG Sun Dec 1 23:51:32 2013 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6AD0D145; Sun, 1 Dec 2013 23:51:32 +0000 (UTC) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 39D731075; Sun, 1 Dec 2013 23:51:31 +0000 (UTC) Received: from jre-mbp.elischer.org (ppp121-45-246-96.lns20.per2.internode.on.net [121.45.246.96]) (authenticated bits=0) by vps1.elischer.org (8.14.7/8.14.7) with ESMTP id rB1NpIHI001942 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Sun, 1 Dec 2013 15:51:24 -0800 (PST) (envelope-from julian@freebsd.org) Message-ID: <529BCB70.3000308@freebsd.org> Date: Mon, 02 Dec 2013 07:51:12 +0800 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.1.1 MIME-Version: 1.0 To: Gleb Smirnoff , src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: Re: svn commit: r258815 - projects/sendfile/sys/kern References: <201312012110.rB1LA7MW008020@svn.freebsd.org> In-Reply-To: <201312012110.rB1LA7MW008020@svn.freebsd.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Dec 2013 23:51:32 -0000 On 12/2/13, 5:10 AM, Gleb Smirnoff wrote: > Author: glebius > Date: Sun Dec 1 21:10:07 2013 > > Basic performance testing showed no regressions in timing. Number of I/Os > decreased comparing to sendfile() from head, but increased compared to > previous version of the projects/sendfile. On a sample 300 Mb file: > > I/Os > head 3247 > projects/sendfile 680 > new code 2826 > > is there planned future work to reduce the number of reads to the same order as the previous prototype? (i.e. around 1000 or less vs around 3000)