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
30 To uninstall, do the following as root:
31
32 # cd $PCP_PMDAS_DIR/zswap
33 # ./Remove
34
35 pmdazswap is launched by pmcd(1) and should never be executed directly.
36 The Install and Remove scripts notify pmcd(1) when the agent is
37 installed or removed.
38
40 $PCP_PMDAS_DIR/zswap/Install
41 installation script for the pmdazswap agent
42
43 $PCP_PMDAS_DIR/zswap/Remove
44 undo installation script for the pmdazswap agent
45
46 $PCP_LOG_DIR/pmcd/zswap.log
47 default log file for error messages from pmdazswap
48
50 Environment variables with the prefix PCP_ are used to parameterize the
51 file and directory names used by PCP. On each installation, the file
52 /etc/pcp.conf contains the local values for these variables. The
53 $PCP_CONF variable may be used to specify an alternative configuration
54 file, as described in pcp.conf(5).
55
57 PCPIntro(1) and pmcd(1).
58
59
60
61Performance Co-Pilot PCP PMDAZSWAP(1)