[Devel] [PATCH rh7 3/4] /proc/vz/latency: distinguish atomic allocations in irq from in task atomics.

Andrey Ryabinin aryabinin at virtuozzo.com
Mon Aug 20 12:18:09 MSK 2018



On 08/20/2018 11:01 AM, Pavel Borzenkov wrote:
> 
> 
>> On 17 Aug 2018, at 19:40, Andrey Ryabinin <aryabinin at virtuozzo.com> wrote:
>>
>> Add to /proc/vz/latency 'alocirq' allocation type which shows allocation latencies
>> done in irq contexts. 'alocatomic' now shows atomic allocations in task contexts.
>> Also add 'Per-CPU alloc irq' which shows per-cpu 'alocirq' numbers.
> 
> Any chance you can add maximums here as well?
> 

What kind of maximums do you want?
The first field 'Lat' - is actually a maximum in last 5 seconds.



>>
>> Example of new output:
>>
>> Version: 2.6
>>
>> Latencies:
>> Type                         Lat            Total_lat                Calls
>> scheduling:                    0                    0                    0
>> alocatomic:                    0                    0                27615
>> aloclow:                 2000000            738000000              3166625
>> alochigh:                      0                    0                    0
>> aloclowmp:                     0              4000000                15677
>> alochighmp:                    0                    0                    0
>> alocirq:                 1000000             81000000               292975
>> swap_in:                   10710              1553913                   25
>> page_in:                   50850           1141057002              2092877
>>
>> Averages:
>> Type                        Avg1                 Avg5                Avg15
>> scheduling:                    0                    0                    0
>> alocatomic:                    0                    0                    0
>> aloclow:                  558150               313968               165801
>> alochigh:                      0                    0                    0
>> aloclowmp:                  5535                 9701                 4629
>> alochighmp:                    0                    0                    0
>> alocirq:                  309600               163409                66832
>> swap_in:                   29962                18540                 7244
>> page_in:                  177194                60133                29625
>>
>> Per-CPU alloc irq:
>> Type                         Lat            Total_lat                Calls
>> cpu0                           0                    0                    3
>> cpu1                           0                    0                    0
>> cpu2                           0                    0                    0
>> cpu3                     1000000             87000000               316298
>>


More information about the Devel mailing list