Tuesday Sep 18, 2007
Tuesday Sep 18, 2007
I wrote a simple perl script to print out the ARC statistics. Sample output is shown below. You can either print the set of default fields, or specify what fields you want printed (see arcstat -v for details)
Download arcstat.pl
In later blogs, I will describe how to make sense of these numbers. Sample output below
Cached random read
thumper1[bash]$ ~/arcstat.pl
Time read miss miss% dmis dm% pmis pm% mmis mm% arcsz c
18:15:21 985M 100M 10 47M 14 53M 8 1M 3 11G 11G
18:15:22 137K 0 0 0 0 0 0 0 0 11G 11G
18:15:23 138K 0 0 0 0 0 0 0 0 11G 11G
18:15:24 138K 0 0 0 0 0 0 0 0 11G 11G
18:15:25 138K 0 0 0 0 0 0 0 0 11G 11G
18:15:26 138K 0 0 0 0 0 0 0 0 11G 11G
18:15:27 139K 0 0 0 0 0 0 0 0 11G 11G
18:15:28 140K 0 0 0 0 0 0 0 0 11G 11G
18:15:29 139K 0 0 0 0 0 0 0 0 11G 11G
18:15:30 140K 0 0 0 0 0 0 0 0 11G 11G
18:15:31 139K 0 0 0 0 0 0 0 0 11G 11G
18:15:32 33K 0 0 0 0 0 0 0 0 11G 11G
^C
Uncached sequential write
Time read miss miss% dmis dm% pmis pm% mmis mm% arcsz c
18:17:48 0 0 0 0 0 0 0 0 0 11G 11G
18:17:49 0 0 0 0 0 0 0 0 0 11G 11G
18:17:50 664 372 56 7 2 365 100 5 2 11G 11G
18:17:51 1K 534 36 5 0 529 100 5 0 11G 11G
18:17:52 2K 774 33 6 0 768 100 6 0 10G 10G
18:17:53 2K 645 31 5 0 640 100 5 0 10G 10G
18:17:54 1K 645 35 5 0 640 100 5 0 10G 10G
18:17:55 2K 645 31 5 0 640 100 5 0 10G 10G
18:17:56 1K 646 35 6 0 640 100 6 0 10G 10G
18:17:57 2K 645 31 5 0 640 100 5 0 10G 10G
18:17:58 2K 774 33 6 0 768 100 6 0 10G 10G
Wouldn't it have made more sense to tell us what kind of numbers to expect, *then* show the raw data? Data without meaning is called 'noise'
Posted by Alex Blewitt on September 18, 2007 at 04:26 PM PDT #
It is hard to know what are the "right" numbers without knowing the workload. A high miss% would make perfect sense for a random read workload, but is really bad for a cached read workload
Posted by realneel on September 18, 2007 at 04:49 PM PDT #