Ben,

This looks good !

I Couple of points ;

- You might want show whether ARC is throttled.
   (Although this is not available as a kstat). I think it is good 
indication of how stressed is the box.
- I am not sure if 'anon_hits' make too much sense. :
-- From arc.c --
 * Anonymous buffers are buffers that are not associated with
 * a DVA.  These are buffers that hold dirty block copies
 * before they are written to stable storage.  By definition,
 * they are "ref'd" and are considered part of arc_mru
 * that cannot be freed.  Generally, they will aquire a DVA
 * as they are written and migrate onto the arc_mru list.
 */
-- snip --

I agree with you that we would need a little better explaination about 
the demand* parameters.

Let me try and understand that a little better.

Thanks and regards,
Sanjeev.

Ben Rockwood wrote:
> Thanks, not as much as I was hoping for but still extremely helpful.
>
>
> Can you, or others have a look at this: http://cuddletech.com/arc_summary.html
>
> This is a PERL script that uses kstats to drum up a report such as the 
> following:
>
> System Memory:
>          Physical RAM:  32759 MB
>          Free Memory :  10230 MB
>          LotsFree:      511 MB
>
> ARC Size:
>          Current Size:             7989 MB (arcsize)
>          Target Size (Adaptive):   8192 MB (c)
>          Min Size (Hard Limit):    1024 MB (zfs_arc_min)
>          Max Size (Hard Limit):    8192 MB (zfs_arc_max)
>
> ARC Size Breakdown:
>          Most Recently Used Cache Size:          13%    1087 MB (p)
>          Most Frequently Used Cache Size:        86%    7104 MB (c-p)
>
> ARC Efficency:
>          Cache Access Total:             3947194710
>          Cache Hit Ratio:      99%       3944674329
>          Cache Miss Ratio:      0%       2520381
>
>          Data Demand   Efficiency:    99%
>          Data Prefetch Efficiency:    69%
>
>         CACHE HITS BY CACHE LIST:
>           Anon:                        0%        16730069 
>           Most Frequently Used:       99%        3915830091 (mfu)
>           Most Recently Used:          0%        10490502 (mru)
>           Most Frequently Used Ghost:  0%        439554 (mfu_ghost)
>           Most Recently Used Ghost:    0%        1184113 (mru_ghost)
>         CACHE HITS BY DATA TYPE:
>           Demand Data:                99%        3914527790 
>           Prefetch Data:               0%        2447831 
>           Demand Metadata:             0%        10709326 
>           Prefetch Metadata:           0%        16989382 
>         CACHE MISSES BY DATA TYPE:
>           Demand Data:                45%        1144679 
>           Prefetch Data:              42%        1068975 
>           Demand Metadata:             5%        132649 
>           Prefetch Metadata:           6%        174078 
> ---------------------------------------------
>
>
> Feedback and input is welcome, in particular if I'm mischarrectorizing data.
>
> benr.
>  
>  
> This message posted from opensolaris.org
> _______________________________________________
> zfs-discuss mailing list
> zfs-discuss@opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
>   

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to