Date: Mon, 12 Sep 2011 22:45:42 +0300 From: Andriy Gapon <avg@FreeBSD.org> To: "K. Macy" <kmacy@FreeBSD.org> Cc: freebsd-fs@FreeBSD.org Subject: Re: ZFS-lighttpd2-sendfile, too high IO Message-ID: <4E6E6166.4090408@FreeBSD.org> In-Reply-To: <CAHM0Q_Piojt=Ob%2BsniMpaO9v1j_mBxCrKXFi6yxWktn2tnnSVQ@mail.gmail.com> References: <freemail.20110912131045.97846.1@xmldata03.freemail.hu> <F959B6B4287E4B7A9C55B34E7A2EDAC9@multiplay.co.uk> <CAHM0Q_Piojt=Ob%2BsniMpaO9v1j_mBxCrKXFi6yxWktn2tnnSVQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
on 12/09/2011 21:12 K. Macy said the following: > 2011/9/12 Steven Hartland <killing@multiplay.co.uk>: >> sendfile doesn't work as you might expect on zfs, its not zero copy due to >> the use of none buffer pool memory. >> >> You do get a benefit but it requires double the amount of memory to get it >> so we've disabled sendfile >> under nginx for zfs based hosts for this very reason. > > > In my performance testing, sending from mmaped I/O on ZFS was > dramatically faster (> 2x) than sendfile. When did you last test that (FreeBSD svn revision)? -- Andriy Gapon
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E6E6166.4090408>