From owner-freebsd-current@FreeBSD.ORG Sat Nov 11 05:01:19 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6A5B616A412; Sat, 11 Nov 2006 05:01:19 +0000 (UTC) (envelope-from amistry@am-productions.biz) Received: from mail.united-ware.com (am-productions.biz [69.61.164.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC26A43D79; Sat, 11 Nov 2006 05:01:18 +0000 (GMT) (envelope-from amistry@am-productions.biz) Received: from [192.168.1.100] (cpe-24-210-75-119.columbus.res.rr.com [24.210.75.119]) (authenticated bits=0) by mail.united-ware.com (8.13.6/8.13.6) with ESMTP id kAB5KnF2048957 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 11 Nov 2006 00:20:56 -0500 (EST) (envelope-from amistry@am-productions.biz) From: Anish Mistry Organization: AM Productions To: freebsd-current@freebsd.org Date: Sat, 11 Nov 2006 00:02:16 -0500 User-Agent: KMail/1.9.4 References: <200611021653.kA2GrRWx008044@repoman.freebsd.org> <1163215249.2826.9.camel@shumai.marcuscom.com> <45554464.3010200@gmail.com> In-Reply-To: <45554464.3010200@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1253625.nhtXVBYPOy"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200611110002.29437.amistry@am-productions.biz> X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_50,MYFREEBSD2, MYFREEBSD3,NORMAL_HTTP_TO_IP,RCVD_IN_NJABL_DUL,SPF_SOFTFAIL autolearn=failed version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on mail.united-ware.com X-Virus-Scanned: ClamAV 0.88.5/2185/Fri Nov 10 06:04:49 2006 on mail.united-ware.com X-Virus-Status: Clean X-Mailman-Approved-At: Sat, 11 Nov 2006 05:11:42 +0000 Cc: Andre Oppermann , Joe Marcus Clarke , current@freebsd.org Subject: Re: sendfile data corruption X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Nov 2006 05:01:19 -0000 --nextPart1253625.nhtXVBYPOy Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Friday 10 November 2006 22:32, Pawel Worach wrote: > Joe Marcus Clarke wrote: > > Looks to me like there's some unnecessary calculations happening > > to get the xfsize. Does the following patch help? > > > > http://www.marcuscom.com/downloads/uipc_syscalls.c.diff > > Jumped the gun a bit there, worked well for small files but failed > on bigger ones. > > 0>root@zero /usr/local/www/data# md5 sh > MD5 (sh) =3D e090ae9fc697b6ec84165af920034dc4 > 0>root@zero /usr/local/www/data# fetch -o - http://127.0.0.1/sh | > md5 - 100% of 109 kB =20 > 57 MBps e090ae9fc697b6ec84165af920034dc4 > > 0>root@zero /usr/local/www/data# md5 pkg.tar > MD5 (pkg.tar) =3D 4acc148ebde3f491141950cf902b2d49 > 0>root@zero /usr/local/www/data# fetch -o - > http://127.0.0.1/pkg.tar | md5 - =20 > 100% of 362 MB 67 MBps 98018da64b1fd111beaef8d990438604 Yeah, I'm seeing this too with apache2 and apache22 on -CURRENT. =2D-=20 Anish Mistry amistry@am-productions.biz AM Productions http://am-productions.biz/ --nextPart1253625.nhtXVBYPOy Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQBFVVllxqA5ziudZT0RAnjQAKChFpWUzconMpuZ1mEpn0Mx70yWpgCgy9iT BqAL0GyTEYPiLwlT1IrqvPA= =tbvu -----END PGP SIGNATURE----- --nextPart1253625.nhtXVBYPOy--