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

jhell jhell at DataIX.net
Wed Sep 15 21:54:43 UTC 2010


On 09/15/2010 17:30, Steven Hartland wrote:
> ----- Original Message ----- From: "jhell" jhell at DataIX.net
> 
>> On 09/15/2010 06:54, Steven Hartland wrote:
>>> ----- Original Message ----- From: "Jeremy Chadwick"
>>> <freebsd at jdc.parodius.com>
>>>> Looks like Andriy just committed something to HEAD/CURRENT which might
>>>> address this:
>>>> http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/141305
>>>
>>> Already running that as part of the patches unfortunately, it doesn't
>>> seem
>>> to have any effect.
>>>
>>
>> Is it ? vm_page_set_validclean(m, off, bytes);
>> I recall you saying that you added this from earlier in the thread.
>> could be wrong though but what Andriy committed was the following.
>>
>> or ? vm_page_set_valid(m, off, bytes);
> 
> 
> Ahh good catch I have:
>    if (error == 0)
>        vm_page_set_validclean(m, off, bytes);
> 
> and not as mentioned by 141305:
>    if (error == 0)
>        vm_page_set_valid(m, off, bytes);
> 
> Which should it actaully be?
> 

Looking at the manual page vm_page_bits(9) I don't see a
vm_page_is_validclean so really would it have a effect ?.


-- 

 jhell,v


More information about the freebsd-fs mailing list