[Devel] [PATCH rh7 v2 3/3] ve/page_alloc, kstat: account allocation latencies per-task

Andrey Ryabinin aryabinin at virtuozzo.com
Thu Feb 15 17:49:42 MSK 2018



On 02/15/2018 05:48 PM, Andrey Ryabinin wrote:
> Vstorage wants per-process allocation latencies:
> 
>  - total accumulated latency (total time spent inside the kernel allocator)
>  - total alloc attempts (so that average latency can be calculated)
> 
> This adds /proc/<pid>/vz_latency file which outputs the numbers:
> 
> Type                   Total_lat                Calls
> allocatomic:                    0                 1334
> alloc:                    8000000                36643
> allocmp:                        0                  919
> 

Pavel, are you ok with that format? 



More information about the Devel mailing list