More zfs benchmarks

Joshua Boyd boydjd at jbip.net
Sun Feb 14 23:23:38 UTC 2010


On Sun, Feb 14, 2010 at 6:12 PM, Joshua Boyd <boydjd at jbip.net> wrote:

>
>
> On Sun, Feb 14, 2010 at 5:58 PM, Jonathan Belson <jon at witchspace.com>wrote:
>
>> On 14 Feb 2010, at 21:15, Joshua Boyd wrote:
>>
>> > Repeated the same tests on my AMD64 dual core 4GB system with 5 HD103SI
>> 1T
>> > drives in raidz1 on a Supermicro PCI-E controller, running 8-STABLE.
>>
>> [ snip results ]
>>
>> I was hoping I'd get something closer to these figures...
>>
>> > Here are my relevant settings:
>> >
>> > vfs.zfs.prefetch_disable=0
>> > vfs.zfs.zil_disable="1"
>>
>> I already had prefetch disabled, but retrying with zil disabled made no
>> difference.
>>
>
> That setting actually enables prefetch ... I have 4GB of RAM, so I felt
> safe turning it on.
>
>
>>
>> What is your arc_min and arc_max set to?
>>
>
> System Memory:
>      Physical RAM:     4015 MB
>      Free Memory :     2130 MB
>
> ARC Size:
>      Current Size:             783 MB (arcsize)
>      Target Size (Adaptive):   783 MB (c)
>      Min Size (Hard Limit):    101 MB (zfs_arc_min)
>      Max Size (Hard Limit):    808 MB (zfs_arc_max)
>
> ARC Size Breakdown:
>      Most Recently Used Cache Size:      97%     764 MB (p)
>      Most Frequently Used Cache Size:       2%     18 MB (c-p)
>
> ARC Efficency:
>      Cache Access Total:             148383
>      Cache Hit Ratio:      66%     98434       [Defined State for buffer]
>      Cache Miss Ratio:     33%     49949       [Undefined State for Buffer]
>      REAL Hit Ratio:       65%     96744       [MRU/MFU Hits Only]
>
>      Data Demand   Efficiency:    99%
>      Data Prefetch Efficiency:     0%
>
>     CACHE HITS BY CACHE LIST:
>       Anon:                        1%      1515                [ New
> Customer, First Cache Hit ]
>       Most Recently Used:         28%      27931 (mru)          [ Return
> Customer ]
>       Most Frequently Used:       69%      68813 (mfu)          [ Frequent
> Customer ]
>       Most Recently Used Ghost:    0%      175 (mru_ghost)    [ Return
> Customer Evicted, Now Back ]
>       Most Frequently Used Ghost:  0%      0 (mfu_ghost)    [ Frequent
> Customer Evicted, Now Back ]
>     CACHE HITS BY DATA TYPE:
>       Demand Data:                12%      12369
>       Prefetch Data:               0%      0
>       Demand Metadata:            85%      84375
>       Prefetch Metadata:           1%      1690
>     CACHE MISSES BY DATA TYPE:
>       Demand Data:                 0%      6
>       Prefetch Data:              96%      47994
>       Demand Metadata:             3%      1580
>       Prefetch Metadata:           0%      369
> ---------------------------------------------
>
>
>
>>
>> >
>> > On Sun, Feb 14, 2010 at 3:34 PM, Michael Loftis <mloftis at wgops.com>
>> wrote:
>> >>>
>> >> You really need to test with at least 4GB of data, else you're just
>> testing
>> >> caching speeds on writing.  Use a test suite like bonnie++ and you'll
>> see
>>
>> I'd expect to get more than 4MB/s if I was just measuring cache speed :-)
>>
>> Cheers,
>>
>> --Jon
>>
>>
>
>
> --
> Joshua Boyd
> JBipNet
>
> E-mail: boydjd at jbip.net
>
> http://www.jbip.net
>



-- 
Joshua Boyd
JBipNet

E-mail: boydjd at jbip.net

http://www.jbip.net


More information about the freebsd-stable mailing list