zfs very poor performance compared to ufs due to lack of cache?

Steven Hartland killing at multiplay.co.uk
Sun Sep 12 17:02:42 UTC 2010


----- Original Message ----- 
From: "Andriy Gapon" <avg at freebsd.org>

>>> --- a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c
>>> +++ b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c
>>> @@ -500,6 +500,7 @@ again:
>>>  sched_unpin();
>>>  }
>>>  VM_OBJECT_LOCK(obj);
>>> + vm_page_set_validclean(m, off, bytes);
>> Only if error == 0, perhaps ?

Ok tried this and still no joy, the value of the cache always falls to that of the min
value and all memory used by sendfile still seems to get lost into inactive memory :(

    Regards
    Steve

================================================
This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. 

In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337
or return the E.mail to postmaster at multiplay.co.uk.



More information about the freebsd-fs mailing list