Date: Sat, 11 Nov 2006 00:02:16 -0500 From: Anish Mistry <amistry@am-productions.biz> To: freebsd-current@freebsd.org Cc: Andre Oppermann <andre@freebsd.org>, Joe Marcus Clarke <marcus@freebsd.org>, current@freebsd.org Subject: Re: sendfile data corruption Message-ID: <200611110002.29437.amistry@am-productions.biz> In-Reply-To: <45554464.3010200@gmail.com> References: <200611021653.kA2GrRWx008044@repoman.freebsd.org> <1163215249.2826.9.camel@shumai.marcuscom.com> <45554464.3010200@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611110002.29437.amistry>