1PMDAZSWAP(1) General Commands Manual PMDAZSWAP(1)
2
3
4
6 pmdazswap - zswap (compressed swap) PMDA
7
9 pmdazswap is a Performance Metrics Domain Agent (PMDA) which exports
10 metric values about compressed swap operation, as tracked by the zswap
11 Linux kernel module.
12
13 Zswap is a lightweight compressed cache for swap pages. It takes pages
14 that are in the process of being swapped out and attempts to compress
15 them into a dynamically allocated RAM-based memory pool. Zswap trades
16 CPU cycles for potentially reduced swap I/O. This tradeoff can also
17 result in a performance improvement if reads from the compressed cache
18 are faster than reads from a swap device.
19
20 This PMDA exports metrics about pool size, number of pages stored, and
21 various counters for the reasons pages are rejected.
22
24 Install the zswap PMDA by using the Install script as root:
25
26 # cd $PCP_PMDAS_DIR/zswap
27 # ./Install
28
29 To uninstall, do the following as root:
30
31 # cd $PCP_PMDAS_DIR/zswap
32 # ./Remove
33
34 pmdazswap is launched by pmcd(1) and should never be executed directly.
35 The Install and Remove scripts notify pmcd(1) when the agent is
36 installed or removed.
37
39 $PCP_PMDAS_DIR/zswap/Install
40 installation script for the pmdazswap agent
41
42 $PCP_PMDAS_DIR/zswap/Remove
43 undo installation script for the pmdazswap agent
44
45 $PCP_LOG_DIR/pmcd/zswap.log
46 default log file for error messages from pmdazswap
47
49 Environment variables with the prefix PCP_ are used to parameterize the
50 file and directory names used by PCP. On each installation, the file
51 /etc/pcp.conf contains the local values for these variables. The
52 $PCP_CONF variable may be used to specify an alternative configuration
53 file, as described in pcp.conf(5).
54
56 pmcd(1) and PCPIntro(1).
57
58
59
60Performance Co-Pilot PCP PMDAZSWAP(1)