On Sun, Jan 8, 2012 at 2:33 PM, Kostik Belousov <kostik...@gmail.com> wrote:
> On Sun, Jan 08, 2012 at 10:31:06PM +0000, Poul-Henning Kamp wrote:
>> In message <20120108222720.gn31...@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
fjwc...@gmail.com
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to