From owner-freebsd-current@FreeBSD.ORG Sun Jan 8 23:24:10 2012 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 21E01106564A for ; Sun, 8 Jan 2012 23:24:10 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id CBAD98FC1E for ; Sun, 8 Jan 2012 23:24:09 +0000 (UTC) Received: by vcbfk1 with SMTP id fk1so3750243vcb.13 for ; Sun, 08 Jan 2012 15:24:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=WGuSDsGEVkSnXktjkRXI2ABblNwEf9BUtKQX+mjU9d4=; b=kEhfj42aHCBS0mt+F7qJQS7GN6lneyxYoP4bJIpww3xtfzHyB0dOgluFpGMEdXtCC9 R0uOoJ4PBJ87fDRaDG8bONTse1c7O7sD8ns+xht10IzkH5tZ53JF+sSNvQrKOGDxs/F/ essZ8eNNp9s2cc558lbNgoGiyhOJf8LPgqzgY= MIME-Version: 1.0 Received: by 10.220.213.133 with SMTP id gw5mr7802169vcb.70.1326063716631; Sun, 08 Jan 2012 15:01:56 -0800 (PST) Received: by 10.220.191.130 with HTTP; Sun, 8 Jan 2012 15:01:56 -0800 (PST) In-Reply-To: <20120108223350.GO31224@deviant.kiev.zoral.com.ua> References: <20120108222720.GN31224@deviant.kiev.zoral.com.ua> <8401.1326061866@critter.freebsd.dk> <20120108223350.GO31224@deviant.kiev.zoral.com.ua> Date: Sun, 8 Jan 2012 15:01:56 -0800 Message-ID: From: Freddie Cash To: Kostik Belousov Content-Type: text/plain; charset=UTF-8 Cc: Poul-Henning Kamp , current@freebsd.org Subject: Re: CD9660/md(4)/UFS22 silly behaviour X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jan 2012 23:24:10 -0000 On Sun, Jan 8, 2012 at 2:33 PM, Kostik Belousov wrote: > On Sun, Jan 08, 2012 at 10:31:06PM +0000, Poul-Henning Kamp wrote: >> In message <20120108222720.GN31224@deviant.kiev.zoral.com.ua>, Kostik Belousov >> writes: >> >> >What is the access patern ? Is it random access, or sequential read >> >(from the cd9660 POV) ? >> >> Random access to files in the CD9660 filesystem, which stores files >> in sequential 2K blocks. > > Then it is reasonable. UFS reads full blocks. If you want/plan to use > UFS volume for small reads exclusively, you can newfs it with much > smaller block size, e.g. 8KB or even 4KB. I think the complaint is that UFS is reading 32 KB (which includes the 2 KB block and 15 others that will be needed right after) but not caching the 30 KB of data that follows the requested 2 KB. -- Freddie Cash fjwcash@gmail.com