Date: Tue, 13 Sep 2011 11:56:41 +0200 (CEST) From: Laszlo KAROLYI <szoftos@freemail.hu> To: freebsd-fs <freebsd-fs@freebsd.org> Subject: Re: ZFS-lighttpd2-sendfile, too high IO Message-ID: <freemail.20110913115641.67732.1@xmldata08.freemail.hu> In-Reply-To: <alpine.GSO.2.01.1109121428570.12948@freddy.simplesystems.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello, it seems that turning off sendfile() in lighttpd2 completely solved my problem. The inactive memory usage ceased, wired memory raised for ARC cache, and I see an enormous fall of IO load under the same (or even higher) network load. The disk IO load now scales to the network load. Something must be not right with the sendfile support in ZFS. However, my problem solved, and I'd suggest turning off sendfile in any programs in the future, unless this bug gets fixed. Laszlo Bob Friesenhahn <bfriesen@simple.dallas.tx.us> írta: >On Mon, 12 Sep 2011, Laszlo KAROLYI wrote: > >> But does this explain the 4-5mbyte/s reads when having a 15mbit/s network load? > >There are only two viable explanations: > > o Insuffient caching due to insufficient resources > > o Data is not being cached at all > >Zfs reads whole 128K blocks (or whatever the filesystem blocksize is) >at a time. It does not read partial blocks from underlying storage. >This makes it very expensive to perform many small read accesses if >the reads are not subsequently cached in the ARC. > >Bob >-- >Bob Friesenhahn >bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/ >GraphicsMagick Maintainer, http://www.GraphicsMagick.org/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?freemail.20110913115641.67732.1>
