Re: [zfs-discuss] ARCSTAT Kstat Definitions

2009-11-30 Thread Christophe Lesbats
Dear Saanjeevb, In order to analyze a customer issue I am working on a script that computes ARC and L2ARc activities by interval. My intention is to analyze caches efficiency as well as evictions. I would appreciate more details : about hits breakdown : - Are m[fr]u_ghost_hits a subset of m[

Re: [zfs-discuss] ARCSTAT Kstat Definitions

2008-08-28 Thread Brendan Gregg - Sun Microsystems
G'Day Ben, ARC visibility is important; did you see Neel's arcstat?: http://www.solarisinternals.com/wiki/index.php/Arcstat Try -x for various sizes, and -v for definitions. On Thu, Aug 21, 2008 at 10:23:24AM -0700, Ben Rockwood wrote: > Its a starting point anyway. The key is to try

Re: [zfs-discuss] ARCSTAT Kstat Definitions

2008-08-28 Thread Peter Tribble
On Thu, Aug 21, 2008 at 8:47 PM, Ben Rockwood <[EMAIL PROTECTED]> wrote: > New version is available (v0.2) : > > * Fixes divide by zero, > * includes tuning from /etc/system in output > * if prefetch is disabled I explicitly say so. > * Accounts for jacked anon count. Still need improvement he

Re: [zfs-discuss] ARCSTAT Kstat Definitions

2008-08-21 Thread Ben Rockwood
New version is available (v0.2) : * Fixes divide by zero, * includes tuning from /etc/system in output * if prefetch is disabled I explicitly say so. * Accounts for jacked anon count. Still need improvement here. * Added friendly explanations for MRU/MFU & Ghost lists counts. Page and examp

Re: [zfs-discuss] ARCSTAT Kstat Definitions

2008-08-21 Thread Ben Rockwood
Its a starting point anyway. The key is to try and draw useful conclusions from the info to answer the torrent of "why is my ARC 30GB???" There are several things I'm unclear on whether or not I'm properly interpreting such as: * As you state, the anon pages. Even the comment in code is, to

Re: [zfs-discuss] ARCSTAT Kstat Definitions

2008-08-21 Thread Sanjeev Bagewadi
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 b

Re: [zfs-discuss] ARCSTAT Kstat Definitions

2008-08-21 Thread Tomas Ă–gren
On 21 August, 2008 - Ben Rockwood sent me these 2,2K bytes: > 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 > f

Re: [zfs-discuss] ARCSTAT Kstat Definitions

2008-08-21 Thread Ben Rockwood
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 Me

Re: [zfs-discuss] ARCSTAT Kstat Definitions

2008-08-20 Thread Sanjeev
Ben, Here is an attempt. c -> Is the total cache size (MRU + MFU) p -> represents the limit of MRU (c - p) -> represents the limit of MFU c_max, c_min-> hard limits size-> Total amount consumed by ARC memory_throttle_count -> The number of times ZFS decided to

[zfs-discuss] ARCSTAT Kstat Definitions

2008-08-20 Thread Ben Rockwood
Would someone "in the know" be willing to write up (preferably blog) definitive definitions/explanations of all the arcstats provided via kstat? I'm struggling with proper interpretation of certain values, namely "p", "memory_throttle_count", and the mru/mfu+ghost hit vs demand/prefetch hit co