pcp
[Top] [All Lists]

Re: [pcp] arc/zpool metric support on linux (#32)

To: performancecopilot/pcp <pcp@xxxxxxxxxxxxxxxxxx>
Subject: Re: [pcp] arc/zpool metric support on linux (#32)
From: cburroughs <notifications@xxxxxxxxxx>
Date: Fri, 17 Jul 2015 09:55:35 -0700
Delivered-to: pcp@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha1; c=relaxed; d=github.com; h=from:reply-to:to:in-reply-to:references:subject:mime-version:content-type:content-transfer-encoding:list-id:list-archive:list-post:list-unsubscribe; s=s20150108; bh=tKfBGxTNf/zVd45JGNKULVP14Rg=; b=P+8L3y7TxLVyGVaw p3lnVIqh4ma64PQMsch4rXBtDhh2Xq4/9hcrXQS2Gs7R4mg23Qt/z3mUFJb9hykR 1rG1iBk/9P1Hn6Mb54skpAA5GFnus8Yq/B9y41v5kf18RdF786MtoIQhx7xzov+i E1QI49EUP8NKr8VqQg4luhzNCj8=
In-reply-to: <performancecopilot/pcp/issues/32@xxxxxxxxxx>
List-archive: https://github.com/performancecopilot/pcp
List-id: performancecopilot/pcp <pcp.performancecopilot.github.com>
List-post: <mailto:reply+00bd08b69c907444d411031033e1db7f7495043fe957004c92cf0000000111c0f58792a169ce05b1505a@reply.github.com>
List-unsubscribe: <mailto:unsub+00bd08b69c907444d411031033e1db7f7495043fe957004c92cf0000000111c0f58792a169ce05b1505a@reply.github.com>, <https://github.com/notifications/unsubscribe/AL0Ituq2NXXH4JEBOz2lSPeFQfmYtiHqks5oeSsHgaJpZM4FaJ3L>
References: <performancecopilot/pcp/issues/32@xxxxxxxxxx>
Reply-to: performancecopilot/pcp <reply+00bd08b69c907444d411031033e1db7f7495043fe957004c92cf0000000111c0f58792a169ce05b1505a@xxxxxxxxxxxxxxxx>

I use ZFS on linux but probably do not have the time/expertise to work on this in the near future.

The kstats for the arc are exposed via /proc. Tools like arcstat and arcsummary have succesfully been ported to Linux using this.

$ cat /proc/spl/kstat/zfs/arcstats  | head
5 1 0x01 85 4080 13244929775 34208057604003643
name                            type data
hits                            4    20277124688
misses                          4    20409570979
demand_data_hits                4    18717631221
demand_data_misses              4    17805335114
demand_metadata_hits            4    347311602
demand_metadata_misses          4    3882959
prefetch_data_hits              4    262568264
prefetch_data_misses            4    2596018462

libzfs will (I think) "Just Work" (with the standard caveats about it not being intended as a stable/production interface). It looks like that is how pcp is getting the zpool topoligy information.


Reply to this email directly or view it on GitHub.

<Prev in Thread] Current Thread [Next in Thread>