Lines Matching +full:enable +full:- +full:delay +full:- +full:ms
2 Delay accounting
9 The per-task delay accounting functionality measures
18 g) write-protect copy
29 delay statistics aggregated for all tasks (or threads) belonging to a
34 aggregate delay statistics into arbitrary groups. To enable this, delay
40 ---------
42 Delay accounting uses the taskstats interface which is described
44 generic data structure to userspace corresponding to per-pid and per-tgid
45 statistics. The delay accounting functionality populates specific fields of
50 for a description of the fields pertaining to delay accounting.
52 delay seen for cpu, sync block I/O, swapin, memory reclaim, thrash page
53 cache, direct compact, write-protect copy, IRQ/SOFTIRQ etc.
56 counter (say cpu_delay_total) for a task will give the delay
60 When a task exits, records containing the per-task statistics
62 task of a thread group, the per-tgid statistics are also sent. More details
66 commands to be run and the corresponding delay statistics to be displayed. It
70 -----
77 Delay accounting is disabled by default at boot up.
78 To enable, add::
96 getdelays [-dilv] [-t tgid] [-p pid]
100 # ./getdelays -d -p 10
105 bash-4.4# ./getdelays -d -t 242
110 …PU count real total virtual total delay total delay average delay max d…
111 … 39 156000000 156576579 2111069 0.054ms 0.212296ms 0.031307ms
112 IO count delay total delay average delay max delay min
113 0 0 0.000ms 0.000000ms 0.000000ms
114 SWAP count delay total delay average delay max delay min
115 0 0 0.000ms 0.000000ms 0.000000ms
116 RECLAIM count delay total delay average delay max delay min
117 0 0 0.000ms 0.000000ms 0.000000ms
118 THRASHING count delay total delay average delay max delay min
119 0 0 0.000ms 0.000000ms 0.000000ms
120 COMPACT count delay total delay average delay max delay min
121 0 0 0.000ms 0.000000ms 0.000000ms
122 WPCOPY count delay total delay average delay max delay min
123 156 11215873 0.072ms 0.207403ms 0.033913ms
124 IRQ count delay total delay average delay max delay min
125 0 0 0.000ms 0.000000ms 0.000000ms
127 Get IO accounting for pid 1, it works only with -p::
129 # ./getdelays -i -p 1
133 The above command can be used with -v to get more debug information.
135 After the system starts, use `delaytop` to get the system-wide delay information,
136 which includes system-wide PSI information and Top-N high-latency tasks.
140 It supports multiple sorting options, display modes, and real-time keyboard controls.
142 Basic usage with default settings (sorts by CPU delay, shows top 20 tasks, refreshes every 2 second…
146 CPU some: 0.0%/ 0.0%/ 0.0%/ 106137(ms)
147 CPU full: 0.0%/ 0.0%/ 0.0%/ 0(ms)
148 Memory full: 0.0%/ 0.0%/ 0.0%/ 0(ms)
149 Memory some: 0.0%/ 0.0%/ 0.0%/ 0(ms)
150 IO full: 0.0%/ 0.0%/ 0.0%/ 2240(ms)
151 IO some: 0.0%/ 0.0%/ 0.0%/ 2783(ms)
152 IRQ full: 0.0%/ 0.0%/ 0.0%/ 0(ms)
154 Top 20 processes (sorted by cpu delay):
155 PID TGID COMMAND CPU(ms) IO(ms) IRQ(ms) MEM(ms)
156 ------------------------------------------------------------------------
157 110 110 kworker/15:0H-s 27.91 0.00 0.00 0.00
161 44 44 kworker/4:0H-sy 0.80 0.00 0.00 0.00
172 2584 2584 sddm-helper 0.16 0.00 0.00 0.00
173 1284 1284 rtkit-daemon 0.15 0.00 0.00 0.00
174 1326 1326 nde-netfilter 0.14 0.00 0.00 0.00
176 631 631 kworker/11:2-rc 0.11 0.00 0.00 0.00
180 o - Select sort field (CPU, IO, IRQ, Memory, etc.)
181 M - Toggle display mode (Default/Memory Verbose)
182 q - Quit
184 Available sort fields(use -s/--sort or interactive command)::
186 cpu(c) - CPU delay
187 blkio(i) - I/O delay
188 irq(q) - IRQ delay
189 mem(m) - Total memory delay
190 swapin(s) - Swapin delay (memory verbose mode only)
191 freepages(r) - Freepages reclaim delay (memory verbose mode only)
192 thrashing(t) - Thrashing delay (memory verbose mode only)
193 compact(p) - Compaction delay (memory verbose mode only)
194 wpcopy(w) - Write page copy delay (memory verbose mode only)
198 # ./delaytop -s blkio
199 Sorted by IO delay
201 # ./delaytop -s mem -M
202 Sorted by memory delay in memory verbose mode
204 # ./delaytop -p pid
207 # ./delaytop -P num
210 # ./delaytop -n num
213 # ./delaytop -d secs