[Orca-dev] Help needed with orcallator.cfg modification

hudesd at hra.nyc.gov hudesd at hra.nyc.gov
Tue Feb 16 11:22:54 PST 2010


How do I modify orcallator.cfg so that zfs information is collected and processed?
There's three groups of information: zpool, zfs and kstat.  For zpool the interest is to collect overall information as given in "zpool status" and "zpool iostat".
For each zfs filesystem it is sometimes interesting/usefl to collect the property information esp. usage and compressratio (and the mount point and name to go with it).

For the zfs subsystem as a whole, the kstat information.
The arcstats are particularly useful when one modifies the size of the ARC.


Here's sample data for each of these:

# zpool iostat
               capacity     operations    bandwidth
pool         used  avail   read  write   read  write
----------  -----  -----  -----  -----  -----  -----
rpool       8.88G  24.9G      0      1  1.64K  9.37K
# zpool status
  pool: rpool
 state: ONLINE
 scrub: none requested
config:

        NAME          STATE     READ WRITE CKSUM
        rpool         ONLINE       0     0     0
          mirror      ONLINE       0     0     0
            c1t0d0s0  ONLINE       0     0     0
            c1t1d0s0  ONLINE       0     0     0

errors: No known data errors



module: zfs                             instance: 0     
name:   arcstats                        class:    misc
	c                               22731556898
	c_max                           32430358528
	c_min                           4053794816
	crtime                          91.433352541
	data_size                       21908203008
	deleted                         326763323
	demand_data_hits                2260429730
	demand_data_misses              42993329
	demand_metadata_hits            746089586
	demand_metadata_misses          9366403
	evict_skip                      33111000
	hash_chain_max                  33
	hash_chains                     350759
	hash_collisions                 417215448
	hash_elements                   1210765
	hash_elements_max               7370373
	hdr_size                        217361184
	hits                            5232036215
	l2_abort_lowmem                 0
	l2_cksum_bad                    0
	l2_evict_lock_retry             0
	l2_evict_reading                0
	l2_feeds                        0
	l2_free_on_write                0
	l2_hdr_size                     0
	l2_hits                         0
	l2_io_error                     0
	l2_misses                       0
	l2_read_bytes                   0
	l2_rw_clash                     0
	l2_size                         0
	l2_write_bytes                  0
	l2_writes_done                  0
	l2_writes_error                 0
	l2_writes_hdr_miss              0
	l2_writes_sent                  0
	memory_throttle_count           0
	mfu_ghost_hits                  6977534
	mfu_hits                        4404459460
	misses                          300894479
	mru_ghost_hits                  66956612
	mru_hits                        370300305
	mutex_miss                      13467539
	other_size                      605749632
	p                               12103248625
	prefetch_data_hits              2196164982
	prefetch_data_misses            245552439
	prefetch_metadata_hits          29351917
	prefetch_metadata_misses        2982308
	recycle_miss                    10264332
	size                            22731313824
	snaptime                        2338728.83821827

module: zfs                             instance: 0     
name:   vdev_cache_stats                class:    misc
	crtime                          91.433638112
	delegations                     260146
	hits                            4392174
	misses                          7253765
	snaptime                        2338728.84326706



More information about the Orca-dev mailing list