From owner-freebsd-arch@FreeBSD.ORG Thu Nov 10 00:03:48 2011 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 35979106566B; Thu, 10 Nov 2011 00:03:48 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [93.89.92.64]) by mx1.freebsd.org (Postfix) with ESMTP id DEC7F8FC12; Thu, 10 Nov 2011 00:03:47 +0000 (UTC) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id EADCAE658E; Wed, 9 Nov 2011 23:44:22 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cran.org.uk; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; s=mail; bh=kiby32Jg6f7s WT0S3LVGjRsGzp0=; b=y3L4XNmrZaTTVC2zohGNFrrx3SWBugcJoxgFplwLv48x VWv9ysFANvm5SFA1Jom4QBBF1ZicseT3EmoTOBRJjgFnzg5zMtB4IzF9+aClo+IP ur4G5zNifZVCwJroWy+nzuBJ4LoUUFPUfR6VrAyp2PHd5E1SLhz6zSonUG3Mlxk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=cran.org.uk; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; q=dns; s=mail; b=aWXJxr +vu38kSeKwAWdhnrhBjX0+vdMlzF59yBDCs0LgQoPHjmDZQRQPAjctM20MMa6Kw0 oWFgsyCw6CGwIheNFM/T8LkwHXAfOYa4+nNk38jVAHHzfqcgII4xKRNoCLHMvJkI +//A6OhghpTfDvK/+X82Try+cckNxyKytG9/Q= Received: from [192.168.1.68] (188-220-36-32.zone11.bethere.co.uk [188.220.36.32]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA id A8886E6587; Wed, 9 Nov 2011 23:44:22 +0000 (GMT) Message-ID: <4EBB104F.5010000@cran.org.uk> Date: Wed, 09 Nov 2011 23:44:15 +0000 From: Bruce Cran User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 MIME-Version: 1.0 To: John Baldwin References: <201110281426.00013.jhb@freebsd.org> <4EB2C9DD.9090606@FreeBSD.org> <20111104160319.GD6110@elvis.mu.org> <201111080800.32717.jhb@freebsd.org> In-Reply-To: <201111080800.32717.jhb@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: arch@freebsd.org, Ed Schouten , Alfred Perlstein , Jilles Tjoelker , freebsd-arch@freebsd.org Subject: Re: [PATCH] fadvise(2) system call X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Nov 2011 00:03:48 -0000 On 08/11/2011 13:00, John Baldwin wrote: > I think it would be fine to add flags to applications like 'tar' to > allow users to alter their behavior in specific use cases when it > makes sense. However, I think there are more workloads for 'tar' than > the ones you are thinking of and we should be hesitant to change > applications to use non- default settings. Someone's done that for GNU tar on Linux, adding a --no-oscache switch: http://www.mysqlperformanceblog.com/2010/04/02/fadvise-may-be-not-what-you-expect/ . -- Bruce Cran