Re: [PATCH linux next] delaytop: add psi info to show system delay

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> bash# ./delaytop
> System Pressure Information: (avg10/avg60/avg300/total)
> CPU: full: 0.0%/ 0.0%/ 0.0%/0 some: 0.1%/ 0.0%/ 0.0%/14216596
> Memory: full: 0.0%/ 0.0%/ 0.0%/34010659 some: 0.0%/ 0.0%/ 0.0%/35406492
> IO: full: 0.1%/ 0.0%/ 0.0%/51029453 some: 0.1%/ 0.0%/ 0.0%/55330465
> IRQ: full: 0.0%/ 0.0%/ 0.0%/0
I see the unit of PSI and task delay are different, they are microseconds
and milliseconds. We'd better keep the units aligned for better user
understanding.

And what about split the output of each delay into different lines just as
PSI, this help us to better compare the results of some and full.
bash# cat /proc/pressure/cpu 
some avg10=0.00 avg60=0.00 avg300=0.00 total=682581546
full avg10=0.00 avg60=0.00 avg300=0.00 total=0

For example:
bash# ./delaytop
System Pressure Information: (avg10/avg60/avg300/total)
CPU some: 0.1%/ 0.0%/ 0.0%/14216596
CPU full: 0.0%/ 0.0%/ 0.0%/0
Memory some: 0.0%/ 0.0%/ 0.0%/35406492
Memory full: 0.0%/ 0.0%/ 0.0%/34010659




[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux