From owner-freebsd-fs@FreeBSD.ORG Mon Mar 26 17:09:54 2012 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 26CBC106564A for ; Mon, 26 Mar 2012 17:09:54 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: from smtprelay06.ispgateway.de (smtprelay06.ispgateway.de [80.67.31.103]) by mx1.freebsd.org (Postfix) with ESMTP id D48A28FC15 for ; Mon, 26 Mar 2012 17:09:53 +0000 (UTC) Received: from [109.46.100.95] (helo=fabiankeil.de) by smtprelay06.ispgateway.de with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1SCDKb-0005Hh-Ir for freebsd-fs@freebsd.org; Mon, 26 Mar 2012 19:03:45 +0200 Date: Mon, 26 Mar 2012 19:03:42 +0200 From: Fabian Keil To: freebsd-fs@freebsd.org Message-ID: <20120326190342.0b78cbc8@fabiankeil.de> In-Reply-To: References: <4F703815.8070809@crashme.org> <4F709A18.50907@crashme.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/GAqmTSOICOxqnc/ZiWsvYw."; protocol="application/pgp-signature" X-Df-Sender: Nzc1MDY3 Subject: Re: NFSv3, ZFS, 10GE performance X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Mar 2012 17:09:54 -0000 --Sig_/GAqmTSOICOxqnc/ZiWsvYw. Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Bob Friesenhahn wrote: > On Mon, 26 Mar 2012, Sven Brandenburg wrote: > > > > Hopefully, readahead doesn't kill performance for smaller files.. :-) >=20 > You are right to be concerned. There are plenty of cases where=20 > read-ahead damages application performance. Reading data which is=20 > never actually used is expensive. >=20 > It would be useful if FreeBSD would support posix_fadvise() so that=20 > applications can specify the type of access they will use, and if this=20 > advice can be used by NFS and the filesystem layer to decide if=20 > read-ahead should be used, and how much. posix_fadvise() is already available in FreeBSD 10.0-CURRENT. Fabian --Sig_/GAqmTSOICOxqnc/ZiWsvYw. Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iEYEARECAAYFAk9woXEACgkQBYqIVf93VJ21HQCfbY2lvS2Nk31YdWC2S00WZH9x 9kwAoLd0l6a70JXXD774XJqnXSha++1o =dtoo -----END PGP SIGNATURE----- --Sig_/GAqmTSOICOxqnc/ZiWsvYw.--