On Mon, Feb 7, 2011 at 2:21 PM, Brandon High <bh...@freaks.com> wrote:
> On Mon, Feb 7, 2011 at 11:17 AM, Yi Zhang <yizhan...@gmail.com> wrote:
>> Maybe I didn't make my intention clear. UFS with directio is
>> reasonably close to a raw disk from my application's perspective: when
>> the app writes to a file location, no buffering happens. My goal is to
>> find a way to duplicate this on ZFS.
>
> Step back an consider *why* you need no buffering.
I'm writing an database-like application which manages its own page
buffer, so I want to disable the buffering in the OS/FS level. UFS
with directio suits my need perfectly, but I also want to try it on
ZFS because ZFS does't directly overwrite a page which is being
modified (it allocates a new page instead), and thus it represents a
different category of FS. I want to measure the performance difference
of my app on UFS and ZFS and tell how my app is FS-dependent.
>
>> From the discussion so far my feeling is that ZFS is too different
>> from UFS that there's simply no way to achieve this goal...
>
> ZFS is not UFS, and solutions that are required for UFS to work
> correctly are not needed with ZFS.
>
> -B
>
> --
> Brandon High : bh...@freaks.com
>
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to